Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Building Controls / October 2003

Tip: Looking for answers? Try searching our database.

Many user controls and only one form...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nfedin - 28 Oct 2003 21:04 GMT
I am trying to develop a page template class that will enfore the
layout of my site.  I want to use a user control for left side
navigation.  When I try and add another user control in the body of
the page, only the user control in the body gets executed.  Both user
controls have code behind classes.  It seems that ASP.Net uses the
last control loaded when it posts back to the server.  Am I correct in
this assumption?  Any ideas on how to get around this little snag?

Thanks,

Neil
Laurence Lemmon-Warde - 29 Oct 2003 13:17 GMT
Hi

I am having a similar problem. Dynamically loading 2 User Controls onto
a single "template" Webform but the 2nd control I load loses all its
event handlers. I click a button or datagrid in the 2nd control and it
fires the Load event of the first control???....

If I find a solution I wil post it here.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.