I'm currently experiencing the bad sides of JQM
. I've got say two drop down list controls and I want to add different width to them depending on their class. How can I do it?
<asp:DropDownList runat="server" ID="ddlWidth1"
data-theme="e" </asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlWidth2"
data-theme="e" </asp:DropDownList>
After rendering the HTM
, JQM
sets some classes and I can set the ddl's
width like that:
.ui-select{
width: 225px;
}
But this makes both ddl's
width the same. Adding css
classes to the ddls
won't help, because I'm losing these classes after the HTML
is rendered.