Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ancor tag href postback Request.QueryString

Posted on 2010-09-07
6
Medium Priority
?
891 Views
Last Modified: 2012-06-27
Hi Experts,

I have a dynamic list with a lot of <a> with dynamic href.
When i press the <a> i need to pass a value, with lets say a QueryString. The href refers back to the same page and therefore i need to Maintain Scroll Position. Because the value from the QueryString should make a DIV or asp:panel visible.

The list contains a lot of users, and by pressing a user name a box under the name should appear with  more details. That is what I'm trying to do if any one should have a better idea?

Best regards
kim
0
Comment
Question by:DCRAPACCESS
[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
  • 3
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
puru1981 earned 2000 total points
ID: 33615988
you can do this using the href value with #Div

http://www.mcli.dist.maricopa.edu/tut/tut8d.html
0
 

Author Comment

by:DCRAPACCESS
ID: 33616241
It looks like something I could use, but I can first test it when I get home, but I think that it would work :-)
0
 
LVL 3

Expert Comment

by:revaluser
ID: 33616272
in the page directive have Maintainscrollposition = true

then after the postback the page will maintain the scroll position

and why cant you use the linkbutton instead of hyperlink where on click you can check the requirement and show or hide the DIV or Panel
0
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.

 

Author Comment

by:DCRAPACCESS
ID: 33616529
Because, it is a list with users first and last names that should be clicked. And a button would look odd.
0
 

Author Comment

by:DCRAPACCESS
ID: 33616564
Can you show how I do this you talking about, i'm not sure what to do:

in the page directive have Maintainscrollposition = true

then after the postback the page will maintain the scroll position

0
 
LVL 3

Expert Comment

by:revaluser
ID: 33619544
Not Button its linkbutton

and in the linkbutton_Onclick you can write the required functionality
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

721 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