|
Post by kkbajwa on Sept 27, 2007 7:28:30 GMT -6
I used SharePoint designer to insert a DataView on my page and then dragged my document library onto it to set it as a DataSource. I have enabled “Show insert item links” for my DataView. When I open the page in a browser and use the insert item link to add a new document to the library, it fails without any error message. The SharePoint Designer generates the following code <xsl:when test="$Mode = 'insert'"> <tr> <td class="ms-vb" width="1%" nowrap="nowrap"> <a href="javascript: {ddwrt:GenFireServerEvent('__commit’)}">save</a> </td> </tr> It appears that the above javascript call is not working as expected. Using ddwrt:GenFireServerEvent('__commit;__redirectsource') instead of ddwrt:GenFireServerEvent('__commit’) did not help. Is this a known issue with the DataView webpart’s insert functionality?
|
|
|
Post by agitprop on Oct 3, 2007 1:59:06 GMT -6
I've had this happen to me when I tried to "force" (aka hard code) a Lookup column's value on a custom form. It's also happened to me when I tried to save a document in a library - maybe that's the issue, not the javascript?
|
|