SharePoint - how to add .cs and designer page of any .aspx page in feature of share point?

Asked By sushant kumar kesari on 27-Jun-12 03:40 AM
hello frnd

i am creating a feature in share point .
i am added a module and within module 1 .aspx page .
how can i generate a .cs page and .designer page of that .aspx page.

Thanks & regards

Sushant Kumar Kesari

Jitendra Faye replied to sushant kumar kesari on 27-Jun-12 04:17 AM
Refer these links-

http://blogs.msdn.com/b/kaevans/archive/2011/04/02/code-behind-page-layouts-with-visual-studio-2010.aspx
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/c8b4911c-5744-4b32-9423-600614563682/

Visual Studio 2010 does not provide a graphical designer to create a content type, instead you edit an XML file.  Instead of editing the XML file by hand, it is much easier to just create the content type using SharePoint Designer 2010 or the web UI and then export the content type using a tool.