Hi,
I am using RadPanelBar with multiple RadPanelItem in aspx, and within a RadPanelItem i am loading user control programmatically, after successfully loaded user control, that user control have a one control that is button and two textboxes(i.e. txtFirstName, and txtLastName). when i click on that button i access RadPanel through following code, and try to change the Text property, but it will not reflect or change(as per the text value of txtFirstName and txtLastName) why?
Telerik.Web.UI.RadPanelBar rpbUser = this.Parent.Parent.Parent as Telerik.Web.UI.RadPanelBar;
if (rpbUser != null)
{
rpbUser.Items[1].Text = "Contact Info" + " : " + txtFirstName + " " + txtLastName;
}
Thanks & Regards
Dharmesh
I am using RadPanelBar with multiple RadPanelItem in aspx, and within a RadPanelItem i am loading user control programmatically, after successfully loaded user control, that user control have a one control that is button and two textboxes(i.e. txtFirstName, and txtLastName). when i click on that button i access RadPanel through following code, and try to change the Text property, but it will not reflect or change(as per the text value of txtFirstName and txtLastName) why?
Telerik.Web.UI.RadPanelBar rpbUser = this.Parent.Parent.Parent as Telerik.Web.UI.RadPanelBar;
if (rpbUser != null)
{
rpbUser.Items[1].Text = "Contact Info" + " : " + txtFirstName + " " + txtLastName;
}
Thanks & Regards
Dharmesh