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

Error Parameter in EditForm.aspx?

$
0
0

Hi there,

I'm searching for a possibility to pass a specific (error) text to the editform.aspx from a document library via the URL.

Example:

properties.RedirectUrl = @"EditForm.aspx?" 
                                                + "Mode=Upload"
                                                + "&CheckInComment="
                                                + "&ID=" + properties.ListItem.ID
                                                + "&RootFolder=%2Fsites%2FSuppliers%2FLists%2FDocument%20Center"
                                                + "&IsDlg=1"
                                                + "&ContentTypeId=" + properties.ListItem.ContentType.Id
                                                + "&IsDlg=1";

Is there a Parameter for displaying an error message like error=youdidsomethingwrong? 

I know, I could create a new (own) editform.aspx, but isn't there a standard parameter in the URL I could use?

Thanks in advance.

Dennis




Viewing all articles
Browse latest Browse all 11508

Trending Articles



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