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. How to retain Data of Main page controls.

How to retain Data of Main page controls.

Scheduled Pinned Locked Moved ASP.NET
csstutorial
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.
  • B Offline
    B Offline
    Binod K
    wrote on last edited by
    #1

    Hi, I have a Main.aspx. I put a Grid control on it. Main page having links of other page. I am sending some value from other page to Main page and adding into Grid. Again I am navigating to other page and sending some more data to Main page to add in Grid.When it load Main page second time, grid becomes empty. You can visualize my Requirment as: I am selecting products from different page and putting it over Main page. Hope my techie friends understood my requirement. Thanks a lot in advance !

    N 1 Reply Last reply
    0
    • B Binod K

      Hi, I have a Main.aspx. I put a Grid control on it. Main page having links of other page. I am sending some value from other page to Main page and adding into Grid. Again I am navigating to other page and sending some more data to Main page to add in Grid.When it load Main page second time, grid becomes empty. You can visualize my Requirment as: I am selecting products from different page and putting it over Main page. Hope my techie friends understood my requirement. Thanks a lot in advance !

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      AFAIK, you are not keeping the grid values anywhere. You can keep the data source of grid view in session and update it when new links are added. Load the data source from session and bind gridview.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      K 1 Reply Last reply
      0
      • N N a v a n e e t h

        AFAIK, you are not keeping the grid values anywhere. You can keep the data source of grid view in session and update it when new links are added. Load the data source from session and bind gridview.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        K Offline
        K Offline
        KANGAROO_
        wrote on last edited by
        #3

        and also check the postback property too......

        manoj Kumar Jha "Learn to smile at every situation. See it as an opportunity to prove your strength and ability."

        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