Hi All, maybe someone can help me with this one.
I have a a public method in my code behind on the site.master pagenamespace PROJECT
public partial class Site : System.Web.UI.MasterPage
protected void Page_Load(object sender, EventArgs e)
public void applyUserRole(string userID)
I wish to call applyUserRole() from Default.aspx
On Default.aspx I have .. <%@ Page Language="C#" MasterPageFile="Site.Master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Project- Home" %>
<%@ MasterType virtualPath="~/Site.master" %>
But when I go to Default.aspx.cs and type
the method is not appearing.
I've seen other post where people are having this issue but I can't find an answer.
If anyone has any good pointer and you please let me know, thanks
View Complete Post