O
O
one__for__one2016-12-01 11:34:44
ASP.NET
one__for__one, 2016-12-01 11:34:44

How to update the grid from another page?

Hello.
ASP.NET Web Forms
Two pages, they are not frames.
On the first - grid, on the second - the button. On clicking the button on the second page, it is required that the grid on the first page is updated.


I thought to implement it via ajax:
By clicking on the button, asynchronously call the post method on the first page of databind () in the grid.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Nemiro, 2016-12-01
@AlekseyNemiro

If the page/window with the button is created using JavaScript , then you can send a direct request to the parent window (via window.parent ). If not, then probably with AJAX or use SignalR , which will be easier / closer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question