Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

visual webpart properties

$
0
0

I use sharePoint foundation and i have developed a visual webpart using visual studio. Now i would like to add custom properties to my webpart.

I have added a property in the webpart class and i would like to consume the value of this property in the user control class.

the problem is that i have separated the user control from the visual webpart class  i.e   in my visual studio project i  have  created a folder  in which i have put all the user control together and  i put the class webpart together in another folder.

i noticed that when i create property in webpart class , i can't use it in the user control class. 

How to get rid of my problem ? 


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>