iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
We are creating an aspx page on which we need to create multiple web grids based upon the data table in our data set. For every data table we need to create a seperate data grid dynamically.
Every data table is having different columns. The column structure and the number of columns are different for each table. However, it is throwing an exception on the PrepareDataBinding “Can't find DataColumn with name 'Item' in the specified datasource.” Here the item is the column name in my data table.
Please let us know what settings are required to properly support the multiple dynamic web grids on a single page. Also please let us know the sample for the multiple dynamic grid that we can refer from the Intersoft web site.
Thanks, Ravinder
Hi Hans,
Thank you for your reply. I have gone thru the example that you have mentioned. In this example we have only one grid on the page which can binded to different data sources based on user selection from the drop down. However, in our case we need to generate multiple grids on the run time.
Try to think in a way in which we need to select multiple options (data sources) from the dropdown in the changeDS.aspx example and based on the multiple selection choosen by the user, we need to show that many grids(each grid binding to a different data source) on the page.
So, it seems the challange would be in calling the grid events like InitializeDataSource,InitializePostBack and PrepareDataBinding.
I hope now I am able to clarify my problem.
Thanks,Ravinder
I found the solution. Setting the following properties in the InitializeDataSource event makes it work.
grid.DataMember = "Table Name";
e.DataSource = ds; // data set;
Hello,I glad to hear that you found the right server side event.Should you have further question, please do not hesitate to contact us.Thank you.Regards,Hans K.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname