iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Latest Development Blogs
Browse By Tag
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.
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
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.
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.
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.
Forgot your password | Sign up
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
Already a member? Sign in