mikekick

Stories kicked by mikekick

A String.Format Alternative for Using Named Variables Instead of Numbe(www2.zdo.com)

submitted by cinarcinar(80) 4 years, 6 months ago

StringHelper.NamedFormat is a String.Format alternative which will let you use names instead of numbers in your string templates. read more...

add a comment |category: |Views: 17

tags: another

Dynamic Custom Form Buttons With CSS(wakeim.com)

submitted by mikekickmikekick(15) 4 years, 6 months ago

Our users like pretty, usually round, buttons on the page. And the solution for sometime was (and still is) a predefined image created in your favourite graphics application that also had the caption of the button. All is fine except when you want to reuse the same button with a different text (especially in a multi language), when you have to draw another image that has only the text changed. The technique presented in this article shows an alternative and modern way to the "old" one. read more...

add a comment |category: |Views: 368

tags: another

Some SELECTs will never return 0 results -- regardless of the criteria(weblogs.sqlteam.com)

submitted by jimrice14jimrice14(880) 4 years, 6 months ago

In SQL, the general rule of thumb is that the number of rows returned from a SELECT will be zero if your criteria did not match any data. However, there is an important exception to this rule; it does not apply when asking for aggregate calculations such as SUM(), MIN() or MAX(), without any grouping. This is rather interesting and important to know and look out for, as it can cause some confusion and recently some of my ASP.NET code failed due to this. Let's take a look. read more...

add a comment |category: |Views: 1

tags: another

Create elegant code with Action delegate and List.ForEach method(dotnettipoftheday.org)

submitted by manovichmanovich(755) 4 years, 6 months ago

Small example of how to use Action delegate to perform some action on all elements of a collection. read more...

9 comments |category: |Views: 645

tags: another

URL Rewriting in ASP.NET without using HTTPHandlers or ISAPI.(codeeleven.blogspot.com)

submitted by FlySwatFlySwat(485) 4 years, 6 months ago

How to perform URL Rewriting by writing a custom HTTPModule. This technique even works on shared hosting plans. read more...

1 comment |category: |Views: 61

tags: another

Custom Authentication with Community Server(jesschadwick.blogspot.com)

submitted by jesschadwickjesschadwick(20) 4 years, 6 months ago

Describes how to handle cookie timeout and authentication issues with Telligent's NNTP and SSO modules. read more...

add a comment |category: |Views: 24

tags: another

Escape from the tyranny of the Asp.Net form(wakeim.com)

submitted by mikekickmikekick(15) 4 years, 6 months ago

A solution to get rid of the mandatory form and the viewstate while retaining some of the goodies associated with it. Developed while struggling to have postback capability by using jQuery ajax posting. read more...

add a comment |category: |Views: 8

tags: another

Building a File Path with Path.Combine (.NET)(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 4 years, 6 months ago

When using a variety of input methods to accept a file path and file name, the format of the results can vary. To avoid the problems of checking for path separator characters and adding or removing them as required, .NET provides a method to provide this. read more...

1 comment |category: |Views: 10

tags: another

Fixing BlogEngine HTML Editor Problem(surinder.computing-studio.com)

submitted by surindersurinder(119) 4 years, 6 months ago

When submitting posts the BlogEngine HTML Editor removes certain HTML tags. This post shows how a quick way to fix this problem. read more...

1 comment |category: |Views: 53

tags: another

The uncommon features of C#.(blog.dotnetclr.com)

submitted by rawsoftrawsoft(430) 4 years, 6 months ago

A quick and dirty post about the few keywords & statements that developers rarely use. read more...

3 comments |category: |Views: 5

tags: another

Refactoring: Replacing Enums with the Strategy Pattern(jeremyjarrell.com)

submitted by jeremyjarrelljeremyjarrell(2685) 4 years, 6 months ago

Here's a simple way to remove all of those ugly switch statements and enums and to buy yourself a little more flexibility and testability as an added bonus! read more...

2 comments |category: |Views: 183

tags: another

Implementing a jQuery-Calendar ASP.NET Control(west-wind.com)

submitted by rstrahlrstrahl(7226) 4 years, 7 months ago

I've posted a wrapper ASP.NET around the jQuery-calendar control from Marc Garbanski. This small client side calendar control is compact, looks nice and is very easy to use and I've added an ASP.NET wrapper around it so it can more easily be more easily used with ASP.NET applications by dragging and dropping onto a form and supporting postbacks of the SelectedDate. read more...

2 comments |category: |Views: 768

tags: another