Infragistics 10.2 .NET 3.5
I'm using a dropdown provider for a column within a webdatagrid. When I expand the drop down list all the item are center aligned. How do I modify the alignment to be left justified??
Thanks for your help!
Normal 0 false false false EN-IN X-NONE X-NONE
Changing font size inside .igdd_DropDownList do not have any effect.
I can make font bold, change their alignments etc. however changing font size do not have any effect.
Can anyone help me on this?
Thanks,
Siddhanath
Ms. Georgieva,
The items in the drop down are aligned correctly now.
Thanks for your help,
Ron C
Hello Ron,
Thank you for the clarification.
You have to override the igdd_Office2007BlueDropDownList class in the CSS section of the page
<head runat="server">
<title></title>
<style type="text/css">
.igdd_Office2007BlueDropDownList
{
background-color: White;
font-size: 10pt;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 1px;
text-align: left !important;
}
</style>
</head>
......
<EditorControl EnableDropDownAsChild="False" Width="300px" DataSourceID="SqlDataSource2" DropDownContainerWidth="300px" TextField="CategoryName" ValueField="CategoryID"
StyleSetName="Office2007Blue">
<DropDownItemBinding TextField="CategoryName" ValueField="CategoryID" />
<Templates>
<ig:ItemTemplate TemplateID="">
</ig:ItemTemplate>
</Templates>
</EditorControl>
</ig:DropDownProvider>
Let me know if you need further assistance.
Yes, Iam using StyleSetName Office2007Blue.
No, I am not setting any other styles.
Thanks
Are you using a special StyleSetName (for example Office2007Blue)?
Also the default text align of the drop down items is left,
are you setting other style to any parent element of the WebDropDown?