PDA

View Full Version : [CLOSED] calling Ext:Window from usercontrol



idrissb
Nov 10, 2008, 1:29 PM
is it possible to call ext:Window from an usercontrol (.ascx). It complains that it needs a reference to ext:scriptmanager
thanks

idriss

Vladimir
Nov 10, 2008, 2:00 PM
Hi,

please see example http://examples1.ext.net/#/GridPanel/Miscellaneous/Details_Window_Remote/

In this example the window was placed into the user control.

geoffrey.mcgill
Nov 11, 2008, 12:29 AM
Hi idriss,

I'm wondering if you could post and .aspx + .ascx sample demonstrating how to reproduce this problem?


Do you have a <ext:ScriptManager> control on the parent .aspx Page?


There's also the <ext:ScriptManagerProxy> control which you could add to your .ascx UserControl, although if you're just adding simple control markup the Proxy should not be required. 


Anyways, a bit more information should help us diagnose further. 


Please let us know if you have already found the solution and/or post a note re: what was required to solve the problem. 

idrissb
Nov 11, 2008, 10:30 AM
Thanks for your help, guys. I have found the problem. the ascx was referenced in one other page.
problem solved.
thanks