We often need to return data to the call page, below is the basic implementation. Suppose, there are two page selectdate.aspx, calendar.aspx. You need to make a connection in SelectDate.aspx, click Calendar.aspx, then select the date in Calendar.aspx, return the selected date to SelectDate.aspx ( Oh, I don't know if I understand it. I don't have it. Let's take a look at the code. I naturally understand.
Yes, you need a file to use JavaScript script.js =================================== ============================================================================================================================================================================================================= ========== Selectdate.aspx ------------------------------------- --- <% @ page language = "c #" codebehind = "detail.aspx.cs" autoeventwireup = "false" inherits = "caledar.detail"%>