Icon Location

6 posts, 0 answers
  1. Paul French
    Paul French avatar
    4 posts
    Member since:
    May 2006

    Posted 20 Sep 2007 Link to this post

    Hello.

    Is it possible for the colour picker to be displayed inline? I'd like it to appear next to a textbox rather than underneath. I've tried simply adding a style="display: inline;" but the palette is displayed x pixels underneath it.

    Thanks,
    Paul

    Addendum: i've achieved this using the following html , but i'd still like to know if there's a 'neater' way of doing this.

    <div style="display: inline; position: relative;"
        <telerik:RadColorPicker ID="rcpBackgroundColour" Preset="Web216" style="display: inline; position: absolute;" ShowIcon="true" ShowEmptyColor="true" PreviewColor="false" runat="server" /> 
    </div> 

  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 21 Sep 2007 Link to this post

    Hi Paul French,

    It depends on the design of the page how to realize the positioning of the controls on it. I suggest you another solution to your problem:

    <div> 
           <asp:textbox id="TextBox1" runat="server" style="float:left;"></asp:textbox> 
           <telerik:radcolorpicker id="RadColorPicker1" runat="server" preset="Standard">  
           </telerik:radcolorpicker> 
           <div style="clear:both;height:1px;margin-bottom:-1px;"><!-- --></div>  
           <asp:button id="Button1" runat="server" text="Button" /> 
    </div> 

    You need the div element in case you want the next control to be positioned under the previous ones instead of next to them.

    Greetings,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul French
    Paul French avatar
    4 posts
    Member since:
    May 2006

    Posted 21 Sep 2007 Link to this post

    Hi  Sophy.

    Thanks for the prompt response. I've implemented your suggestions and it looks fine in FF2, IE7 & Safari Beta 3 (pc). However, it displays rather oddly in IE6 ( there's a blank gap to the left of the color pickers ) and also behaves oddly in IE7 ( clicking on a color picker hides any subsequent color pickers ).

    You can see this behaviour on our test web site here:

    http://nkwww201.badabing2.axis.sirenx.com/
    Select a country, click on 'Start Earning'.

    Thanks,
    Paul
  5. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 21 Sep 2007 Link to this post

    Hi Paul French,

    I carefully tested the suggested scenario under IE6 and IE7 and it seems to work fine. I also tried to open the link you have given us, but my attempt was unsuccessful as the link seems to be broken. Please, send us a simple running project with which we can reproduce the problem you experience. We will analyze it and will respond with a solution ASAP.

    Regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Paul French
    Paul French avatar
    4 posts
    Member since:
    May 2006

    Posted 21 Sep 2007 Link to this post

    Sorry, to access the link you'll need to add the following to your hosts file ( location in Win XP is C:\Windows\system32\drivers\etc\hosts ):

    172.16.28.50    nkwww201.badabing2.axis.sirenx.com
  7. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 21 Sep 2007 Link to this post


    Hi Paul,

    I added the needed information in the host file of my machine, but I still cannot open the link you have given us. Nevertheless, even if we are able to open the link we will not be able to solve the problem as we won't have the application locally.

    So, please, send us a screenshot and a running project demonstrating the problem you experience. As soon as we receive it, we will do our best to reproduce it and find an appropriate solution.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017