Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Creating Custom Properties for Visual Web Part in Visual Studio 2012

$
0
0

Dear All

I am creating a visual web part in Visual Studio 2012 for SharePoint and I would like to create and use a custom property.

I have read loads of articles about how to do this but they all seem to refer to opening the .cs or .vb file within your project and adding the code for the custom property there but I don't have these files in my project. I've seen screenshots of this too and my files definitely look different.

All I have is an .ascx file and associated .ascx.vb file, a .webpart file and an .xml file.

Please can you help me?

Thank you

Daniel


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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