Retrieving query string in Sharepoint desinger

P

Pavan

I am using Microsoft Sharepoint Designer to create template to use in MOSS
2007.

I have 2 DIV tags and 2 menus on a page. Each DIV tag is associated with
corresponding menu and the data in each DIV tag is obtained from the
database. When the first (or any ) item of the first menu is clicked, the
first DIV should be displayed. Similarly when the first (or any) item of the
secong menu is clicked, the secong DIV should be displayed.

On Page load, first DIV is shown. I am able to show one DIV. But when the
second menu is clicked, I want the second DIV to be shown. But when we click
on the second menu, the page is getting reloaded and the second one is
getting hidden with the first DIV being displayed again. So I am not able to
display the second DIV at all.

I am now trying to solve this by using query string. When I click on the
menu item, we would take a variable with the menu clicked and pass the value
to the next page. So based on the value from the previous page, we would get
to know which menu item is clicked and then on refresh, we would only display
the corresponding DIV tag.

The problem I am facing now is that, I am able to pass the value in query
string. But I am not able to retrieve the same.

Has anyone encountered this problem before?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top