Hi ,
I am using a rad colorpicker on dynamically generated docks. Whenever a new dock is plotted the colorpicker in the old plotted dock loses its value because of the postback. Is there any suggestion to avoid this occurrence.
Thank you
Regards,
Ajit
1 Answer, 1 is accepted
0
Tsvetie
Telerik team
answered on 20 Nov 2009, 01:47 PM
Hi Ajit,
As you load the RadColorPicker dynamically, you need to make sure that it is added to the page after the postback on exactly the same place as it was before the postback and that its ID (and ClientID) are the same. This is necessary so that the control can load its ViewState. In case you continue to have problems with the state of the RadColorPicker, please post the code of a simple test page the demonstrates this problem hare and I will help you fix it.