4 Answers, 1 is accepted
0
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:
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.
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
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
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
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.
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.