RSS
people

Why do you want a better data paging method with Asp.Net

This is the first of a series of articles am going to write about Asp.Net 2.0 pagination and how to build a custom digg like numeric pagination control which can be used with DataList, Repeater or any other data bound controls.

NOTE: I haven’t used the .Net 3.5 DataPager control yet, so am not sure if it already addressed the scenarios in the following discussion

The default pagination in Asp.net which comes with GridView is great in terms of developer productivity and ease of use. When use with data source controls it will work without even a single line of code and it is easy to customize by setting simple properties available.

But you may need to think about writing a your own pagination logic when

  1. You need pagination with Datalist or Repeater
  2. You need search engine friendly pagination
  3. You need user friendly pagination
  4. You need clean HTML for the pagination links
  5. You need a pagination strip which will work independent of data bound controls

read more »

2 Comments | Tags: , , , , ,

Showing beautiful message boxes in Asp.Net web forms using JQuery Impromptu

Impromptu is an excellent JQuery plug-in to show beautiful message boxes in web forms. Its is easy to use and can be used to make any kind of message boxes such as alerts, confirm boxes, prompts, popup login boxes, popup input wizards etc

Confirmation message box

Confirmation message box

From their site

JQuery Impromptu is an extension to help provide a more pleasant way to spontaneously prompt a user for input. More or less this is a great replacement for an alert, prompt, and confirm.

Click here to see the DEMO and DOWNLOAD the source

read more »

23 Comments | Tags: , , , , , ,