Solved

Postbackurl when selectedindexchange on Gridview

Posted on 2008-06-19
3
635 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

778 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