All Things DotNet - Page 5 of 32 - All Things DotNet Discussed - Winforms/ASP.Net/SharePoint/WPFAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

The way I learned (a long time ago ) to hide fields in the New/Edit/Display forms of a list was to create new forms, set them as default and manually go in and remove the fields I wanted hidden. Of course the way to do that is using SharePoint Designer. The problem is that, if someone goes in and adds another column/field to the list, it doesn’t automatically show up in these forms, the way they would have done when using the default ListForm Web Part which is used as default on these forms.

I’ve come across a much easier and a much better way to handle this. The base principle is that with the default ListForm web part, any new fields which are created show up by default. When you need to have certain fields not show, what you can do to keep this functionality is as follows:
Read the rest of this entry »

April 14 , 2014 | | In: SharePoint, SharePoint Tips

Hide Headers in ListView Web Part

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 »

April 10 , 2014 | | In: XAML

Property Binding in XAML without Events

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:

  • Go to Site Actions/Site Permissions.
  • Then, check the box which is to the left of the group you need to edit.
  • In the Ribbon, click the ‘Edit User Permissions’ button (also works for individual users).
  • Adjust the permissions as needed and click the OK button.

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:

February 3 , 2014 | | In: Sharepoint 2010

Error When Deploying a Solution

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 »

February 3 , 2014 | | In: Visual Studio

How to Turn on Line Numbers in Visual Studio

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).


All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936