ShowToggleImage stopped working in latest release?

15 posts, 0 answers
  1. Martin
    Martin avatar
    22 posts
    Member since:
    Aug 2007

    Posted 25 Sep 2008 Link to this post

    I have just downloaded and installed the 2008.2 826 version of the RadControls. I use the RadCombox in many places on my website, and have ShowToggleImage set to false on nearly all instances.

    When I put the new version into the application the ToggleImage is being displayed, as if the ShowToggleImage attribute is not working.

    Is this a bug, or have I missed something?


  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 25 Sep 2008 Link to this post

    Heya Martin,

    I'm demo'ing the 2008.2.826 and ShowToggleImage is working just fine...  do you have any kinda global css or something like that which could be messing with the combobox?  Or can you paste some sample code here to see if there is anything messing with it?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Martin
    Martin avatar
    22 posts
    Member since:
    Aug 2007

    Posted 26 Sep 2008 Link to this post

    I am using a custom stylesheet based on the default2006 skin. I tried deleting everything out of it to see what happened.

    The toggle image disappeared, but was replaced with a box on the right with the word 'select' in it.
  5. Martin
    Martin avatar
    22 posts
    Member since:
    Aug 2007

    Posted 26 Sep 2008 Link to this post

    I've come up with a css solution. Its probably a hack, but here it is.

    In my ComboBox.Default2006 css I have put
    .RadComboBox_Default2006 .rcbArrowCell
    {
        display:none;
    }

    and then overridden that in the places where I do want to show it. I wrapped the control with a div with the css class 'messagereceiver'
    .messagereceiver .RadComboBox_Default2006 .rcbArrowCell
    {
        border-color:#373737 #fff #000;
        width:27px;
        padding:0;
        background: transparent url(../images/default2006-arrow-button.gif) no-repeat;
        display:block !important;
    }
  6. Martin
    Martin avatar
    22 posts
    Member since:
    Aug 2007

    Posted 26 Sep 2008 Link to this post

    Further to my last post, I have found a proper solution to this.

    I realised that when ShowToggleImage is set to false, a css class called 'rcbArrowCellHidden' is added to the table cell. I did not have this class specified in my css, so I undid my earlier changes and added

    .RadComboBox_Default2006 .rcbArrowCellHidden
    {
        display:none;
    }

    problem solved.
  7. Zach
    Zach avatar
    18 posts
    Member since:
    Jan 2006

    Posted 12 Mar 2009 Link to this post

    This does not seem to be working for me after upgrading to the new Q1 2009 release.  Any reason it would not be?
  8. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 13 Mar 2009 Link to this post

    Hi Zach Packard,

    I tried to reproduce the problem, but to no avail.

    Here is my declaration:

    <telerik:RadComboBox ID="RadComboBox1" runat="server" ShowToggleImage="false"
        <Items> 
            <telerik:RadComboBoxItem Text="item 1" /> 
            <telerik:RadComboBoxItem Text="item 2" /> 
            <telerik:RadComboBoxItem Text="item 3" /> 
        </Items> 
    </telerik:RadComboBox> 

    Here is the output:




    Regards,
    Veselin Vasilev
    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.
  9. Zach
    Zach avatar
    18 posts
    Member since:
    Jan 2006

    Posted 13 Mar 2009 Link to this post

    Looks like if you add in the EnableLoadOnDemand="True" it makes the ShowToggleImage="False" not work.  This did work in previous releases.  Code is below:

        <telerik:RadComboBox ID="RadComboBox1" runat="server" ShowToggleImage="false" EnableLoadOnDemand="True">  
            <Items> 
                <telerik:RadComboBoxItem Text="item 1" /> 
                <telerik:RadComboBoxItem Text="item 2" /> 
                <telerik:RadComboBoxItem Text="item 3" /> 
            </Items> 
        </telerik:RadComboBox> 
  10. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 16 Mar 2009 Link to this post

    Hello Zach Packard,

    Indeed setting ShowToggleImage to false when the control is not in read-only mode causes the display issue.

    We will fix this and you could obtain the fix by downloading the Latest Internal Build when its release notes reflect the change.

    Sincerely yours,
    Simon
    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.
  11. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 17 Mar 2009 Link to this post

    Hi Zach Packard,

    This issue has been fixed and the fix will be available starting from the next internal build.

    Kind regards,
    Kamen Bundev
    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.
  12. Zach
    Zach avatar
    18 posts
    Member since:
    Jan 2006

    Posted 17 Mar 2009 Link to this post

    I assume you are referring to an internal build other than the current (2009.1.316.35) because it is NOT fixed in that version?
  13. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 18 Mar 2009 Link to this post

    Hi Zach Packard,

    The 316 had been published before the bug was fixed. Please download the 318 version once it is available.

    Kind regards,
    Simon
    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.
  14. Zach
    Zach avatar
    18 posts
    Member since:
    Jan 2006

    Posted 18 Mar 2009 Link to this post

    Hooray!  I can confirm this works as expected now in the 2009.1.318.35 internal build.
  15. Rob Heckart
    Rob Heckart avatar
    15 posts
    Member since:
    Jan 2008

    Posted 31 Mar 2009 Link to this post

    Just downloaded the 324 build. The feature works great in FireFox but doesn't seem to be working well in IE7. I created a screenshot to show what's happening.
  16. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 31 Mar 2009 Link to this post

    Hello Rob Heckart,

    It is fixed in more recent builds (324 = 24th of March) - and will be available in the SP1, which will be no later than next week.

    Regards,
    Alex
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017