• .NET

    Ultimate .NET Credit Card Utility Class

    Have you ever thought about processing credit cards in your .NET application? If you have, then you know one of the first things you need to do is find some code to validate that credit card numbers entered by your users appear correct before you send them along to your payment processor. Having created applications in the past that process credit cards, I know that this task can be surprisingly harder than it should be. There are plenty of code snippets scattered across the 'Nets that show you how to do individual parts of the validating process, but there are few...
    August 30, 2007
  • .NET

    How to: Create RadRotator Programmatically

    It recently came to my attention that there is no good documentation on the Telerik website showing you how to create a RadRotator (with a defined template) programmatically. There is some documentation out there showing you how to programmatically data bind a RadTicker, and the RadControls Learning Guide has some good guidance, but nothing exists online for easy Rotator reference. Let's solve that problem and take a quick look at how you can programmatically create your RadRotator and template. Step 1: Define your template. Defining a template for RadRotator in code is very similar to the process involved in programmatically creating a template...
    August 27, 2007
  • .NET

    XhtmlPage: What does it do?

    Have you ever been working with the Telerik Quickstart examples and wondered why all of the demo pages inherit from XhtmlPage instead of System.Web.UI.Page? Even if you guess that this custom base page somehow ensures that all rendered demo pages are XHTML valid, have you ever wondered how the base page manages to deliver that functionality? In this post, we’ll take a close look at the XhtmlPage class and see what it’s doing to deliver easy XHTML validity. The lessons learned from this class can easily be applied to your own custom page classes and used to make your web...
    August 14, 2007
  • .NET

    RadControls on iPhone: Part 3

    In our final look at the RadControls for ASP.NET running on an iPhone, we'll look at RadSplitter, RadTabStrip, RadToolBar, RadTreeView, RadUpload, and RadWindow. In the first two installments of this series we looked at the other 12 RadControls running on the phone and found most of them to be usable or semi-usable. So far, only RadEditor has earned an unusable rating on the iPhone's mobile Safari. Today we'll pass judgment on the remaining RadControls and then create a quick summary chart that you can reference during your future iPhone development. So without further delay, here's how the final six controls fared: RadSplitter: Semi-usable RadSplitter on an...
  • .NET

    RadControls on iPhone: Part 2

    In part one of this three part series, we looked at RadAjax, RadCalendar, RadChart, RadCombobox, RadDock, and RadEditor running on the iPhone. We found most of those controls run relatively well on the iPhone with the exception of RadEditor. In this second installment, we'll look at another batch of RadControls and pass judgment on their usability. Each control will be deemed either usable, semi-usable, or unusable on the iPhone so that you can quickly tweak your applications (or build new ones) for iPhone users. Today's lucky controls are RadGrid, RadInput, RadMenu, RadPanelbar, RadRotator, and RadSpell. During all of my tests with these controls, the...