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
I'm a newbie here so apologies if this topic is an already answered question...
I have a WebGrid that returns values quite nicely except when the mode is Grouped Columns. The grid has 1 button column, 'View', that causes a post-postback when clicked. What indication do I receive on the server-side button-click event when the grid is in Group Column mode? It seems that the table that is returned is a table of Group Heading rows and each of the group heading rows in the table has a child table associated with it that contains the actual rows of that group.
How do I know which actual data row was selected by the client in my server-side event procedure?
Thanks in advance,
Chuck
I enclosed my test page based on the information of your scenario.
Could you please let me know if there is anything that I miss and the steps to reproduce the issue? You may also modify the sample and send back to us for further investigation.
You can use “RetrieveClientLastSelectedObject()” (for example: WebGrid1. RetrieveClientLastSelectedObject()) method of WebGrid. The method returns the actual data row selected by client in server-side button click event.
Hope this help.
Yudi,
Thanks for the response. I am already using the method you mentioned for situations where the user selects one of the records to view via a button in that record. If the user selects "Group By" then my code blows up with a Null Reference. In debugging, I can see that the table that is returned from a Group By grid appears to be different than that returned by a non GroupBy grid. The Group By table looks like a table of rows that indicate the Group and each of those rows has a child table of rows of actual data???
So what is the difference and how do I get the row that was selected?
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