Printable View
Hi @jamesand,
I guess you are using a Click DirectEvent for those Buttons. Probably, you don't recreate the user control during each request.
The example that you mentioned:
https://examples2.ext.net/#/XRender/...UpdateContent/
This is the essential part to get working the DirectEvents inside the user controls.
Code:protected void Page_Load(object sender, EventArgs e)
{
if (!string.IsNullOrWhiteSpace(CurrentControl.Text))
{
this.LoadUserControl(CurrentControl.Text);
}
}
Hope I'm not barging in but this is exactly why I started working on http://forums.ext.net/showthread.php...-Hidden-Fields
If you're planning to reuse ajaxable UserControls a lot or your website is public, you might want to consider the control security model at least.