Skinnable Form Controls

41 posts, 0 answers
  1. Hessner
    Hessner avatar
    189 posts
    Member since:
    Mar 2003

    Posted 18 Mar 2008 Link to this post

    I agree - absolutely!

    Regards
    Hessner
  2. Norsten
    Norsten avatar
    53 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. Stuart Hemming
    Stuart Hemming 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. Willem
    Willem 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. Rumen
    Admin
    Rumen avatar
    12851 posts

    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. Larry
    Larry 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. Rumen
    Admin
    Rumen avatar
    12851 posts

    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. Telmo Silva
    Telmo Silva 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. Stuart Hemming
    Stuart Hemming 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. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    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. Telmo Silva
    Telmo Silva 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