4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 18 Apr 2013, 04:10 AM
Hi,
I suppose you want to bind the combobox on checking items in it. You can bind the grid in ItemChecked event as shown below.
C#:
Thanks,
Shinu
I suppose you want to bind the combobox on checking items in it. You can bind the grid in ItemChecked event as shown below.
C#:
protected void RadComboBox1_ItemChecked(object sender, RadComboBoxItemEventArgs e) {//bind the grid here }Thanks,
Shinu
0
Mauricio
Top achievements
Rank 1
answered on 18 Apr 2013, 01:28 PM
Thank you very much!.
At the same time I need to know the values of thats items, to get its data of my DB do you know about a function to do that?
Thanks
At the same time I need to know the values of thats items, to get its data of my DB do you know about a function to do that?
Thanks
0
Shinu
Top achievements
Rank 2
answered on 19 Apr 2013, 04:55 AM
Hi,
You can bind the grid in its needdatasource event as shown below.
C#:
Thanks,
Shinu
You can bind the grid in its needdatasource event as shown below.
C#:
protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e) { SqlConnection con1 = new SqlConnection(WebConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString); SqlCommand cmd = new SqlCommand("SELECT top 10 * FROM [Orders]", con1); SqlDataAdapter ad = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); ad.Fill(ds); RadGrid1.DataSource = ds; }Thanks,
Shinu
0
Mauricio
Top achievements
Rank 1
answered on 13 May 2013, 04:50 PM
thks you help me a lot with this sample.