DCRAPACCESS
asked on
ancor tag href postback Request.QueryString
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
Because, it is a list with users first and last names that should be clicked. And a button would look odd.
ASKER
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
in the page directive have Maintainscrollposition = true
then after the postback the page will maintain the scroll position
Not Button its linkbutton
and in the linkbutton_Onclick you can write the required functionality
and in the linkbutton_Onclick you can write the required functionality
ASKER