These control naming conventions may help provide some organization. Visual Studio sets Name properties to defaults for controls, like Label2. Using these conventions it would be something like lblName.
ASP.NET Control Naming Conventions
ASP.NET Control Naming Conventions are prefixed to the name, such as, lblName or rptEmployee.
Control Naming...
To get the below URL Rewrite code to work in IIS, you must first install the URL Rewrite module. The URL Rewrite module is not installed by default. The IIS URL Rewrite module may be a better solution than HTTP Redirect...
The vertical menu knows how far to animate by getting the width of the div it’s located within.
View Demo
The snippet of code below is the html for our vertical menu. Take note of the span tag with class v_item. It is...
As far as I know, this is better for SEO when hiding an element with CSS. I believe it is better than display: none; and/or visibility: hidden;
#thingamabob {
position: absolute;
left: -9999px;
}
CSS Hiding the SEO...
In this post I want to show you how I like to go about creating a state machine. A state machine is usually used (or at least, I use it) for things like the game states (pause, playing, gameover,ecc) or AI...
Javascript browser detection can be useful. This is called user agent sniffing. jQuery had the function “.browser” which would detect the users browser, but it was removed in jQuery version 1.9. They now recommend “.support” for browser feature detection.
*using navigator.userAgent can...
In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following.
In the menu, go to “Tools” > “Options.” Once in options, select the “HTML Designer” Section.
Next, select your default view of choice, Design View, Source View, or Split view.
Click “OK.” Then restart Visual Studio.
Split View - Horizontal or...
There is a function called ispostback in asp.net. However there isn’t one in PHP. You use do it to check if a page is a postback. The snippet of code below will create a PHP ispostback function.
// Determine whether the page...
CSS wildcard or CSS Regular expression? - You may be looking for CSS Attribute Selector.
CSS Attribute Selector - Here’s the scenario: You want to add styling to all elements that...
In this Article we will learn how to create and consume Web Services In Asp.Net and C#.
A Web Service is platform independent software component, based on...
jQuery $(document).ready() is a basic part of using jQuery. The jQuery document ready function executes when the DOM (Document Object Model) is completely loaded...
In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following.
In the menu, go to “Tools” > “Options.” Once in options, select the “HTML Designer” Section.
Next, select your...
This tutorial will show how to use jQuery append. It will also show how to append after and append before. Append actually means to add after. But this will show you how to use jQuery to insert content with...
This tutorial will show you how to make the ASP.NET forms authentication work with SQL Server using the provided ASPNETDB.MDF file. Then it will show you how to properly configure your web.config file to use...
Javascript browser detection can be useful. This is called user agent sniffing. jQuery had the function “.browser” which would detect the users browser, but it was removed in jQuery version 1.9. They now recommend “.support”...
jQuery $(document).ready() is a basic part of using jQuery. The jQuery document ready function executes when the DOM (Document Object Model) is completely loaded in the browser. jQuery document ready is used to initialize jQuery/JavaScript...
Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of caching technology. I said today Cache refers specifically to the ASP.NET...
In the Asp age NetBox can the entire ASP website allinone packaged into an exe, in the case of IIS can run the exe to open the entire site. Asp.Net been no similar products may...
Famous WSH heard? He is the short form of the Windows Script Host, WSH is a Windows platform scripting command, his function is very powerful, and he was using the grammatical structure is simple, easy...
In order to run ASPNETWatchDog, your system must have Microsoft .NET Framework installed. For more information about Microsoft .NET Framework, please visit MSDN .NET web site on http://msdn.microsoft.com/net/ .
This release (V1.0.793) of ASPNETWatchDog has been...
C++ isn’t a simple programming dialect to ace. Just through experience will the horde mixes of images begin to appear to be normal to you. This Cheat Sheet, nonetheless, gives you some strong tips on...
Two of the three javascript window location object methods seem to do the same thing. They do not. The window location methods are assign(), reload(), and replace(). The reload() method...