Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 649
  • 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.
0
billkrieger
Asked:
billkrieger
  • 2
1 Solution
 
nikunj_itCommented:
Write postback code for frame in selectedindexchange event and set AutoPostBack = true for GridView.

hope this helps.

Nick
0
 
billkriegerAuthor Commented:
Can you please give an example of the gridview selectedindexchange event code to postback to framepage.aspx?
0
 
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!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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