This is a migrated thread and some comments may be shown as answers.

ShowToggleImage stopped working in latest release?

14 Answers 123 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 2
Martin asked on 25 Sep 2008, 03:02 PM

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?


14 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 25 Sep 2008, 03:40 PM
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?
0
Martin
Top achievements
Rank 2
answered on 26 Sep 2008, 08:30 AM
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.
0
Martin
Top achievements
Rank 2
answered on 26 Sep 2008, 09:04 AM
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;
}
0
Martin
Top achievements
Rank 2
answered on 26 Sep 2008, 09:30 AM
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.
0
Zach
Top achievements
Rank 1
answered on 12 Mar 2009, 07:13 PM
This does not seem to be working for me after upgrading to the new Q1 2009 release.  Any reason it would not be?
0
Veselin Vasilev
Telerik team
answered on 13 Mar 2009, 07:32 AM
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.
0
Zach
Top achievements
Rank 1
answered on 13 Mar 2009, 06:19 PM
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> 
0
Simon
Telerik team
answered on 16 Mar 2009, 01:54 PM
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.
0
Kamen Bundev
Telerik team
answered on 17 Mar 2009, 02:43 PM
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.
0
Zach
Top achievements
Rank 1
answered on 17 Mar 2009, 07:14 PM
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?
0
Simon
Telerik team
answered on 18 Mar 2009, 10:06 AM
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.
0
Zach
Top achievements
Rank 1
answered on 18 Mar 2009, 01:38 PM
Hooray!  I can confirm this works as expected now in the 2009.1.318.35 internal build.
0
Rob Heckart
Top achievements
Rank 1
answered on 31 Mar 2009, 02:33 PM
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.
0
Alex Gyoshev
Telerik team
answered on 31 Mar 2009, 03:11 PM
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.
Tags
ComboBox
Asked by
Martin
Top achievements
Rank 2
Answers by
Serrin
Top achievements
Rank 1
Martin
Top achievements
Rank 2
Zach
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Simon
Telerik team
Kamen Bundev
Telerik team
Rob Heckart
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or