This is a migrated thread and some comments may be shown as answers.

RadColorPicker and AJAX Panel

5 Answers 113 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
mary
Top achievements
Rank 1
mary asked on 02 Oct 2008, 04:28 PM
Hi
I have a color picker control in a template column in radgrid which seems to work fine but when i put the gird in an ajaxpanel the color picker will only display the color palet on first click on the color picker, on subsequent clicks it only displays the selected color not the pallet (there is an auto postback when color is changed).
Does the color picker work inside an ajax panel?

Thanks

5 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 06 Oct 2008, 01:48 PM
Hi mary,
We are aware of this problem and our developers are working on it. For the time being, I can suggest that you use a standard ASP UpdatePanel, instead of a RadAjaxPanel, until we are able to fix the problem.

Sincerely yours,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chris
Top achievements
Rank 2
answered on 20 Oct 2008, 04:11 PM
Has this been resolved yet?  We are using it in a RadGrid in an EditFormSetting Template.  The RadGrid resides inside of a RadDock as well.  If we use an asp:UpdatePanel OR a RadAjaxManager OR a RadAjaxPanel, it doesn't seem to fire any of the JavaScript events and the colors don't change on mouseOver.  I'm assuming the events never get set or something like this.

Is there a workaround because we really need this control in some kind of "Ajaxified" panel/construct.

Thanks...
0
Tsvetie
Telerik team
answered on 21 Oct 2008, 06:10 AM
Hello Christopher,
The problem that Mary described is solved in the Futures version of the suite that we released last week - with version number 2008.3.1016.20. From the information you have provided however, I am not sure if the problem you have is the same. Could you please test your code against the latest version and in case the problem persists, send us a working project, demonstrating the behavior you get?

Regards,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
fightclub777
Top achievements
Rank 1
answered on 19 Jan 2009, 11:58 PM
I am having the same problem. The colorpicker stops working inside the ajax panel.It does not fire clientside events and the control shriks down to 20% of its actual size. Any solution to this? I fixed the problem of clientside events not working - Seems with the ajaxmanager if you have the ajaxpanel in hte updated controls then the colorpicker stops working. however, the css issue of the colorpicker thinning down has not yet been solved.
0
Tsvetie
Telerik team
answered on 20 Jan 2009, 08:21 AM
Hi,
Ragarding the problem with ajaxifying a RadAjaxPanel with RadAjaxManager - this scenario is not supported. Please refer to our online documentation for additional information.

As already mentioned, the first problem, described in this thread is already fixed. That is why I suppose there is something specific to your setup that leads to the described problem. I tested the following code, but was not able to reproduce the problem with the size of the RadColorPicker:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="Button1"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="Panel1" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="Panel1"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="Panel1" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
 
<asp:Button ID="Button1" runat="server" Text="Button1" /> 
 
<asp:Panel ID="Panel1" runat="server"
    <telerik:RadColorPicker ID="RadColorPicker1" runat="server"
    </telerik:RadColorPicker> 
</asp:Panel> 

In case you could send me a simple test page, demonstrating the problem, I will do my best to research what is causing it and provide you with a solution.

Greetings,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ColorPicker
Asked by
mary
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Chris
Top achievements
Rank 2
fightclub777
Top achievements
Rank 1
Share this question
or