Reputation: 7325
Is it possible to use ajax controls (as it is) inside a user control?
thanks
Upvotes: 0
Views: 532
Reputation: 9
Now things will change and need special attention when you use Dynamically loaded User Controls ( On Demand ) and Ajaxify them. Ajaxifying Dynamically loaded User controls at run-time though is simple and straightforward could be challenging... Hope this answers ur Q
Upvotes: 0
Reputation: 10782
Yes you could use controls from the Ajax Control Toolkit in user controls. Just make sure that the page that hosts the user control has a ScriptManager or preferably a ToolScriptManager.
Upvotes: 0
Reputation: 499002
Not sure what you mean by "as it is", but the answer is yes, you can use AJAX in user controls.
The normal practices regarding user controls still apply - using the ScriptManager
in order to control javascript instances on the page, proper usage of ViewState etc.
Your question is rather vague, hence the fairly vague answer.
Upvotes: 1