Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Custom NewForm.aspx & Editform.aspx , Ribbon is disabled.

$
0
0

Hi All ,

We have a requirement to Customize the newform.aspx & editform.aspx , for Customization we created Visual webpart for each & deployed to New & edit forms.

Initially we faced  below issue on Postback & Ok  buttonclick

Failed to get value of the "Attachments" column from the "Attachments" field type control.

See details in log. Exception message:

Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)..


to Fix this we added below line using link (http://jeffreypaarhuis.com/2009/06/23/custom-listview-with-attachments/)

<TemplateName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">NoListForm</TemplateName>

which worked fine .

After placing above code ribbon is completely disabled ,as shown in below screen shot.

if we remove above change , ribbon is enabled but we are facing GUID problem again on post back & Ok button click.

Is there anyway to make both(Ribbon Issue & GUID Issue ) of them work.Any suggestions would be helpful.



ragava_28





Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>