Thursday, October 31, 2013
SharePoint Browser File Handling
Browser file handling in sharepoint prevents the web browser from diplaying a html file directly and instead shows a download prompt ... more information can be found here:
http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-2010-and-2013-browser-file-handling-deep-dive.aspx
http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-2010-and-2013-browser-file-handling-deep-dive.aspx
Wednesday, October 30, 2013
Scaling div size with background image whilst keeping aspect ratio
The easiest way is to use below style for the div
A more detailed approach is listed in this post
<div class="divImage"
style='<%#
"background: url(\""
+ DataBinder.Eval(Container.DataItem, "divImage") + "\")
no-repeat center
center; background-size:
cover;" %>'></div>
A more detailed approach is listed in this post
Monday, October 28, 2013
Tuesday, October 15, 2013
Sharepoint 2013 Custom Image reditions
While going through this article I found a link to and article on custom image renditions in SharePoint 2013, its certainly useful.
http://blog.mastykarz.nl/responsive-image-renditions-sharepoint-2013/
http://blog.mastykarz.nl/responsive-image-renditions-sharepoint-2013/
Windows process explorer
This comes in handy if we need to find out a dlls is being used by which processes. I had to use it when I got an error "cannot access assembly because it is being used by another process" while uninstalling a dll from GAC.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/356913a7-dda7-41a7-8702-f71ec0a8b7db/cannot-add-assembly-to-gac?forum=sharepointdevelopmentlegacy
The reason for "cannot access assembly because it is being used by another process" error was that I has added a reference to this dll in a Visual Studio 2012 project and the project was open. The issue was resolved after I close all instances of visual studio
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/356913a7-dda7-41a7-8702-f71ec0a8b7db/cannot-add-assembly-to-gac?forum=sharepointdevelopmentlegacy
The reason for "cannot access assembly because it is being used by another process" error was that I has added a reference to this dll in a Visual Studio 2012 project and the project was open. The issue was resolved after I close all instances of visual studio
Subscribe to:
Posts (Atom)
Regex Email validation in c# dot net core
Use this regex /^_?[a-zA-Z0-9]([a-zA-Z0-9]*[._+-])*[a-zA-Z0-9_]+@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*\.[A-...
-
To download a file from web api 2 controller method, the approach described in this article works well: http://stackoverflow.com/question...
-
If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...
-
SPList.count performance issues http://www.loisandclark.eu/Pages/Velocity.aspx