I created a very simple user control which contains lable and drag the
control to page
<%@ Page language="c#" Codebehind="Val idate.aspx.cs" AutoEventWireup ="false"
Inherits="Learn ing.Validate" %>
<%@ Register TagPrefix="uc1" TagName="GroupF ilesManager"
Src="GroupFiles Manager.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Validate </title>
<meta content="Micros oft Visual Studio .NET 7.1" name="GENERATOR ">
<meta content="C#" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form id="Form1" method="post" runat="server">
<uc1:GroupFiles Manager id="oGroupFiles Manager"
runat="server"> </uc1:GroupFilesM anager></form>
</body>
</HTML>
in cs file i define the control object as GroupFileManage r oGroupFilesMana ger;
but when try to use a function in
oGroupFilesMana ger it null??? why