• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 651
  • Last Modified:

Postbackurl when selectedindexchange on Gridview

I have a gridview that saves a variable in a session on selectedindexchange. On the same form, I currently have a button that will postbackurl to a Framed page that is working fine (Each frame page is retrieving the session).  Can someone please explain how I can skip having the button so that on selectedindexchange the framed page will open? This would allow less clicks for the user. I appreciate your help.
  • 2
1 Solution
Write postback code for frame in selectedindexchange event and set AutoPostBack = true for GridView.

hope this helps.

billkriegerAuthor Commented:
Can you please give an example of the gridview selectedindexchange event code to postback to framepage.aspx?
billkriegerAuthor Commented:
Sorry, I realized that adding a Hyperlink field rather then the select field to my Gridview will do what I'm looking to do. Thanks for your help!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now