Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Master Page and Forms in ASP.net

Master Page and Forms in ASP.net

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-netwinformsalgorithms
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Himanshu Verma
    wrote on last edited by
    #1

    Dear All. I am working on ASP.net 2.0 and using Master Page in which I used one user control and using a text box and button control for searching on the top. The logo.ascx files which used in Master page is as follows:

    Now I want to take the text in the text box to another aspx page please tell me a better suggestion. <%@ previous page> does not works in User Controls. Also I am confused with

    tag how to use it in the Master there is a tag which is mandatory. Then I want to fetch the data of textbox to use as search criteria in my SQL Query. Please help me I have tries all possible ways I can do. But I did not got any proper solution. I need it urgently. Thanks in Advance.

    E P 2 Replies Last reply
    0
    • H Himanshu Verma

      Dear All. I am working on ASP.net 2.0 and using Master Page in which I used one user control and using a text box and button control for searching on the top. The logo.ascx files which used in Master page is as follows:

      Now I want to take the text in the text box to another aspx page please tell me a better suggestion. <%@ previous page> does not works in User Controls. Also I am confused with

      tag how to use it in the Master there is a tag which is mandatory. Then I want to fetch the data of textbox to use as search criteria in my SQL Query. Please help me I have tries all possible ways I can do. But I did not got any proper solution. I need it urgently. Thanks in Advance.

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      You could use querystring or Sessions to do that I think.

      The answers posted by me are suggestions only and cannot be used in anyway against me.

      1 Reply Last reply
      0
      • H Himanshu Verma

        Dear All. I am working on ASP.net 2.0 and using Master Page in which I used one user control and using a text box and button control for searching on the top. The logo.ascx files which used in Master page is as follows:

        Now I want to take the text in the text box to another aspx page please tell me a better suggestion. <%@ previous page> does not works in User Controls. Also I am confused with

        tag how to use it in the Master there is a tag which is mandatory. Then I want to fetch the data of textbox to use as search criteria in my SQL Query. Please help me I have tries all possible ways I can do. But I did not got any proper solution. I need it urgently. Thanks in Advance.

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        You could create a property on your master page to return the text of the text box and then you can reference this using MyMaster. (or something like that - can't remember off the top of my head).

        H 1 Reply Last reply
        0
        • P Paddy Boyd

          You could create a property on your master page to return the text of the text box and then you can reference this using MyMaster. (or something like that - can't remember off the top of my head).

          H Offline
          H Offline
          Himanshu Verma
          wrote on last edited by
          #4

          Please Reply with proper example because I have these things already, creating property on master page, creating simple form without runat tag and previous page property and postback url things but I couldn't make it working so I need an exact working model. Thanks

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups