We have a Web Data grid V14.1 in our VB .NET 2010 project. We want to get some information in a new window based on the Web data grid Acitive row click. How to achieve this using VB .NET?
Regards
Hello,
You can do that by handling the WebDataGrid's RowSelectionChanged server side event and get any cell value from the CurrentSelectedRows collection from the arguments of the event, like this:
protected void WebDataGrid1_RowSelectionChanged(object sender, Infragistics.Web.UI.GridControls.SelectedRowEventArgs e) { e.CurrentSelectedRows[0].Items[0].Value }
I have attached a sample demonstrating this.
We have tried the solution provided by you but it is not working in vb.
can we have an example with vb coding?
e.CurrentSelectedRows[0].Items[0].Value is always showing as nothing.
Please look into this and provide the solution.