Hi,
I am fairly new to Telerik controls ,I'm basically trying to programmatically bind a RadGrid to SharePoint SPDataSource control in a WebPart but after doing so the grid shows SPDataSource's properties such as "UseInternalName" instead of it contents, I don't have the code at the time but it looks something like this:
SPDataSource spdc =new SPDataSource();
spdc.DataSourceMode = SPDataSourceMode.List;
SPList list1=...
spdc.list=list1;
radGrid grid1=new radGrid();
grid1.DataSource =spdc;
// for columns I tried both generate automatically
//option and adding a field for "Title" for example
grid1.databind();
So my main question is :
Does RadGrid support SPDataSource? and if yes what am I doing wrong? If not ,are there any alternate ways of doing this?what are my options?
Thanks in Advance
I am fairly new to Telerik controls ,I'm basically trying to programmatically bind a RadGrid to SharePoint SPDataSource control in a WebPart but after doing so the grid shows SPDataSource's properties such as "UseInternalName" instead of it contents, I don't have the code at the time but it looks something like this:
SPDataSource spdc =new SPDataSource();
spdc.DataSourceMode = SPDataSourceMode.List;
SPList list1=...
spdc.list=list1;
radGrid grid1=new radGrid();
grid1.DataSource =spdc;
// for columns I tried both generate automatically
//option and adding a field for "Title" for example
grid1.databind();
So my main question is :
Does RadGrid support SPDataSource? and if yes what am I doing wrong? If not ,are there any alternate ways of doing this?what are my options?
Thanks in Advance