Hi to all,,,,,,,
i try to change my items font size in drop down but i am not able to change...plzz help me out
What if I have more than one WDD on my page but I just want to change the style for one? I tried setting the cssclass for the WDD and that did nothing.
thnx angel...and i had one problem with the dropdown
HI angel,
thnx for your reply, i solve this now, i had one more query. The thing i am selecting mutiple items in a drop down, and i need to take all the selected items and need to pass it to a query.. but after selecting the one time the postback is not happening..i'll send my code to you,please go through that and send me reply
.aspx
="150px"
="Checkbox"
=".igdd_ListItem">
/>
>
.cs page
protected
e)
{
;
i = 0; i < DD_PropZone.SelectedItems.Count; i++)
m += DD_PropZone.SelectedItems[i].Value.ToString() +
}
)
sSqlQuery =
(sSqlQuery, Conn);
();
sda91.Fill(ds91);
dd_Locality.Items.Clear();
dd_Locality.DataSource = ds91.Tables[0];
dd_Locality.DataValueField =
dd_Locality.DataTextField =
dd_Locality.DataBind();
dd_Locality.Items.Insert(0,
);
else
BindPageLocality();
ModalPopupEx_AdSearch.Show();
You will need to modify the igdd_ListItem css class. That is if you want to change the font of the actual items in the dropdown.
If you want to change the font of the text in the input box, you will need to change the igdd_ValueDisplay class.
there are couple of ways to do that, either edit ig_dropDown.css in the StyleSet folder, or define a class on the form (or anywhere actually) , with the same name , that is:
.igdd_ValueDisplay {
// change font here ... actually there is also style for the font, you will just need to change the size value.
Hope it helps,
Angel