hi all,
I am trying to set some RadDataEntry RadTextBox as ReadOnly, as shown in the following link
https://www.telerik.com/forums/raddataentry-controls-readonly
Here is my code :
private void rdeDynamicInput_ItemInitialized(object sender, ItemInitializedEventArgs e) { if (e.Panel.Controls[0].GetType().ToString() == "Telerik.WinControls.UI.RadCheckBox" || e.Panel.Controls[0].GetType().ToString() == "Telerik.WinControls.UI.RadTextBox") { ((RadTextBox)e.Panel.Controls[0]).ReadOnly = true; } }
Thanks for your help
Best
Patrick