How to Populate Parent Window GridView Control in Child window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • satyabhaskar
    New Member
    • Dec 2008
    • 32

    How to Populate Parent Window GridView Control in Child window

    hi all,
    how to bind gridview in parent window to the child window using client side java script....actua lly in my main page i have a grid view consisting a report... my problem is to display that grid which consists report in a new window..can any one plz solve my problem
    thanks
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Save the data source for the report in Session.
    Create a new ASPX page that will display the report and add a GridView to the page.
    In that ASPX page, bind the data saved in session to the GridView.

    When you open the new window, call the ASPX page that displays the report.

    You cannot do DataBinding client side. If you want to bind a .NET control to a data source you must do this in your server side code because .NET code exists on the server.

    Comment

    • satyabhaskar
      New Member
      • Dec 2008
      • 32

      #3
      hey thanks boss.. u solved my problem by giving nice guide lines ....thanks a lot..

      Comment

      Working...