Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  URLControl Return trip
Previous Previous
 
Next Next
New Post 5/30/2008 5:42 PM
Unresolved
User is offline toadkicker
30 posts
10th Ranked


URLControl Return trip 

I have the URLControl on an edit page. Users may come back to this page and edit their entries over and over and over and over again. Each visit back to the page shows the URLControl is back to its default set up as though they never picked a file from it before. I assumed that the URL property took care of that, but maybe I'm wrong? So how does one set the URLControl so on return trips to the page it persists the data users selected previously? I have my values being stored in a column and returned in a public property.

 

Thanks and have a good weekend!

 
New Post 6/2/2008 8:08 AM
User is offline Fooberichu
456 posts
www.seeleyware.com
8th Ranked


Re: URLControl Return trip 

You'll need to set the URL for the control during the OnInit phase of the page/control lifecycle because it has some hard-coded stuff into PageLoad on the control that makes it impossible to change the URL later.  In a nutshell:

protected override void OnInit(EventArgs e)
{
    UrlControl1.Url = "someSetting"; // where some setting is whatever you have saved to your database from a previous UrlControl.Url reading
}

You can also change the type by setting UrlControl1.UrlType = "N" (none), "F" file, "U" user, "T" tabs


-- Fooberichu
http://www.seeleyware.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  URLControl Return trip
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP