views:

119

answers:

1

I'm using the Infragistics tool for ASP.NET.

I have a WebForm, webform1, where I placed a WebDataGrid control of infragistics. Now, I want a user to select the row and have it redirect the data to a textbox on another WebForm, webform2.

How can I get the selected row from webform1 to webform2?

+2  A: 

You have a number of options:

  1. You can reference the PreviousPage property in the Page property of WebForm2. See Cross Page Posting in MSDN for more information.

  2. You could do a Response.Redirect and then URLEncode your values and send them in the QueryString as GET values which can be referenced from the next page.

  3. You can change your logic so that you encapsulate all of the functionality you require onto one Web Form, using either a MultiView or Wizard control.

Dan Diplo