Hi - I'm using version 9.1.20091.2087 WebDropDown. I need to disable/enable some WebDropDown control - but the 'text' area of the combo becomes too short (and I think the font size changes?) when it changes from enable to disabled.
This is very easy to reproduce - just paste this in as an aspx page - no code behind code needed. Just run the sample and you will see the 'disabled' combo shows as a textbox with a border within the combobox...and it is too short!. I just want it to 'grey' out the whole control but leave the contents alone!
Can you tell me what i can tweak to make this work?
thanks in advance!
<%@ Page Language="VB" %><%@ Register Assembly="Infragistics35.Web.v9.1, Version=9.1.20091.2087, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.ListControls" TagPrefix="ig" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"></script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body><form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div> <table width="500px"> <tr> <td style="width:100px;">client name</td> <td style="width:400px;"><ig:WebDropDown ID="WebDropDown1" runat="server" Width="100%" CurrentValue="This is a test value to demonstrate the field length change" Enabled="false"> </ig:WebDropDown></td> </tr> <tr> <td style="width:100px;">Job Number</td> <td style="width:400px;"><ig:WebDropDown ID="WebDropDown2" runat="server" Width="100%" CurrentValue="This is a test value to demonstrate the field length change" Enabled="true"> </ig:WebDropDown></td> </tr> </table> </div> </form></body></html>
ok - understood. Thanks again Angel....I've got another problem for you - but I'll start another post as it is un-related to this :)
cheers
Jonathan
Hi Jonathan,
Yes - we also update these, but for some reason the ValueDisplayDisabled class was not updated. I will make sure it's there for the next service release (it will also be updated for the other styleSets).
You can use AppStylist to create a new blank Theme, or modify an existing theme, but i am not sure it is possible to propagate a change in all stylesets using AppStylist.
Thanks,
Angel
hi Angel - thanks again for the speedy response :)
I found I had to put this into the current theme I was using - so in this case
.igdd_PearValueDisplayDisabled
Which mieans if I have several themes I guess I'd need to update all of those. As we tend to create a custom theme for each site we install our system on to (so it blends with other websites they already have) - is there any way changes such as this could be propogated down using the app stylist program?
When you release an update - do you normally also push out the latest _ig_res themes files as well? If you have fixed any quirks within the 'standard' themes - is there some way we can find out what was changed in case we have custom themes we may also need to fix?
thanks again for your help,
Hi,
This is what i see (screenshot attached). Probably some of the CSS is different. That's my CSS for ValueDisplayDisabled (you can paste it in your ig_dropDown.css):
*/
.igdd_ValueDisplayDisabled
{
width: 100%;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: normal;
border: 0px;
}
Probably we haven't updated the shipped CSS in the styleSets. In that case i can fix this and it will be in the next service release.
Hope it helps,