Don’t depend on intellisense

Recently I was working with a FormView control which contains several textboxes and a dropdownlist.

I wanted to use databinding to be able to easily insert new entries in a database, but I couldn’ figure out how to databind the dropdownlist.

In an example I read about the "selectedValue" property but intellisense didn’t show that one.

<asp:DropDownList selectedValue=’<%# Bind("CategoryId") %> ID="ddNewsCategory" runat="server" DataSourceID="odsCategory" DataTextField="Title" DataValueField="CategoryId" />

I tried it anyway and it worked! 🙂

When I tried to submit the bug in Visual Studio 2005 professional I found out that someone else already submitted the bug in november 2004 (that was in an express edition) !

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta