Author: adilahmedmd@gmail.com | Posted on: 3/9/2010 7:24:07 AM | Views : 700

Hi
I have a gridview  binded with  data and i am providing to user edit command button
in gridview s row command event  i opened the new page in modal popup to edit the  selected id record
and  after modify i close the popup  here i want to refresh gridview with updated data


here is the code i used to  open editdocument page in modal popup from gridview row command event

Dim webLink As String = "EditDocument.aspx?ID=" & gv.DataKeys(Item_ID).Values(0) & "&Mode=" & 1
        ScriptManager.RegisterStartupScript(Me, GetType(String), " Done", "window.open( '" & webLink & "', '','resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no, height=580px, width=480px,left=350px,top=100px' );", True)


...

Go to the complete details ...