Sharepoint 2007 Standard: Customizing Announcement Display Form
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
Solution 1:
I usually just hide the form control and add a custom one to the same page, this is the least buggy way
Solution 2:
Never delete the default list form in a SharePoint list. See Link on how to recover.