Re: Need Suggestion

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



One way is to do Server.Transfer to the user info page on server side.

The link on the grid will fire just a postback, perhaps a RowCommand event,
the server will find what row fired the event, get the user id from the row,
put it in a session variable and transfer to the info page.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx> wrote in message
news:O59hPIATIHA.5288@xxxxxxxxxxxxxxxxxxxxxxx
Greetings,

My app displays users in a GridView control. I'd like to have the name
field shown in each row of this control a link that displays another page
with information about that user.

But I'm not sure how to approach this. How would I tell the target page
which user to display? I'd prefer not to pass the user's ID on the URL,
and I don't know when I'd get a chance to set a Session variable.

I know I can add a template with a link but, if I set an event handler for
that link, how does it know which row was selected?

Thanks for any tips.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com



.



Relevant Pages

  • Re: Unidentified Invalid Logons in Security Log
    ... source by OWA,RWW,shared folder on server, if not,may someone try his ... The user Info only exists to catch email addressed to info@... ... The same Security Log Error is occuring repetatively at randon ... original post there is no source network address. ...
    (microsoft.public.windows.server.sbs)
  • Re: Can I write Silverlight applications in VB?
    ... your user info for the NG server in your email client. ... MAYBE it's a problem with OE5. ...
    (microsoft.public.vb.general.discussion)
  • Qs on upgrade from Win Server 2003 to Win SBS 2003
    ... Standard Edition to Win Small Business Server 2003. ... Microsoft has told me that this ... is an OK upgrade path. ... Some how track down all the non user info ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Qs on upgrade from Win Server 2003 to Win SBS 2003
    ... What's the Server running? ... > is an OK upgrade path. ... Some how track down all the non user info ... and setup that info on the new PC. ...
    (microsoft.public.backoffice.smallbiz2000)