Apr 26, 2014, 1:16 PM
[CLOSED] User Control Render dynamic value assign issue in page load
I have gone through following example,
https://examples2.ext.net/#/XRender/...UpdateContent/
Now I want to assign some initail value in UserControl1.ascs.cs , Page_Load event like ,
Do you give me solution how to assign initial value of controls of user control in case of dynamic user control load?
Also note that this is just sample, but I want it to assign dynamic data from database to some textbox of user control.
Thanks
https://examples2.ext.net/#/XRender/...UpdateContent/
Now I want to assign some initail value in UserControl1.ascs.cs , Page_Load event like ,
protected void Page_Load(object sender, EventArgs e)
{
Button1.Text = "Test";
ResourceManager.RegisterGlobalScript("script.js");
}
But I am not able to set Button1 text at runtime during page_load event of user control.Do you give me solution how to assign initial value of controls of user control in case of dynamic user control load?
Also note that this is just sample, but I want it to assign dynamic data from database to some textbox of user control.
Thanks
Last edited by Daniil; May 06, 2014 at 6:57 AM.
Reason: [CLOSED]