Which is the better approach in custom pages ?

Posted by Mina Samy on Stack Overflow See other posts from Stack Overflow or by Mina Samy
Published on 2010-03-28T21:27:13Z Indexed on 2010/03/29 19:03 UTC
Read the original article Hit count: 440

Filed under:

Hi all

I want to create a custom new item page for sharepoint but there are two approached that I

can use and I want to share your experience in determining which is better.

The first: is to create a page in a library then create a C# library project to handle

the events of the controls on the page.

The second: is to define a feature of the content type of my list and specify the new

item form to be my custom form, then create a website containing the custom form and put

this site at the layouts folder.

for me the first approach is fine but the problem is that a user may access the default

sharepoint new item form which I don't want to happen.

but I don't like the idea of placing the form in a library on the site.

so which is better in your opinion ?

thanks

© Stack Overflow or respective owner

Related posts about sharepoint