or
| protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e) |
| { |
| LoadData(Grid1); |
| } |
| private void UnloadDataFromAll() |
| { |
| Grid1.DataSource = GetDataTable(""); |
| Grid1.DataBind(); |
| Grid2.DataSource = GetDataTable(""); |
| Grid2.DataBind(); |
| } |
| public DataTable GetDataTable(string query) |
| { |
| if (query == "") |
| { |
| return new DataTable(""); |
| } |
| String ConnString = ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString; |
| SqlConnection conn = new SqlConnection(ConnString); |
| SqlDataAdapter adapter = new SqlDataAdapter(); |
| adapter.SelectCommand = new SqlCommand(query, conn); |
| DataTable myDataTable = new DataTable(); |
| conn.Open(); |
| try |
| { |
| adapter.Fill(myDataTable); |
| } |
| finally |
| { |
| conn.Close(); |
| } |
| return myDataTable; |
| } |

<%
@ Register TagPrefix="rweb" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
Now when I try to use this
I see <rweb:RadAjaxLoadingPanel> and lot other controls but do not see the <rweb:radformdecorator>
The dll version is 2007.1.626.0 and the size is 1112kb
Please suggest.
Ashish
RadNumericTextBox
at runtime(server side) and want to add a javascript function on textbox "onblur" event. I am doing it as 'Controlid.attributes.add()'RadNumericTextBox
can you please tell me the steps that i need to follow for this.