Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Getting a hidden value from an infragistics webgrid.
Versions des environnements
Network:
Windows 2003 Server
I am using Mere Mortals binding to fill values into an infragistics webgrid. I am using an imagebutton inside one of the cells. What I would like to do is when the user clicks the button on a particular row, I want to grab this ID column from this row. The ID is currently a hidden column in the grid. I want to take this value and use it as a paratmeter in querystring used to do a Response.Redirect to another page. I would think that the method would be pretty much the same for any grid. I tried to use the Eval method with an ASP.NET hidden field, but apparently the grid has to be continuously bound to the datasource. Thus this method doesn't work using Mere Mortals objects and late binding.
I have been researching and attempting various methods for the past two days without success. I am fairly new at writing ASP.NET applications, but I would think that it would be relatively simple to grab a value from a grid to store it into a variable that I could use to pass as a querystring to another page. This was simple when using the windows version of the grid.
Any advice would be appreciated.
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement