Infragistics Web Controls Integration Complete!
Whew! I finished integrating the following Infragistics Web Controls with MM .NET today:
- UltraChart
- UltraWebGrid
- UltraWebListbar
- UltraWebMenu
- UltraWebTab
- UltraWebToolbar
- UltraWebTree
- WebCalendar
- WebCombo
- WebCurrencyEdit
- WebDateChooser
- WebDateTimeEdit
- WebMaskEdit
- WebNumericEdit
- WebTextEdit
We've implemented the MM .NET data binding, security, and localization interfaces on these controls (where each makes sense). I'm impressed with the look and functionality of these controls. If you haven't checked them out yet I recommend it! It will take me a few days to pull together a release, but if you're a current MM .NET developer and would like an early release send us an e-mail (oakleaf@oakleafsd.com) and we'll get it out to you as soon as it's ready.
Did You Know???
In C# the “is” operator can be used to determine if an object is of a particular type. For example:
public void TestMethod(Control cntrl)
{
if (cntrl is Label)
{
Label lbl = (Label)cntrl;
}
}
Although this works just fine, it isn't efficient because the type of the object is checked twice...once by the “is“ operator and a second time during the cast. The following code which uses the “as” operator is better because the type is only checked once:
public void TestMethod(Control cntrl)
{
Label lbl = cntrl as Label;
if (lbl != null)
{
// Processing code
}
}
If the control is not a label, the “lbl” variable is null.
Kevin McNeish
.NET/C# MVP
www.oakleafsd.com