Hi ,
I am trying to generate rad color picker programmatically in rad dock. Now when i click on the icon for the color picker the palette is not aligning below the icon like it is suppose to. Please could you provide a solution to this issue.
Regards,
Ajit
I am trying to generate rad color picker programmatically in rad dock. Now when i click on the icon for the color picker the palette is not aligning below the icon like it is suppose to. Please could you provide a solution to this issue.
Regards,
Ajit
4 Answers, 1 is accepted
0
Hello ajit,
In the latest internal build version of our controls that you can download from your Client.Net account, we have added a new property for the RadColorPicker - KeepInScreenBounds. I suppose that in case you set KeepInScreenBounds=false for the color picker control, the problem will be solved:
By default, in case the palette of the color picker will not show in the visible viewport of the browser window, the control relocates it so that the whole palette is visible and the user does not need to scroll the page in order to see it. This property switches this functionality off.
Could you please download the latest internal build and let me know whether this fixes the problem? In case it does not, send me the code of your page that demonstrates the problem and I will do my best to help.
Kind regards,
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.
In the latest internal build version of our controls that you can download from your Client.Net account, we have added a new property for the RadColorPicker - KeepInScreenBounds. I suppose that in case you set KeepInScreenBounds=false for the color picker control, the problem will be solved:
<telerik:RadColorPicker ID="RadColorPicker1" runat="server" ShowIcon="true" |
KeepInScreenBounds="false"> |
</telerik:RadColorPicker> |
By default, in case the palette of the color picker will not show in the visible viewport of the browser window, the control relocates it so that the whole palette is visible and the user does not need to scroll the page in order to see it. This property switches this functionality off.
Could you please download the latest internal build and let me know whether this fixes the problem? In case it does not, send me the code of your page that demonstrates the problem and I will do my best to help.
Kind regards,
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.
0
ajit
Top achievements
Rank 1
answered on 18 Aug 2009, 02:01 PM
Hi Tsvetie,
Thank you very much for your reply. It solved my problem but now i have another issue. After i used the new DLL, all my custom skins are off and they don't seem to get applied. Do i need to change something else. Please let me know your feedback.
Regards,
ajit
Thank you very much for your reply. It solved my problem but now i have another issue. After i used the new DLL, all my custom skins are off and they don't seem to get applied. Do i need to change something else. Please let me know your feedback.
Regards,
ajit
0
Hello Аjit,
You should not have problems with your custom skins when upgrading from 2009.1 402 version (this is the one you have specified that you use) to the latest internal release - there have been no breaking changes in the HTML or CSS of the controls between those two versions and the rules for applying custom skins have not changed as well (you can review them in our online documentation).
However, in case you are upgrading from the Q1 2009 version or earlier, please refer to these blog posts for information on the changes in the skins:
Apart from this, in case you prefer to continue using the old version (2009.1 402), you can use the following workaround for it - it will have the same effect as setting KeepInScreenBounds=false:
All the best,
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.
You should not have problems with your custom skins when upgrading from 2009.1 402 version (this is the one you have specified that you use) to the latest internal release - there have been no breaking changes in the HTML or CSS of the controls between those two versions and the rules for applying custom skins have not changed as well (you can review them in our online documentation).
However, in case you are upgrading from the Q1 2009 version or earlier, please refer to these blog posts for information on the changes in the skins:
- http://blogs.telerik.com/tervelpeykov/posts/09-02-23/radcontrols_for_asp_net_ajax_receive_a_major_face-lift.aspx
- http://blogs.telerik.com/tervelpeykov/posts/09-03-20/using_pre-q1_2009_skins_with_q1_2009.aspx
Apart from this, in case you prefer to continue using the old version (2009.1 402), you can use the following workaround for it - it will have the same effect as setting KeepInScreenBounds=false:
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
<telerik:RadColorPicker ID="RadColorPicker1" runat="server" ShowIcon="true"> |
</telerik:RadColorPicker> |
<script type="text/javascript"> |
Telerik.Web.UI.RadColorPicker.prototype._oldCreateTabStrip = Telerik.Web.UI.RadColorPicker.prototype._createTabStrip; |
Telerik.Web.UI.RadColorPicker.prototype._createTabStrip = function() |
{ |
if(this._multiPage) return; |
this._oldCreateTabStrip(); |
if(this._popupBehavior) |
this._popupBehavior.set_keepInScreenBounds(false); |
}; |
</script> |
All the best,
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.
0
ajit
Top achievements
Rank 1
answered on 25 Aug 2009, 03:35 PM
Hi Tsvetie,
I was able to resolve it. Thanks for your help.
Thank you,
Regards,
ajit
I was able to resolve it. Thanks for your help.
Thank you,
Regards,
ajit