Hello Support
I have an radgrid in which I have enable filter option on one column. And in filter textbox as RadNumericTextbox, every thing works fine but the Radnumerictextbox background color is always black which I want to make it White but it doesn't happens. Following code I have tried
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridFilteringItem)
{
GridFilteringItem filterItem = e.Item as GridFilteringItem;
RadNumericTextBox txtNumber = (RadNumericTextBox)filterItem["S1"].Controls[0];
txtNumber.BackColor = System.Drawing.Color.White;
}
}
Please check and tell me what made it wrong...
Regards
ASIF
I have an radgrid in which I have enable filter option on one column. And in filter textbox as RadNumericTextbox, every thing works fine but the Radnumerictextbox background color is always black which I want to make it White but it doesn't happens. Following code I have tried
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridFilteringItem)
{
GridFilteringItem filterItem = e.Item as GridFilteringItem;
RadNumericTextBox txtNumber = (RadNumericTextBox)filterItem["S1"].Controls[0];
txtNumber.BackColor = System.Drawing.Color.White;
}
}
Please check and tell me what made it wrong...
Regards
ASIF