In a previous article I wrote how one could export a Datatable to an excel file. The provided function binded a DataGrid control to the Datatable and rendered it. The result was then flushed to the Response. One disadvantage of this approach is that … [Continue reading]
Clearing HTML tags and MS Word tags from text
It's a pretty common need for web developers to get the plain text from HTML text. Also, there are cases where users paste text from MS Word. In this article I will post a few simple functions that help me manipulate text that contains HTML and MS … [Continue reading]
The case of the 500-mile email
Here's a problem that *sounded* impossible... I almost regret posting the story to a wide audience, because it makes a great tale over drinks at a conference. :-) The story is slightly altered in order to protect the guilty, elide over irrelevant and … [Continue reading]
ASP.NET and Ajax. All about update panels, web methods, page methods and jQuery
In modern web applications is expected that the implementation is more JavaScript based, so that its users have a more interactive experience. ASP.NET provides a few ways to the programmer to perform asynchronous requests to the web server. In this … [Continue reading]
jSmooth – A jQuery plugin
jSmooth is a jQuery plugin which allows you to have a smooth scrolling effect when you are in the same page and navigation is implemented with #anchors. It optionally adds a back button so that the user can return to its starting place and click … [Continue reading]
Using generics to override static methods
There are cases where the design of an abstract class requires that some static properties should be changed by the child classes (using the new keyword) where as the static functions remained the same. While testing, I realized that the static … [Continue reading]
HTML5 form validation
HTML5 and ccs3 are a really loud buzz in web design for quite some time. The new features can be really powerful tools in a developer's arsenal. This technology can also be used in all sort of mobile devices. All modern devices have browsers that … [Continue reading]
Handling server errors in asp.net
When we have a web application in production, there are times where some things go wrong and we have errors. By default we will get the "Yellow Screen of Death". When the application runs in localhost, a lot of information comes up that is useful to … [Continue reading]
- « Previous Page
- 1
- …
- 3
- 4
- 5
- 6
- 7
- 8
- Next Page »