Value passing through url

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ammu
    New Member
    • Aug 2011
    • 78

    #1

    Value passing through url

    hi
    I want to get a value passing through url. What i do is i just bind menu and passes a value through url. In Menuitem click event i just write code to get the value.
    Code:
     Protected Sub Menu2_MenuItemClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles Menu2.MenuItemClick
            Label1.Text = Request.QueryString("Category")
        End Sub
    but it is not working. can anybody help me to solve this problem. thank you.
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    Can you define "But it is not working". It would make it much easier to come up with a solution

    Comment

    • Ammu
      New Member
      • Aug 2011
      • 78

      #3
      at run time when i click a link label box simply display "label". but i can see value passing through the url.

      Comment

      • PsychoCoder
        Recognized Expert Contributor
        • Jul 2010
        • 465

        #4
        Show how your URL looks in the address bar

        Comment

        • Ammu
          New Member
          • Aug 2011
          • 78

          #5
          Code:
          http://localhost:2657/samplewebsite/search.aspx?Category=C

          Comment

          Working...