Solved

Postbackurl when selectedindexchange on Gridview

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now