Solved

Postbackurl when selectedindexchange on Gridview

Posted on 2008-06-19
3
637 Views
Last Modified: 2009-12-16
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
Comment
Question by:billkrieger
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
nikunj_it earned 500 total points
ID: 21827111
Write postback code for frame in selectedindexchange event and set AutoPostBack = true for GridView.

hope this helps.

Nick
0
 

Author Comment

by:billkrieger
ID: 21830825
Can you please give an example of the gridview selectedindexchange event code to postback to framepage.aspx?
0
 

Author Comment

by:billkrieger
ID: 21830966
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question