Sometimes it may be more artistically prudent to hide the column headers when using SharePoint’s ListView web part. Luckily, it’s very easy using CSS
Read the rest of this entry »
You can either use Events in XAML to change properties or you can bind one object to another directly in the markup.
Read the rest of this entry »
If you don’t pay really close attention to every step during the creation of a group in SharePoint, you’ll probably fall prey to one of the unintentional pitfalls that can happen.
Read the rest of this entry »
As it turns out, this is more simple than you would usually figure. All you do is the following:
Voila! You’re done.
Recently, I ran into a circumstance in which trying to Save as Site Template using the browser did not work for me. It just hung and never finished. So, I started looking for how to do it with PowerShell (SharePoint Management Shell). As it turned out, it’s very simple
Read the rest of this entry »
I’ve done this before, but I really didn’t know what it did a long time ago. Then, recently I had a listview surfacing a list and the site owner asked me to remove the ‘Add New Item’ link at the bottom. I was looking through the properties and it really popped out at me.
Read the rest of this entry »
To download it, go here:
http://www.microsoft.com/en-us/download/details.aspx?id=41650
Every once in a while, especially when you’re in the testing phase, you can deploy a solution with a feature, web part, etc. and, instead of seeing ‘Deployed’ in the Status column, you see a red-colored ‘Error’. At first, you might be baffled, but it’s fairly easy to untangle the mess you are perceiving.
Read the rest of this entry »
I can’t tell you how many times I’ve opened up Visual Studio and, during debugging, I’ve gotten an error referring to a particular line number, only to realize I didn’t have line numbers turned on. Then I have to scramble to remember just where it is to be able to do it.
Just go to Tools/Options in the menu. Then, click on ‘Text Editor’ and then ‘All Languages’. There, you will find a checkbox for Line Numbers. Just select it and you’re good to go (whatever that really means).
I don’t normally add links to code in other sites, but it would be counter-productive to try to create something which was already done very well on another site.
It really irritates me when I either create or use a web part and use a feature to create it only to find out that when it’s removed from the site, the web part remains in the gallery.
Just click here to find the code to make this possible in your own web parts/features:
http://www.theblackknightsings.com/Blog/Post/6/FeatureReceiver-To-Cleanup-WebPart-Files
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF