or
| protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) |
| { |
| DataTable dt = dm.GetDtFromSQL(string.Format(SQLTemplate, ViewState["showID"]), "", ViewState["showID"].ToString(), false); |
| if (dt.Rows.Count > 0) |
| { |
| DataView dv = dt.DefaultView; |
| dv.RowFilter = ViewState["filter"].ToString(); |
| dv.Sort = string.Format("{0} {1}", ViewState["sort"], ViewState["order"]); |
| RadGrid1.DataSource = dv; |
| } |
| else |
| { |
| RadGrid1.DataSource = null; |
| } |
| } |
There is a small issue with the highlightning of all the buttons on the radgallery.
When you move the mousepointer on one of the buttons and the mousepointer is on the right half of the button than it is all ok. The button is highlighted and you can press the left mouse button and the correspnding action happens.
But when you move the mousepointer from the right half of the button to the left half then there is no highlightning of the button and you can press the left mouse button and no action happens.
Regards,
Ramius