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 open one datgrid in another datagrid

how to open one datgrid in another datagrid

Scheduled Pinned Locked Moved ASP.NET
tutorial
9 Posts 6 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.
  • G Offline
    G Offline
    govindi unal
    wrote on last edited by
    #1

    i want to open another datagrid on the click button of first datagrid

    R C N U A 5 Replies Last reply
    0
    • G govindi unal

      i want to open another datagrid on the click button of first datagrid

      R Offline
      R Offline
      Ramkithepower
      wrote on last edited by
      #2

      do you want to open the datagrid in another page or ...?

      Jack Sparrow -------------------------------------- Defeat is not the worst of failures. Not to have tried is the true failure.

      G 1 Reply Last reply
      0
      • R Ramkithepower

        do you want to open the datagrid in another page or ...?

        Jack Sparrow -------------------------------------- Defeat is not the worst of failures. Not to have tried is the true failure.

        G Offline
        G Offline
        govindi unal
        wrote on last edited by
        #3

        no i want to open in the same page

        1 Reply Last reply
        0
        • G govindi unal

          i want to open another datagrid on the click button of first datagrid

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

          Do you mean nested, or further down the page ? If you want to open number 2 based on what number 1 selects, then you need to use AJAX. If you want them nested, you probably need to use repeaters to lay out your controls.

          Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

          G 1 Reply Last reply
          0
          • C Christian Graus

            Do you mean nested, or further down the page ? If you want to open number 2 based on what number 1 selects, then you need to use AJAX. If you want them nested, you probably need to use repeaters to lay out your controls.

            Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

            G Offline
            G Offline
            govindi unal
            wrote on last edited by
            #5

            i have two columns in the datagrid and clicking on the button column of the datagrid i want to open second datagrid

            C 1 Reply Last reply
            0
            • G govindi unal

              i have two columns in the datagrid and clicking on the button column of the datagrid i want to open second datagrid

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

              You've restated your need, without answering any quesitons or adding any information. My answer, therefore, remains the same. You can do a postback, or you can use AJAX.

              Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

              1 Reply Last reply
              0
              • G govindi unal

                i want to open another datagrid on the click button of first datagrid

                N Offline
                N Offline
                Nishant Singh
                wrote on last edited by
                #7

                Put the nested Datagrid in a template column of the main datagrid , use divs to display/Hide Datagrid on click of the button

                1 Reply Last reply
                0
                • G govindi unal

                  i want to open another datagrid on the click button of first datagrid

                  U Offline
                  U Offline
                  Uma J
                  wrote on last edited by
                  #8

                  just put a multi view and when u click the button in a Grid send the primary key to the select query and display the view(that is your 2nd data view)

                  1 Reply Last reply
                  0
                  • G govindi unal

                    i want to open another datagrid on the click button of first datagrid

                    A Offline
                    A Offline
                    Anil Chauhan
                    wrote on last edited by
                    #9

                    Dear govindi, There are two way to put grid on the page. First is that you can put it into the another grid (Nested grid). and the another one is that you put seperate grid on the page. In nested grid you hv to bind the second grid in rowdatabound event. Let me know if u want another clearficitation. _Anil

                    jhgdgf

                    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