|
-
Sep 21st, 2008, 07:07 AM
#1
Thread Starter
Junior Member
[2008] order of controls in the aspx
if control A is listed in the aspx before control B, does that guarantee that control A's events will be processed before control B's?
that is, will control A' PreRender always occur before control B's?
thanks.
-
Sep 22nd, 2008, 10:32 AM
#2
Re: [2008] order of controls in the aspx
 Originally Posted by gamba
if control A is listed in the aspx before control B, does that guarantee that control A's events will be processed before control B's?
No.
 Originally Posted by gamba
that is, will control A' PreRender always occur before control B's?
No.
-
Sep 23rd, 2008, 01:36 PM
#3
Thread Starter
Junior Member
Re: [2008] order of controls in the aspx
could you explain to me what the order or controls means, then?
why, for example, do ajax.net control require the script manager to be declared before every control that uses it?
-
Sep 24th, 2008, 06:00 AM
#4
Re: [2008] order of controls in the aspx
The order of ASP.NET controls will be as ASP.NET pleases. It is according to the control treeview that gets generated for the page and in the viewstate.
ASP.NET AJAX, though, requires the scriptmanager before all else because the ScriptManager needs to write out JavaScript initialization values that are used by all other ASP.NET AJAX controls on the page. ASP.NET AJAX controls are not the same as ASP.NET controls. AJAX = client side.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|