accessing the web user control's control from a web page and set a value from another web page

  • Thread starter Reny J Joseph Thuthikattu
  • Start date
R

Reny J Joseph Thuthikattu

Hi,
I have added a web user control to my project and placed some common
controls over there.In order to access the control from another web page i
registered with it(aspx page) using register tag accessed it.Now i want to
set a value to it in the Page_Init() code of my web page.How do i access it
from my vb page?

Regards

Reny
 
G

Guest

Hi,

Add the code in the codebehind file. If you are using Visual Studio, drag
and drop the user control in the solution explorer to the webform. Create
properties on the user control that expose the properties that you want to
set in the user control. You can access these properties in the webform with
much ease.

Prakash.C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top