问题
Heh guys,
I would like to create and deploy an ASP.NET web form on SharePoint server which can create document in SharePoint list (or library). Since I'm not experienced in both these technologies so would appreciate if someone guides me to the right tool. Should I use Visual Studio or SharePoint designer ? Also, I was reading an article on MSDN about "Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder". Is it the best practise or should I go with webpart/solution based deployment?
Rishi
回答1:
Based on your need, custom ListItemEventReceiver is the recommended solution.
If you are going to need an UI & reuse it in some other page, then WebPart is the way to go. Custom application page is the least preferred approach here.
An example here: http://blah.winsmarts.com/2006-7-Sharepoint_2007__List_Events_Practical_Example__Creating_a_rigged_survey.aspx
来源:https://stackoverflow.com/questions/3920535/asp-net-web-form-on-sharepoint