I'm trying to call a master page function from a content page and it works fine until I try to get a value from any of the controls on the master page. If I try to declare the control with findcontrol, it returns nothing, otherwise I get: "Object reference
not set to an instance of an object."
Master ASPX:
<%@ Master Language="VB" AutoEventWireup="false" CodeFile="Example.master.vb" Inherits="Example_Master" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<asp:ContentPlaceHolder ID="HeadContent" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form i ...
Go to the complete details ...