This is a migrated thread and some comments may be shown as answers.

Close Issue in Popup Window while Ajax is Enabled

1 Answer 59 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Akhil Raj
Top achievements
Rank 1
Akhil Raj asked on 24 Mar 2013, 03:13 AM
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?

1 Answer, 1 is accepted

Sort by
0
Akhil Raj
Top achievements
Rank 1
answered on 27 Mar 2013, 01:20 AM
I resolved by disable ajax for that particular button. Thanks
Tags
ToolBar
Asked by
Akhil Raj
Top achievements
Rank 1
Answers by
Akhil Raj
Top achievements
Rank 1
Share this question
or