hi
i have two problem with telerik.grid
first please look at my code
private void loadGridView()
{
grdIODump.DataSource = IOInfo.personIOInfo(Session["perno"].ToString(), txtbeginDate.Text, txtEndDate.Text);
grdIODump.DataBind();
}
i call this code in my submit button function;
and this is my grid code:
and now my problem:
1- when i click on one of header to sort my grid go disapear. but if i load grid view in my page_load too it does not but i can't load this in page_load.
2- if i write this code in my oadGridView() function
for (int i = 0; i < grdIODump.Items.Count; i++)
{
if (grdIODump.Items[i]["DURATION"].Text == "۰۰:۰۰")
{
grdIODump.Items[i].BackColor = System.Drawing.Color.Pink;
}
}
// change bg color of some row in if statement
it works just for first page of my grid and in the other page it doesn't work
can any one help me????