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. Page Object

Page Object

Scheduled Pinned Locked Moved ASP.NET
question
3 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.
  • N Offline
    N Offline
    nitin_ion
    wrote on last edited by
    #1

    I have two pages Page1 Page2 Page1 has a button and Page2 has a textbox Now if i fill some value in Page2's textbox and i want to access that value on Page1's button click can i do that. and How? I know about passing through sessions but i want to use object of Page2 Something like this Dim objPG2 as New Page2 opbjPG2.Textbox1.text

    M M 2 Replies Last reply
    0
    • N nitin_ion

      I have two pages Page1 Page2 Page1 has a button and Page2 has a textbox Now if i fill some value in Page2's textbox and i want to access that value on Page1's button click can i do that. and How? I know about passing through sessions but i want to use object of Page2 Something like this Dim objPG2 as New Page2 opbjPG2.Textbox1.text

      M Offline
      M Offline
      mikailcetinkaya
      wrote on last edited by
      #2

      you can cache the whole page like Cache["Page2"]=this; and take it back page2=(Pageobj)cache["Page2"]; Mikail Çetinkaya . The C# DEveloper

      1 Reply Last reply
      0
      • N nitin_ion

        I have two pages Page1 Page2 Page1 has a button and Page2 has a textbox Now if i fill some value in Page2's textbox and i want to access that value on Page1's button click can i do that. and How? I know about passing through sessions but i want to use object of Page2 Something like this Dim objPG2 as New Page2 opbjPG2.Textbox1.text

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        I'm not sure about what you might want to do, but you might have a look at the link: http://msdn2.microsoft.com/en-us/library/6c3yckfw.aspx[^] or http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskpassingvaluesbetweenwebformspages.asp[^]

        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