0
votes

I am trying to customize the DispForm.aspx Display form in an announcement list but as soon as I try to delte the WebPart and add the new Custom form using SharePoint Desginer 2007, the link to view an item on the list goes to root.

Example the correct URL for the item is:
http://serverx/Site1/Lists/Announcements/DispForm.aspx?ID=2&Source=serverx%2FSit1%2FLists%2FAnnouncements%2FAllItems%2Easpx

After I edit the aspx page it goes here:
http://serverx/?ID=2

I followed the instructionsshown here:
http://www.risetime.com/blog/archive/2009/06/03/create-a-custom-newform-aspx-for-a-sharepoint-list.aspx

3

3 Answers

1
votes

I usually just hide the form control and add a custom one to the same page, this is the least buggy way

1
votes

Never delete the default list form in a SharePoint list. See http://blogs.msdn.com/b/dszabo/archive/2007/02/20/custom-list-newform-aspx-ruined-in-wss-3-0.aspx on how to recover.

0
votes

Are you sure that you followed the step where you right click on DispForm.aspx and click "New from Existing Page"?

Also, after customizing your page, you have to change the properties of the list to use your new DispForm.