Solved

Postbackurl when selectedindexchange on Gridview

Posted on 2008-06-19
3
640 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to count occurrences of each item in an array.
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.

622 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