Casual ideas for web development

Tips and tricks on ASP.Net development

20 Apr 2010
Two facts you may not know about storing ASP.Net Session in SQL DB
If saving of large objects in the Session in InProc mode is bad practice then doing the same in SQLServer mode is real evil...

14th Mar 2009
How to merge GridView rows if cells contain equal values
There are a lot of methods in the Internet solving the problem of how to merge GridView rows if neighbour cells show equal values. My approach is not the first; however, I think, it is rather universal and very short - less than 20 lines of code ...

4th Jun 2008
Charts: let Google work for you
I can't class myself as an developer who is always hip to the latest news in the software industry, partly through laziness and partly through necessity to write code, and not merely to surf the Internet :) Because of this I missed appearance of the very cute and handy service from Google, which allowed to integrate charts into the web pages. For the time being it is only half a year old as far as I can judge by the date of the first record in the discussion group, therefore I think this information can be interesting for someone else besides me. ...

6th Apr 2008 	
One of the most visited pages
How to use standard FileUpload in AJAX-enabled web applications
I would like to note that this article is not about ability to upload files to the server without the postback. There are a lot of articles on this topic, just type "AJAX FileUpload" on any search engine and you'll get many examples. However with AJAX they actually have little in common ...

14th Mar 2008
Simultaneous selection(deselection) all checkboxes in a GridView column
If you are using checkboxes in GridView in order to select a few rows, then, no doubt, you have been faced with the task how to select/deselect all checkboxes in a selected column at a time. Usually it is solved by addition of special buttons somewhere or addition a checkbox in the GridView column header ...

14th Nov 2007
Wow! Just discovered that my site Google Page Rank moved off the ground and now equaled to ...

14th Nov 2007
Dynamic Rounded Panel 	
One of the most visited pages
This is another variant of the rounded panel creation, that uses images to present curved corners. To be more precise, the only image is used, the one that is build based on the specified circle radius, the background color, the border color and width ...

27th Sep 2007
How to avoid unexpected postback after pressing Enter in textbox
You fill a form with many input fields. After filling first textbox you mechanically press Enter and see that the page are submitted to the server ...

4th Sep 2007
How to register stylesheet created in runtime
Page.Header.StyleSheet.CreateStyleRule method allows to register styles in runtime but has an essential limitation ...

20th Aug 2007
JavaScript Quiz
JavaScript fundamentals: syntax, operators, built-in JavaScript objects. The quiz is designed for primary and secondary level.

25th Jul 2007
How to add additional element(DropDownList) in GridView pager without using PagerTemplate.
Sometimes built-in paging completely meet all needs but a little modification is reduired, for example, the ability to change page size in runtime ...

17th Jul 2007
Rounded panel without images
Panels with rounded borders are widely used in the web site design. So widely that it is hard to add something new. I just try to wrap some existing ideas in the form of web control ...

24th Jun 2007
Advanced Image-Based Bot Detector is a variant of Image-Based Bot Detector that uses unique nonrecurring template background image. The image is fetched from Google image search results in a random way ...

24 Jun 2007
First version of the Image-Based Bot Detector is available for free downloading.

6th Jun 2007 	
One of the most visited pages
Merging columns in GridView header.
As necessity to show header columns in a few rows occurs fairly often it would be good to have such functionality in the GridView control as an in-built feature. But meanwhile everyone solves this problem in his own way ...

29th May 2007
Flaw in GridView pager.
For unknown reason GridView pager in Numeric and NumericFirstLast modes does not take into consideration values of the PreviousPageText and NextPageText properties from the pager settings ...

20th May 2007 	
One of the most visited pages
Image-Based CAPTCHA.
Why are not the image-based CAPTCHAs so widespread as text-based ones?
I do not touch on the contrastive analysis of the possibility to crack them, I want to express my point of view as a web developer. So why? ...

17th Mar 2007
Implementation of paging and sorting for the GridView control that works with the array of the objects.
Fairly often the such data presentation model is used: the array of objects is bound to the GridView control with the predefined columns. Its model is popularized by the DotNetNuke web framework and has the advantage of work with the business objects instead of the nameless rows of the data table ...


About this blog

This is a personal blog of Mykola Tarasyuk, a web developer from Ukraine. It includes articles about ASP.Net, C#, Javascript and anything else that tickles the fancy of the author ...

Top 6 of 2009


All Articles

Locations of visitors to this page
Copyright © Mykola Tarasyuk, 2007-2010