Last post Nov 14, 2013 11:36 PM by itsjp
Nov 14, 2013 12:41 AM|rareach|LINK
I am getting this error when I change master page Control's Style in the content page.
Please advise me on how to resolve it
Nov 14, 2013 11:36 PM|itsjp|LINK
On master page :
Public Function LabelReference() As Label
' Create a reference to an actual label on the page
LabelReference = lblTrial
On Content page source code:
<%@ MasterType VirtualPath ="~/UserMasterPage.master" %>
On content page Code behind
Master.LabelTab.CssClass = "your new style class"
Hope it helps.
If it helps, please mark this as answer