Welcome Guest Search | Active Topics | Sign In | Register

ColorPicker issue Options
kronns
Posted: Thursday, December 11, 2008 4:05:20 AM
Rank: Newbie
Groups: Member

Joined: 9/18/2008
Posts: 9
I have four colorpicker control in one single screen, controlling the fore an back color of different elements of a menu control. All controls are inside an AJAX updatepanel and they all update the menu every time a user changes any value on any control. My problem is that, if the colorpicker control is set to autopostback=true, then the whole page is posted back, compromising the navegability of the application and its performance. Is there any way a colorpicker control can send the color information to the server and update the panel without the need to make a sync postback?
eo_support
Posted: Thursday, December 11, 2008 10:29:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have looked into this issue. The UpdatePanel rely on DOM parent-child relationship to determine whether a control can be a trigger. In most case, when a control is placed inside the UpdatePanel, the corresponding DHTML is also rendered inside the UpdatePanel. However this is not the case for ColorPicker. Since ColorPicker is a popup, it is actually rendered outside of the UpdatePanel.

An easy workaround for this is to explicitly set the ColorPicker as a trigger. To do this, you would edit the UpdatePanel's trigger property, then add ColorPicker controls as triggers there.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.