Alvin Bruney [ASP.NET MVP]
3/14/2008 4:10:00 PM
Why would you recommend dynamic controls loading over static controls on a
page. What is your perceived advantage of this approach.
--
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
"DSK Chakravarthy" <dskcheck@msn.com> wrote in message
news:A3D2BFB7-1C40-4664-9883-0C081DB89342@microsoft.com...
> Madison,
>
> Instead of static controls on the given page, i always recommend to have
> the controls dynamically added at runtime.
>
> Secondly, Which type of RegularExpressionValidator you are using? ASP.NET
> RegEx or JavaScript RegEx. Again there is a hitch with in the RegEx
> controls. Certain controls like Mandatory RegExVaildator will fire then
> and there with the control, where are the custom expression validator will
> fire when the page is submitted for processing..
>
> Towards, Slowing down the page, are there any business objects that are
> declared and instantiated globally on the page level, if so, remove the
> initialisation process from the global and move to some logical block like
> IsPostBack code.
>
> HTH
> Chakravarthy
>
> "Madison" <Madison@discussions.microsoft.com> wrote in message
> news:B4F81C6A-EC5F-4376-A46C-2B9E617E834A@microsoft.com...
>> Hi Steve,
>> Thank you for your reply.
>> I try to understand why my web pages are slow to load. I'm not sure that
>> ViewState cause them or not. Some pages I switch to use Cache which help
>> to
>> speed up. I have one page with about 36 textbox with each have their
>> RegularExpressionValidator, 6 label, 6 dropdownlist (all data came from
>> database with one dropdown have >3,350 rows). Most of my pages contain
>> 20-35
>> texboxes. This website uses master page with framework 2.0
>> Please advise how do I handle with slow load page. Thanks.
>>
>