tips Posts

  • TIP/Trick: Use DataPager control with ListView and Custom Data Source

    Monday, July 19, 2010

    Paging tabular data retrieved through a database query has been a long time need in transactional line of business applications. With time the ways of achieving this in ASP .NET have evolved into very easy solutions. On the previous version of the framework, .NET framework 3.5 (currently to the date they are now on 4.0) two server-side user controls where introduced, the ListView and the DataPager.

    They idea behind the ListView control is to provide the developer with more control over the markup output while providing the data-bound experience of previous controls. The ListView control displays data based on user defined templates, which is extremely convenient for styling purposes. It also reduces to zero the garbage markup automatically generated by older controls like the GridView.

    The DataPager in the other hand, is product of the decoupling of the paging feature from the data-bound controls that implement the IPageableItemContainer interface. Providing more freedom when it comes to paging customization on regards of functionality and appearance.

    Read more about this blog post. »
  • TIP/Trick: Enable/Disable ASP .NET Ajax TabContainer Tabs

    Tuesday, December 01, 2009

    Space and content distribution is a very important part when designing a web site. That's why breaking content into multiple sections using a tabbed widget in order to save space is a commonly used technique in web design these days.

    Today I'm going to address a common issue that arises when using a tab widget, which is enabling/disabling specific tabs. But first let's talk a little bit about the Ajax Control Toolkit. The Ajax Control Toolkit provides a palette of AJAX enabled controls, with the purpose of creating an "interactive web experience". If you work with ASP .NET, you MUST have heard about ASP .NET AJAX, previously known as ATLAS. You must also have seen and feel familiar with update panels and Microsoft's ASP .NET AJAX paradigm. Certainly the ASP .NET AJAX framework makes AJAX implementation trivial to anyone.

    Read more about this blog post. »

Post Ranking