Skinnable Form Controls

Thread is closed for posting
41 posts, 0 answers
  1. 7BC0011A-45B8-46BB-9B31-9C050C4C98F3
    7BC0011A-45B8-46BB-9B31-9C050C4C98F3 avatar
    189 posts
    Member since:
    Mar 2003

    Posted 18 Mar 2008 Link to this post

    I agree - absolutely!

    Regards
    Hessner
  2. E5994D7C-6D5B-42B8-AB25-6ECC549E4DA7
    E5994D7C-6D5B-42B8-AB25-6ECC549E4DA7 avatar
    54 posts
    Member since:
    Feb 2007

    Posted 18 Mar 2008 Link to this post

    I agree also! -it really does get a bit html heavy when you start to use a few RadComboBoxes on a form.

    Or are there plans for the RadCombobox (plus the RadInput controls)  to support a SharedID property like the RadCalender...

    (http://www.telerik.com/DEMOS/ASPNET/Prometheus/Calendar/Examples/Design/Sunny/DefaultCS.aspx)
  3. CE8FD5B8-D57F-4131-8A9A-47DA58D4A301
    CE8FD5B8-D57F-4131-8A9A-47DA58D4A301 avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 19 Mar 2008 Link to this post

    Point is, as awesome as the radcombobox is, there are situations where simplicity trumps functionality.
    It's kinda hard to argue against that.

    --
    Stuart
  4. B5753537-282D-4781-8000-518E5F0A6C31
    B5753537-282D-4781-8000-518E5F0A6C31 avatar
    23 posts
    Member since:
    Dec 2007

    Posted 10 Apr 2008 Link to this post

    Hi all,

    I am using the FormDecorator. In code behind i am moving some buttons to absolute places; however...the FormDecorator alters my top and left positions.
  5. DF60784D-55A5-4263-9F10-A12FA48C9ADC
    DF60784D-55A5-4263-9F10-A12FA48C9ADC avatar
    14477 posts
    Member since:
    Apr 2022

    Posted 10 Apr 2008 Link to this post

    Hi Willem,

    You can use the following code to work around the issue:

    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="all" skin="Web20">
    </telerik:radformdecorator>
    <asp:Button ID="Button1" runat="server" Text="Button" style="left: 510px; position: absolute; top: 573px; width: 100px;" />

    <script type="text/javascript">
    Sys.Application.add_load(function()
    {
        var button = $get("Skinned" + "<%=Button1.ClientID%>");
        var realButton = $get('Button1');
        button.style.top = realButton.offsetTop + 'px';
        button.style.left = realButton.offsetLeft + 'px';
    });
    </script>

    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. E575665C-14DE-4D42-A017-F4A6D38BD11E
    E575665C-14DE-4D42-A017-F4A6D38BD11E avatar
    1 posts
    Member since:
    May 2008

    Posted 27 May 2008 Link to this post

    Is there a work-around for this issue yet?
  7. DF60784D-55A5-4263-9F10-A12FA48C9ADC
    DF60784D-55A5-4263-9F10-A12FA48C9ADC avatar
    14477 posts
    Member since:
    Apr 2022

    Posted 28 May 2008 Link to this post

    Hello Larry,

    The workaround for the absolute positioned button elements is to use the following code:

    <script type="text/javascript">
    Sys.Application.add_load(function()
    {
        var button = $get("Skinned" + "<%=Button1.ClientID%>");
        var realButton = $get('Button1');
        button.style.top = realButton.offsetTop + 'px';
        button.style.left = realButton.offsetLeft + 'px';
    });
    </script>

    This is the best way to solve the problem for the time being.

    Greetings,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. E3B89B3C-B82B-4848-8D4D-3A2239DED9BD
    E3B89B3C-B82B-4848-8D4D-3A2239DED9BD avatar
    16 posts
    Member since:
    Jul 2008

    Posted 09 Jul 2008 Link to this post

    Anyone experience some weird behaviour with the RadComboBox if the FormDecorator is also used?

    1. Page without FormDecorator control

    <telerik:RadComboBox ID="field_Language" runat="server" Skin="Vista" Width="205px"> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> <Items> <telerik:RadComboBoxItem runat="server" Text="English" Selected="true" /> <telerik:RadComboBoxItem runat="server" Text="Francais" /> <telerik:RadComboBoxItem runat="server" Text="Deutsch" /> </Items> </telerik:RadComboBox>

    Result: RadComboBox displays English as the default selection in the ComboBox

    2. I add the following to the page...
    <telerik:radformdecorator id="FormDecorator1" runat="server" skin="Sunset" DecoratedControls="Buttons" >   </telerik:radformdecorator>

    Result: RadComboBox displays nothing as the default selection in the ComboBox, additionally if I drop down the selection list and select 'English' again it still displays nothing.  I need to change it to another one of the values for it to finally display.

    Help?
  9. CE8FD5B8-D57F-4131-8A9A-47DA58D4A301
    CE8FD5B8-D57F-4131-8A9A-47DA58D4A301 avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 10 Jul 2008 Link to this post

    Telmo,

    Go to the FormDecorator forum and read the fist topic in the list; you'll find your answers there.

    --
    Stuart
  10. 000585EE-7DFC-4C10-B6EB-448F2DA3AFB4
    000585EE-7DFC-4C10-B6EB-448F2DA3AFB4 avatar
    7207 posts
    Member since:
    Jul 2016

    Posted 10 Jul 2008 Link to this post

    Hi guys,

    Telmo, indeed, Stuart is right (thanks, Stuart) - you need to check the following forum thread:
    http://www.telerik.com/community/forums/thread/b311D-bekebd.aspx

    All the problems described there are fixed in the "Futures" version that was released 2 days ago and which you can download from your Client.net account.




    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  11. E3B89B3C-B82B-4848-8D4D-3A2239DED9BD
    E3B89B3C-B82B-4848-8D4D-3A2239DED9BD avatar
    16 posts
    Member since:
    Jul 2008

    Posted 10 Jul 2008 Link to this post

    Thanks Stuart.

    Thanks for the support guys.  Job well done.

    T.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.