dc

dc

  • NA
  • 663
  • 0

master page error message

Aug 27 2016 10:00 AM
In a vb.net 2010 web form application, I have the start of code for a master page listed below:
#Region "Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load"
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
_master = CType(Page.Master, MasterPage)
_master.PageTitle = "Attendance"
In the master page, there is an area to display error messages. When I have decided to place an
error message in the master page, I have made a call to a (static) shared function from an ajax call
to obtain data from the sql server database. The ajax call is made from a javascript function.
Thus can you tell me if there is away that I can access the error section of the of the master page?
Basically I need to have the master page with scope to access.
Thus can you tell me if this is possbile and/or show me the code on how to solve my problem?

Answers (1)