Access user control inside asp.net Master Page from child page?

Up vote 0 down vote favorite share g+ share fb share tw.

I'm using Asp.net with Vb and I Have user control and I put it inside My master page I need to access this UC Properties and methods from child Page. Any help please, asp.net usercontrols webforms master-pages link|improve this question edited Dec 25 '11 at 17:34 asked Dec 25 '11 at 17:32Amr Elnashar390118 94% accept rate.

In the child page add this directive: Then, the Master property of the child page will have all the type information.

I already has this directive and I added property at the master page it get and set the UC also Inside child page I can see methods and properties of UC put it gives me an error related to reference. – Amr Elnashar Dec 25 '11 at 17:39 It gives you an error? Perhaps the error message would be helpful and you could share it.

And, you've tested the User Control in a standard page so you know it works..right? – Steve Wellens Dec 25 '11 at 17:57 Here is the error message : error BC30652: Reference required to assembly 'App_Web_transaltedbreadcrumb.ascx. Cdcab7d2.

Padttqug, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'TransaltedBreadCrumb'. Add one to your project. Also yes I tested the User Control in a standard page and its working properly .. – Amr Elnashar Dec 25 '11 at 18:10 Perhaps your user control is based on a class that is in an assembly you haven't added to your project (as a reference).

– Steve Wellens Dec 25 '11 at 3:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions