ASP.Net Archives - Page 3 of 10 - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

ASP.Net Category

May 1 , 2013 | | In: JQuery, MVC3, Visual Studio

More Cache Problems with Visual Studio

Recently, I had a problem that only occurred when I debugged my application through Visual Studio. One and only one (out of dozens) of variables became ‘stuck’, if you will. I always got the error message that the variable was undefined. The error remained even when I completely removed the variable and named it something […]

The scenario is this: You have an MVC application which uses the JQuery UI Tabs implementation. Everything is fine until you make a server postback with MVC. The ‘Selected Tab’ resets to zero (the first tab). Have no fear. The solution is not hard at all.

Let’s say you’re adding some newer CSS changes to your site and for some reason, they work fine in Chrome or Firefox, but not showing up like they should in IE10.

March 27 , 2013 | | In: ASP.Net, JQuery, MVC3

Remove Blank Items from MVC Listbox – JQuery

We’ve all experienced it – we’ve populated a listbox and there are blank items. Of course, the best way to fix this is to fix the data. However, let’s say you have a deadline and need to get rid of those blank items first.

if you’re running Visual Studio (for me, it was 2010), and you start debugging your ASP.Net site, and you get the error in the subject line (with your specifics where the dots are), it can be a harrowing experience trying to find the solution.

March 8 , 2013 | | In: MVC3

TextBox vs TextBoxFor in MVC

Using the textbox HTML Helper (HTML.TextBox), what you have is a late-bound object which is populated basically first with the name or id of the textbox on the page. The second parameter (although there are other overloads) is the class object. For instance: Html.Textbox(“CustomerName”, Model.CustomerName) It works the same in both ASP.Net and Razor syntax. […]

March 8 , 2013 | | In: JQuery, MVC3

MVC/Jquery – Characters Left in TextAreaFor

Everyone has seen this before – you are typing away in a TextArea (inside a form) and there’s a little message telling you how many characters you have left before the maximum. It turns out that, using Jquery in MVC, that functionality is very easy to implement.

February 22 , 2013 | | In: ASP.Net, MVC3, Visual Studio

Visual Studio – Page Inspector

I just saw a demo on the Page Inspector inside Visual Studio 2012. This is amazing. When you get a chance check it out. Just right click on the page and view in Page Inspector. You get an ‘F12 Tools’-like interface in which you can check and change CSS and find out whether it’s in […]

If you’re getting the error in the subject line, and it seemed to come out of the blue, there might be a very easy fix to this.

February 4 , 2013 | | In: MVC3, Sharepoint 2010

MVC Webgrid – Format Date Column

As we all know, from developing Web Forms, using a Gridview, when we access a database and retrieve a Date column, sometimes (for me, most of the time) the string we get back isn’t very pretty. It normally has the time included, etc. Of course, for the Gridview, all we had to do was go […]



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