Hi guys
I have another problem using the raddock control when i put a checkbox (dynamically created too) inside of a contentcontainer.
1.- i create a raddock dynamically ( 3 for example)
2.- i create inside of this raddock (contentcontainer) a checkbox control (one for each raddock)
3.- Add a event handler for the checkbox ( like the example of RadDock CreateRadDock() dynamically) , in the function raddock CreateRadDock
With this i add the checkbox control to RadDock, but when i click the checkbox this dont do anything,and, of course, dont go fire the chkIdeal_CheckedChanged. I dont know if i need to add the control to the updatepanel control and add to the Asyncpostbacktrigger function this control. What can i do for use a control in this conditions?
thanks for everything.
I have another problem using the raddock control when i put a checkbox (dynamically created too) inside of a contentcontainer.
1.- i create a raddock dynamically ( 3 for example)
2.- i create inside of this raddock (contentcontainer) a checkbox control (one for each raddock)
3.- Add a event handler for the checkbox ( like the example of RadDock CreateRadDock() dynamically) , in the function raddock CreateRadDock
CheckBox
chkIdeal = new CheckBox();
chkIdeal.CheckedChanged +=
new EventHandler(chkIdeal_CheckedChanged);
chkIdeal.AutoPostBack =
true;
if (iIdeal == 2)
chkIdeal.Enabled =
false;
else
chkIdeal.Enabled =
true;
dock.ContentContainer.Controls.Add(chkIdeal);
With this i add the checkbox control to RadDock, but when i click the checkbox this dont do anything,and, of course, dont go fire the chkIdeal_CheckedChanged. I dont know if i need to add the control to the updatepanel control and add to the Asyncpostbacktrigger function this control. What can i do for use a control in this conditions?
thanks for everything.