Wrox Programmer Forums
|
BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5
This is the forum to discuss the Wrox book Professional DotNetNuke Module Programming by Mitchel Sellers and Shaun Walker - Wrox DotNetNuke Series Editor; ISBN: 978-0-470-17116-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2010, 01:50 PM
Registered User
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ViewSettings.ascx .. Please help!!!

Hello,

can someone explain to me how to access viewsettings.ascx once the module is installed? when i go to Settings for the viewguesbook, i see the settings for allowing anonymous and Moderate settings from settings.ascx.

How do i access the viewsettings.ascx ? I have a feelings it has something to do with guestbookvb.dnn file. here's what i have for the dnn file:

Code:
<dotnetnuke version="3.0" type="Module">
  <folders>
    <folder>
      <name>GuestbookVB</name>
      <friendlyname>GuestbookVB</friendlyname>
      <foldername>GuestbookVB</foldername>
      <modulename>GuestbookVB</modulename>
      <description>A GuestbookVB module</description>
      <version>01.00.02</version>
      <businesscontrollerclass>GuestbookVB.GuestbookVBController</businesscontrollerclass>
      <compatibility></compatibility>
      <modules>
        <module>
          <friendlyname>GuestbookVB</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
              <src>DesktopModules/GuestbookVB/ViewGuestbookVB.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Edit</key>
              <title>Edit Content</title>
              <src>DesktopModules/GuestbookVB/EditGuestbookVB.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Settings</key>
              <title>GuestbookVB Settings</title>
              <src>DesktopModules/GuestbookVB/Settings.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>ViewSettings</key>
              <title>GuestbookVB View Settings</title>
              <src>DesktopModules/GuestbookVB/ViewSettings.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
          </controls>
        </module>
        <module>
          <friendlyname>Sign Guestbook VB</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
              <key></key>
              <src>DesktopModules/GuestbookVB/SignGuestbook.ascx</src>
              <supportsPartialRendering>false</supportsPartialRendering>
              <title>Sign Guestbook Settings</title>
              <type>Edit</type>
              <iconfile />
              <helpUrl />
              <viewOrder>0</viewOrder>
            </control>
          </controls>
        </module>
       </modules>
      <files>
        <file>
	     <name>GuestbookVB.dll</name>
	      </file>
        <file>
          <name>ViewGuestbookVB.ascx</name>
        </file>
        <file>
          <name>SignGuestbook.ascx</name>
        </file>
        <file>
          <name>EditGuestbookVB.ascx</name>
        </file>
        <file>
          <name>ViewSettings.ascx</name>
        </file>
        <file>
          <name>Settings.ascx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>SignGuestbook.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>ViewGuestbookVB.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>EditGuestbookVB.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>ViewSettings.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>Settings.ascx.resx</name>
        </file>
        <file>
          <name>01.00.00.SqlDataProvider</name>
        </file>
        <file>
          <name>Uninstall.SqlDataProvider</name>
        </file>
      </files>
    </folder>
  </folders>
</dotnetnuke>
 
Old July 8th, 2010, 01:52 PM
Wrox Author
 
Join Date: Jul 2008
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers
Default

You will need to navigate to the "ViewSettings" control key.

You can do "EditUrl("ViewSettings")" to get the URL for it.
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
 
Old July 8th, 2010, 02:02 PM
Registered User
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

where / how do i do that?

sorry if its a dumb question.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting with ArticleListing.ascx BradenBR BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 February 15th, 2007 11:55 PM
Registering ASCX gbrown ASP.NET 1.0 and 1.1 Professional 1 January 9th, 2007 11:57 AM
ascx page problem RPG SEARCH ASP.NET 1.0 and 1.1 Basics 1 November 8th, 2005 08:12 PM
ascx !?! g2000 ASP.NET 2.0 Basics 1 October 21st, 2005 03:33 PM
ascx with javaScript ajindal General .NET 3 January 21st, 2005 08:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.