Click here to Skip to main content
16,013,642 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Best ASP.NET sites? Pin
Rama Krishna Vavilala8-Jun-02 17:04
Rama Krishna Vavilala8-Jun-02 17:04 
QuestionThirty For Free Web Hosting ??? Pin
Romeo6-Jun-02 6:20
Romeo6-Jun-02 6:20 
AnswerRe: Thirty For Free Web Hosting ??? Pin
KoalaCowboy6-Jun-02 7:02
KoalaCowboy6-Jun-02 7:02 
AnswerRe: Thirty For Free Web Hosting ??? Pin
Not Active7-Jun-02 9:38
mentorNot Active7-Jun-02 9:38 
GeneralSQL Server API problem... Pin
6-Jun-02 4:24
suss6-Jun-02 4:24 
GeneralRe: SQL Server API problem... Pin
Remco V6-Jun-02 5:53
Remco V6-Jun-02 5:53 
GeneralRe: SQL Server API problem... Pin
Orkun GEDiK6-Jun-02 8:55
Orkun GEDiK6-Jun-02 8:55 
GeneralHiding user controls vs dynamic creation Pin
Senkwe Chanda6-Jun-02 4:04
Senkwe Chanda6-Jun-02 4:04 
Hi all, I need a second opinion on this. Recently I've been struggling with trying to load user controls dynamically. Simple right. Well not if those user controls also host other user controls that are loaded dynamically. It's technically possible but all solutions I've seen so far haven't worked and they have been hacks. The main problem with loading user controls dynamically is keeping track of view state and wiring up events.

Now, one workaround I thought of was loading all the user controls at compile time (so that they are actually part of the page) and hiding/showing the desired controls depending on user input. I had thought that the resultant html source produced would end up becoming bloated with hidden controls. A quick test however, showed that the source ends up excluding all invisible controls, ie they are simply not rendered. So the resultant page is NOT bloated.

To prevent too much work being done on the server however, I thought you could test to see if the control was visible in which case you could safely call your data binding code for example, and if not, you simply do nothing when the control loads.

Well, what do you guys think? Is this how you do it as well? I'd like to hear pros and cons.

Regards

Senkwe





Just another wannabe code junky
GeneralStupid WebForm Designer Behavior Pin
Jamie Nordmeyer5-Jun-02 12:16
Jamie Nordmeyer5-Jun-02 12:16 
GeneralRe: Stupid WebForm Designer Behavior Pin
Senkwe Chanda6-Jun-02 4:10
Senkwe Chanda6-Jun-02 4:10 
GeneralRe: Stupid WebForm Designer Behavior Pin
Jamie Nordmeyer6-Jun-02 5:47
Jamie Nordmeyer6-Jun-02 5:47 
QuestionConvert seconds to hours in aspx bind? Pin
Todd Smith5-Jun-02 7:43
Todd Smith5-Jun-02 7:43 
AnswerRe: Convert seconds to hours in aspx bind? Pin
Not Active7-Jun-02 9:53
mentorNot Active7-Jun-02 9:53 
GeneralRe: Convert seconds to hours in aspx bind? Pin
Todd Smith7-Jun-02 12:30
Todd Smith7-Jun-02 12:30 
GeneralStupid IIS problem Pin
James Spibey4-Jun-02 6:43
James Spibey4-Jun-02 6:43 
GeneralRe: Stupid IIS problem Pin
James Spibey4-Jun-02 23:58
James Spibey4-Jun-02 23:58 
GeneralRe: Stupid IIS problem Pin
Remco V6-Jun-02 6:03
Remco V6-Jun-02 6:03 
GeneralRe: Stupid IIS problem Pin
James Spibey6-Jun-02 9:41
James Spibey6-Jun-02 9:41 
GeneralRe: Stupid IIS problem Pin
Richard Deeming7-Jun-02 0:14
mveRichard Deeming7-Jun-02 0:14 
GeneralHTML Table tabing Pin
Fayez Al-Naddaf4-Jun-02 4:48
Fayez Al-Naddaf4-Jun-02 4:48 
GeneralRe: HTML Table tabing Pin
MS le Roux6-Jun-02 9:26
MS le Roux6-Jun-02 9:26 
GeneralImport Excel-files with ASP Pin
Morten, Norway4-Jun-02 4:03
Morten, Norway4-Jun-02 4:03 
GeneralRe: Import Excel-files with ASP Pin
David Wengier5-Jun-02 11:34
David Wengier5-Jun-02 11:34 
GeneralGetting data from local DB into remote DB using ASP Pin
James Spibey3-Jun-02 5:22
James Spibey3-Jun-02 5:22 
GeneralRe: Getting data from local DB into remote DB using ASP Pin
Not Active3-Jun-02 13:27
mentorNot Active3-Jun-02 13:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.