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 am using the following code to get the value of a cell in a row, from the buttonclick event in the same row:
The webgrid is inside a tab.
dim pFolder as string = WebGrid1.RootTable.Rows(WebGrid1.RetrieveClientLastSelectedObject().RowIndex).Cells.GetNamedItem("ProjectFolderURL").Value
I get a null exception.
Hello,Thank you for your question.It seems you just mistype the code when you try want to the cell value.Please try to modify your code from:
WebGrid1.RootTable.Rows(WebGrid1.RetrieveClientLastSelectedObject().RowIndex)
To
WebGrid1.RootTable.Rows[WebGrid1.RetrieveClientLastSelectedObject().RowIndex]
I also attach a simple WebGrid sample about how to get cell value from server side. Please kindly have review on the sample to see the result.
Hope this helps.Regards,Hans.
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