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,
may be simple, i want to know how can i get the particular column of the selected row in a button click for webgrid.
the button is an server side button.
there is no any method like
webgrid1.Roottable.selectedrow();
please let me know
thanks and regards
ca
Hi ca,
This is the way you can get selected row's cell value on button click
protected void btnSelect_Click(object sender, EventArgs e){
{
Label1.Text = WebGrid1.RootTable.Rows[WebGrid1.RetrieveClientLastSelectedObject().RowIndex].Cells[0].Value
}
Cheers
Yeap, the answer from Sudeep is the right way. Thanks for the help Sudeep. :)
Best Regards,
Gordon Tumewu
Gordon,
U r welcome!
Sudeep
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