Skip to content Skip to sidebar Skip to footer

How Can I Refresh Only A GridView In A Parent Window With JavaScript?

I have two aspx files for adding/deleting products to/from a sale. islemler.aspx SatisTedarik.aspx I have a GridView in islemler.aspx, this gridView's name is islemlerGridView wh

Solution 1:

I created an UpdatePanel named GridRefreshPanel and I put the grid into that panel and used this

function f2() {
              window.opener.__doPostBack('GridRefreshPanel.ClientID', '');    
              //window.opener.__doPostBack('islemlerGridView.ClientID', ''); //this is also working without GridRefreshPanel 
        } 

Post a Comment for "How Can I Refresh Only A GridView In A Parent Window With JavaScript?"