Hi Telerik team,
I have an issue with dynamically created docks.
I want to access the Dynamically created user control properties in my aspx page from code behind.
I am using the Dock - Control My portal example. I am able to set the values to User control properties in LoadWidget. But the problem is I am unable to get the updated/modified values from the User control. Where can I write the code to get the values from user control?
LoadWidget is always called when user make any changes to the control. but I am setting the values in that section for the control. For getting values .. I m not able to find a solution. Also I could access the UniqueID of dynamically created control outside the LoadWidget.
Please suggest any better way to retrieve the values from the user control.
void LoadWidget(RadDock dock)
Control widget = LoadControl(dock.Tag);
// ((ChartDashboard)widget).SelectedInput = dock.Text ; Set the value to User control ...
string ucText = ((ChartDashboard)widget).SelectedInput; // Not getting any value. Always returns null
I want to access this dynamically created control's property in my Save_Click event .... Is it possible?