Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a page have multiple ScriptManagers? If yes then under what condition will it be required?

Can a page have multiple ScriptManagers? If yes then under what condition will it be required ?

like image 364
Ujwol Shrestha Avatar asked Dec 28 '25 16:12

Ujwol Shrestha


1 Answers

MSDN says no, you can't have more than one (emphasis mine):

A page can contain only one ScriptManager control in its hierarchy. To register services and scripts for nested pages, user controls, or components when the parent page already has a ScriptManager control, use the ScriptManagerProxy control. For more information, see Using the ASP.NET UpdatePanel Control with Master Pages

like image 87
Roman Avatar answered Dec 31 '25 05:12

Roman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!