Using class System.Environment you can get paths of special Windows folders such as Program Files, My Documents and others. The list of available values is stored in enum object Environment.SpecialFolder (Fugure 1).
Using class System.Environment you can get paths of special Windows folders such as Program Files, My Documents and others. The list of available values is stored in enum object Environment.SpecialFolder (Fugure 1).
As a result of experiments with WPF controls I got the error in Visual Studio 2013. I started to look for records in block "using", but it was all right there. (read more...)
Generic handlers have an extension .ASHX. It's a good solution to render documents or images for user on server-side after user requests, not web page. Generic Handlers solution (.ashx files) are not directly supported by Visual Studio 2010 for SharePoint projects. But there's a little trick for this.
When I tried to add html to data for my GridView control, I could only see html code. I could see "<span class="myhtmlclass">my text</span> from SQL request</span>. But I wanted to wrap my content with <span> tags. (read more...)
Once when I started to work over the project which used about 30 SharePoint Lists and their data should be displayed on some interfaces, I decided to use Sandboxed solution. When I started Visual studio and began to write code, everything was fine. No restarting IIS after deploying, I could easily press F5 and not to wait for restarting application pool in 1 or 2 minutes. (read more...)
With coming up Visual studio 2012 finally I decided to try it. But first I need to uninstall Visual Studio 2010. When I entered Control Panel -> Programs and Features I saw a lot of products that have been installed with VS 2010. It was hard to think about uninstalling each element manually. (read more...)