User Control Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have UserControl named (AddressBookManagement.ascx)
HTML
<%@ Register TagPrefix="uc1" TagName="AddressBookManagement"
Src="AddressBookManagement.ascx" %>

protected ManagePersonalAddressBook oManagePersonalAddressBook;

on page_load i tried to call a setup function in oManagePersonalAddressBook
but the problem oManagePersonalAddressBook is oManagePersonalAddressBook,,why
the the object is NULL...what should I do?
 
Where have you placed the actual tag in your aspx page? Are you sure you have
the runat="server" attribute set the the <uc1.AddressBookManagement> tag in
you page?
 
Back
Top