August 2007 Entries

ListItemCollection.AddRange sets selection to the first item

I have a custom DropDownList derived from System.Web.UI.WebControls.D... And I've noticed that after populating data using ListItemCollection.AddRange Method, the DropDownList.SelectedIndex Property becomes set to 0 from -1. I consider this as an unexpected behavior and have to change it back to -1- unselected. Items.Clear(); Debug.Assert(SelectedIndex == -1); Items.AddRange(cachedItems); Debug.Assert(SelectedIndex == 0);//is it correct ......

Customize remoteoutlook Main Menu

Our company uses remoteoutlook fro MS Small Business Server 2003. It has Main Menu page, which has a few links, including access to SharePoint. We installed new SharePoint 3. on the different server., and I was asked to change links to a new sharepoint site. Outlook doesn't support this kind of customization out-of-the box. It uses ASp.NET web site with client.aspx file, showing Main Menu. But the actual code is compiled into Remote.dll storing in bin folder and is not available for modification(using ......