-
Search
-
Archive
June 2012 M T W T F S S « May 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Passing a function as a parameter to a method
I have recently been using D3.js for some HTML5/SVG/Javascript work and suddenly realised how useful passing functions as parameters to methods is. I then thought, well how about C#. Here are some examples …. Continue reading
Posted in SharePoint Leave a comment
Redirect relative to the SharePoint LAYOUTS directory
If you ever need to redirect to a page that resides in the /_layouts/ virtual directory, i.e. the physical directory found in the SharePoint root in {SharePoint Root}\TEMPLATE\LAYOUTS it is possible to do so without hard coding the URL. Use the SPUtility.Redirect method. Continue reading