All Things DotNet - Page 7 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.
October 12 , 2013 | | In: ASP.Net, ASP.Net Tips, JQuery, MVC

Javascript Library Not Loading

Have you ever had a script tag in your code like this?:

<script type="text/javascript" src="@Url.Content("~/Scripts/myJavascriptLibrary.js")" />

What’s more, did you find that it was not actually loading when the page ran?
Read the rest of this entry »

October 12 , 2013 | | In: Sharepoint 2010

Prevent Spoofing in MVC

One of the areas of internet programming that we, as programmers need to be careful about is spoofing. Spoofing a form is sending data into the web pages from somewhere else – not from the generated form .
Read the rest of this entry »

October 3 , 2013 | | In: Sharepoint 2010, SharePoint 2010 Tips

Deleting SharePoint Groups

At first glance, it might seem difficult to find where you can delete a SharePoint group. Recently, I named a group incorrectly and had to go in and delete it, but for the life of me, I just couldn’t remember where to do it. It didn’t take too long for me to realize that I was in the wrong section in which to accomplish this.
Read the rest of this entry »

If you’re working with content types, and a content hub, then you know you need to publish your content types, so that other sites can use them. To do this, in the settings page for the content type, you must click on the link to ‘Manage publishing for this content type’. Well, what do you do when that link no longer appears.
Read the rest of this entry »

One of the nice things about SharePoint is the ‘Append Changes to Existing Text’ feature. In this, every time you make (let’s say) a new comment (I’ll use the Comments field for this demonstration), it just adds it as a new entry in the Comments, so you don’t take the chance of losing some of the old comments. You do this by checking the checkbox for that particular field which says ‘Append Changes to Existing Text’, with versioning turned on.

Well, the problem comes in when you create new custom forms for your list (Display/Edit/New). If you don’t want all the fields showing in your forms, you must create a new forms, and then remove the rows you don’t need to have showing. And here’s where it really comes in. If you have ‘Append Changes to Existing Text’ turned on, these new forms do not perform correctly and do not show the past entries.

Lucky for us, it’s a fairly easy fix, but it’s just not too intuitive.
Read the rest of this entry »

September 16 , 2013 | | In: ASP.Net, ASP.Net Tips

Error: Operation must use an updateable query

This problem has been around since Classic ASP and is still there, in ASP.Net, when using an Access Database. The problem shows up when trying to update the database, but there is an easy fix.
Read the rest of this entry »

If you are working in SharePoint Management Shell and you get this error message, it probably has more to it, like:
“Verify that the local farm is properly configured….”

Have no fear, it’s a simple solution that will get you back so that you can add your solution, etc.
Read the rest of this entry »

September 2 , 2013 | | In: SharePoint, Sharepoint 2010, SQL Server

PowerView Review

I hate to admit that I’m behind the curve in this area, but I just saw a demonstration of PowerView today and was very impressed.
Read the rest of this entry »

September 2 , 2013 | | In: ASP.Net Tips, MVC, MVC3

Customized Required Message in MVC

Everyone using MVC generally knows about the ‘Required’ attribute for properties in the model. It’s surrounded by square brackets and placed just above the property.

However, what if you want to change the displayed message to more user-friendly text? Well, it turns out that it’s very easy.
Read the rest of this entry »

Let’s say you have a bunch of Content Query Web Parts that someone put on a SharePoint site that you need to maintain. These CQWPs all use various Content Types, and that’s all you have to go on, but you need to find out which lists use those content types.
Read the rest of this entry »


 



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