hi,
I have 2 pages. Form1 is Grid page to show the data. Form 2 popup page which popup when a add button clicked in Form1 or click a particular data in the Grid for edit. The Form 2 have a Toolbar which have save and close button. The close button is for cancel so use java script to just close the window (Client click event of toolbar). This is fine. For save button i have server side event which saves the entered data in to the database and close the window and rebind the form 1 grid to update the new data. In the server side event i user Registerstartup script to call the javascript method to close and rebind the grid. This is working fine when i not used ajax. Now i enabled ajax for toolbar. Now when i click in save button data is saving but window is not closing. Can anyone help me?
I have 2 pages. Form1 is Grid page to show the data. Form 2 popup page which popup when a add button clicked in Form1 or click a particular data in the Grid for edit. The Form 2 have a Toolbar which have save and close button. The close button is for cancel so use java script to just close the window (Client click event of toolbar). This is fine. For save button i have server side event which saves the entered data in to the database and close the window and rebind the form 1 grid to update the new data. In the server side event i user Registerstartup script to call the javascript method to close and rebind the grid. This is working fine when i not used ajax. Now i enabled ajax for toolbar. Now when i click in save button data is saving but window is not closing. Can anyone help me?