Hi,
please help,
How to assign the values or data to the dynamically added textbox from another control.
string id = "txtLoggedinUserTimeZone"; // id of the dynamically loaded textbox from db
string valuetext = Session["TimeZone"].ToString(); // this is the data I have to assign to the above dynamic textbox (txtLoggedinUserTimeZone)
I have tried like this, but not working.
string id = "txtLoggedinUserTimeZone";
TextBox tb = (TextBox)this.Form.FindControl(id);
string valuetext = Session["TimeZone"].ToString();
tb.Text = valuetext;
please help me to find the solution.
Best regards,
Renuka.V
Best regards,
Renuka.V