Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update div of one .aspx page from another .aspx page?

I am new to asp.net and working through a problem set that has two .aspx pages.

Events.aspx:

This is where the site-admin updates the upcoming events and webinars with the help of already available panel like, title of the event,date, information, etc.

index.aspx:

It is my homepage that has a div section on the sidebar where I want those updated events from the Events.aspx to be reflected. It will show only the top four upcoming events.

They will be sorted according to the latest upcoming events to the later ones.

In the future when these events are updated, only the top four upcoming events will be displayed.

How to go about it? Any help would be awesome.

like image 656
Abhishek Avatar asked Dec 29 '25 20:12

Abhishek


1 Answers

You can achieve this by using Simple Events and delegate concept. Publish event from your Event.aspx and you can subscribe that in your Index.aspx page. Delegate will be act as a communication channel between Event and Event handler.

like image 101
Mukesh Rawat Avatar answered Dec 31 '25 10:12

Mukesh Rawat