Hi everyone,
We are planning to use Infragistics 2010 Vol. 1 for our development.
Is there any example/sample that demonstrates WebDataGrid Add/Update/Delete/Paging/Sorting/Filtering features using DataSet. We have business layers implemented that accepts/returns DataTable/DataSet.
I would appreciate if someone can please point me in the right direction.
Thanks
Hello Ram,
I saw that you have another thread that is especially created about this. In order to avoid confusions you will get your answer there.
Let me know if you have further questions regarding your original question.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you Lyuba for taking the time and effort to build the sample.
I am currently experimenting the RowEditingTemplate feature that allows a user to edit the row. I am unable to populate a regular ASP.Net DropDownList control residing in the <Template> from code-behind. However, it works using a SqlDataSource. But then I am not able to configure the <ClientBindings>.
Could you please provide a sample to populate the ASP.Net DropDownList control with a DataSet/DataTable from code-behind and the client bindings - GetValueJavaScript and SetValueJavaScript?
Could you also extend the sample showing the use of EditorProviders-DropDownProvider in the RowEditingTemplate?
I would appreciate your help!
Thank you once again!
I am attaching you also a sample with SqlDataSource, in which you can see the benefits from the AutoCrud when a datasource supporting it is used. This sample has completely functional add/delete and update functionalities. In order to be able to try it, you should first configure in the web.config the connection string for the Microsoft’s Northwind sample database
Here is a sample that has a Add/Update/Delete/Paging/Sorting/Filtering features using DataSset for the WebDataGrid. Since the DataSet does not support the AutoCrud operations (http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.2/CLR4.0/html/WebDataGrid_Supported_Data_Sources.html), the rows should be manually added/updated/deleted. In the sample I have highlighted the proper places to do so.
Hope this helps.
Hey Lyuba,
Thanks for providing the links. I have gone through all the samples and the documentation, I could not fine any good examples that demonstrates the use of dataset and the WebDataGrid server events to add/update/delete rows in the WebDataGrid.
I would appreciate if you can provide some samples that shows getting data into dataset from SQL data source and the user does the add/update/delete operations and the changes are send back to SQL data source. This is our primary need before we starting evaluating other good features.