dncdude

Stories submitted by dncdude

Overview of .NET 4.0 features – ASP.NET 4.0 ClientIDMode(dotnetcube.com)

submitted by dncdudedncdude(1350) 3 years ago

In pre 4.0 days, when a server control is rendered, the framework would assign an ID to the control based on the control hierarchy. For example, a textbox of id "txtTest" in a user control that is used on a page would be rendered with the ID "WebUserControl11_txtTest". Developers could use the ClientID property (ex: txtTest.ClientID) in the code behind to retrieve the ID assigned to the control by the framework. It was essential for the framework to assign the IDs this way to maintain uniqueness of the IDs on a page. In the prior example, the User Control that inherits from the System.Web.UI.UserControl implements the INamingContainer interface. Any control (either custom or a .NET control) that implements this interface would ensure unique naming scope for the child controls. read more...

2 comments |category: |Views: 612

tags: another

Rarely used C# Keywords(dotnetcube.com)

submitted by dncdudedncdude(1350) 3 years ago

When doing code reviews or when working with code that was developed by someone else, once in a while I come across keywords that are rarely used. Some of them are forgotten keywords that are not considered a good practice and hence are not promoted by the community. Some of them could be handy and efficient but they never made it to the limelight. read more...

4 comments |category: |Views: 1245

tags: another

Using Flags Enumeration Type in C#(dotnetcube.com)

submitted by dncdudedncdude(1350) 3 years ago

Flags Enum types are a convenient way of storing multiple enumerated values. This article discusses defining and using Flags enums read more...

add a comment |category: |Views: 64

tags: another

Top 5 SQL System stored procedures every developer should know(dotnetcube.com)

submitted by dncdudedncdude(1350) 3 years ago

There are a number of documented and undocumented system stored procedures in MS SQL Server that are helpful for every web developer working with databases. From the developer’s perspective, here’s a list of 5 System stored procedures that are my favorite. read more...

1 comment |category: |Views: 1037

tags: another

Getting started with JQuery in ASP.NET(dotnetcube.com)

submitted by dncdudedncdude(1350) 3 years ago

This is a beginners article on getting started with JQuery. Focusses on JQuery selectors with simple examples. read more...

add a comment |category: |Views: 24

tags: another