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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to implement paging in pop up window

How to implement paging in pop up window

Scheduled Pinned Locked Moved C#
tutorialquestion
3 Posts 2 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.
  • J Offline
    J Offline
    JohnyCoder
    wrote on last edited by
    #1

    Hello everyone. At first you might be thinking so what is the big deal in implementing paging. But actually its not that simple. Here is what i have to implement. The main parent window where the user gets the records in a datagrid based on dates params in the following format email - firstName - lastName By click on email a pop up window displays the detail of that record. Its the same concept as master detail. Ok now here is the tricky part. i want to have a prev and next button in the pop up window. So the user can move back and forth to see next or previous record in the pop up window with out closing the pop up and then clicking on the next record in the main parent window to see the detail. Any Ideas Thx

    C 1 Reply Last reply
    0
    • J JohnyCoder

      Hello everyone. At first you might be thinking so what is the big deal in implementing paging. But actually its not that simple. Here is what i have to implement. The main parent window where the user gets the records in a datagrid based on dates params in the following format email - firstName - lastName By click on email a pop up window displays the detail of that record. Its the same concept as master detail. Ok now here is the tricky part. i want to have a prev and next button in the pop up window. So the user can move back and forth to see next or previous record in the pop up window with out closing the pop up and then clicking on the next record in the main parent window to see the detail. Any Ideas Thx

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can use a delegate to get the next id from the main window in your popup.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      J 1 Reply Last reply
      0
      • C Christian Graus

        You can use a delegate to get the next id from the main window in your popup.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        J Offline
        J Offline
        JohnyCoder
        wrote on last edited by
        #3

        Thanks for reply. Can you explain it in a liitle more detail.I would really appreciate if you can direct me to the relevent ariticals or anything that would give more more detailed insight on the problem. Thax

        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