Home  »  Articles  »  ASP.Net  »

How to pass one value from User Control to the Page?

 Posted By : Manoranjan SahooPosted Date : 09/02/2011 02:51:19 PM Category : ASP.Net Points : 5

Hello,

In this article, I am going to show how to pass one value from user control to the calling page. To do so, I need two things.

1. I have to create a user control (.ascx)

2. I have to create one asp.net page (.aspx) .

Here i am going to show one example :

Ex :

Here i am created one usercontrol with name UserControl1.ascx and asp.net page as Default.aspx .

UserControl (UserControl1.ascx) :

 

Responses
No responses found for this thread. Be the first to respond this thread.
Post Reply
Login to post Response.