navigation on the web pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shaam
    New Member
    • Aug 2006
    • 11

    navigation on the web pages

    iam working on c#.net.
    let us suppose there are 4 web pages in an application. when the second webform is clicked then a navigation should appear on the top of the page showing the path from where he entered that page.
    eg::: webform1-webform2
    if the third webform is clicked
    webform1-webform2-webform3
    plzz any one help.....
  • nmsreddi
    Contributor
    • Jul 2006
    • 366

    #2
    Originally posted by shaam
    iam working on c#.net.
    let us suppose there are 4 web pages in an application. when the second webform is clicked then a navigation should appear on the top of the page showing the path from where he entered that page.
    eg::: webform1-webform2
    if the third webform is clicked
    webform1-webform2-webform3
    plzz any one help.....





    hi frnd

    if u want to know the path then you have to maintain the key passed from every webform during navigation.then u can catch the request on every form so that it indicates from where the responce is coming then u can print the result on a lable on every form.


    hope may help you

    regards

    nmsreddi

    Comment

    • nmsreddi
      Contributor
      • Jul 2006
      • 366

      #3
      while redirecting to another page send the value of the variable like


      --response.redire ct ("WebForm1.aspx ?a="+a)

      in the above ex the value of a will be redirected to the webform1
      and the value can be retrieved there by using request.query string like


      ---request.queryst ring["a"]

      follow this for all the forms which u want to navigate in the project.

      Comment

      Working...