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

color picker not working in radajaxpanel

4 Answers 112 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
sad asd
Top achievements
Rank 1
sad asd asked on 20 Aug 2009, 08:06 AM
i have color picker
it shows pallet at first time
after that if i click any button on the page
it is not working

4 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 20 Aug 2009, 08:45 AM
Hello sad asd,

The provided information is not enough to observe the problem. You say that the palette shows and thus I assume that you have ShowIcon="true". However, this is the only information I could extract from your explanations and it is also based on assumption. I prepared a test demo which consists of a RadColorPicker, asp update panel and a button and tested the both cases - when the button is inside and outside the update panel but in both cases everything worked as expected and the pallete was shown. The sample code is the following one:

 <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager" runat="server">  
        </asp:ScriptManager> 
        <asp:UpdatePanel ID="up1" runat="server">  
            <ContentTemplate> 
                <telerik:RadColorPicker ID="picker" runat="server" ShowIcon="true">  
                </telerik:RadColorPicker> 
                <asp:Button ID="btn" runat="server" Text="Button1" /> 
            </ContentTemplate> 
        </asp:UpdatePanel> 
    </form> 

and as I said, I tested with the button inside and outside the panel.

This being said, what I assume that might be happening on your side is that you get a javascript error - this could cause the problem you describe. Please, carefully examine whether you get an error and if  so - try fixing it and this will fix the issue.

In case you need further assistance, please share some code which can be directly pasted on a page and run without any modifications and which reproduces the problem and I will do my best to help.




Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
sad asd
Top achievements
Rank 1
answered on 20 Aug 2009, 09:18 AM
i am getting javascript error
original width is not null or object
0
sad asd
Top achievements
Rank 1
answered on 20 Aug 2009, 10:21 AM
when i click on button i am getting 
sys.invalidoprationexception Two components with same id 'ctl00_contentPlaceHolder_twColorDispaly' can't be added to the application
 this java script error
after i click on color picker i am getting above javascript error
0
Tsvetie
Telerik team
answered on 25 Aug 2009, 12:15 PM
Hello sad asd,
I am not quite sure why you are getting this error as I suppose it is a result of your setup. In case you open a new support ticket and send me a working project, demonstrating this error, I will do my best to help you fix it.

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ColorPicker
Asked by
sad asd
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
sad asd
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or