Tag Info

Hot answers tagged

1

I think the issue is the value your retriving is not getting it at the correct moment first time round. Thats why on the second postback it would get the correct item value and its loaded within the context properly. have you tried calling the method out of the page load event? so at bottom code just do showStatusAlert(); instead. or use this method ...


1

If your form is hosted inn SharePoint, You can use server object model for this But as per your query you can trying to host the page in your asp.net web forms application, so for this you can use client object model: Use following method to upload document: public void UploadDocument(string siteURL, string documentListName, string documentListURL, string ...


1

SharePoint 2013/SharePoint Online In .NET Framework 4 was introduced ClientIDMode property that specifies how ASP.NET generates the ClientID for a control that can be accessed in client script. To summarize, since SharePoint 2013 targets .NET Framework 4, ClientIDMode could be utilized that simplifies the access of control in the client side as ...


1

I did that before, but it was for Sharepoint 2010 (see my blog post). The code I used is the one below. It must be inserted into your masterpage, just before the </head> tag : <script type="text/javascript"> function DefaultUploadOverwriteOff() { if (document.title.indexOf("Upload Document") > -1) { var ...



Only top voted, non community-wiki answers of a minimum length are eligible