Did you register user control with the web page??
Do like this :-
1. first create user control
2. create property that return MonthName
public int MonthName
{
get{return DateTime.Now.Month;}
}
3.Now create web Page(.aspx) and register user control.
<![CDATA[<%@ Register Src="~/WebUserControl1.ascx" TagName="UC" TagPrefix="UC" %>
4. Now create Text box and submit button in aspx page.
<UC:UC ID="userControl1" runat="server" />
<asp:Button ID="btnInsert" runat="server" onclick="btnInsert_Click" Text="Submit" />
<br />
<asp:TextBox ID="txtMonth" runat="server"></asp:TextBox>
5. Now on click of button or on page load you can set MonthName in textbox.
protected void btnInsert_Click(object sender, EventArgs e)
{
txtMonth.Text=userControl1.MonthName.ToString();
}
6. Done