Hi,
I have just updated to the Q1 2008 release of both ASP.NET Ajax and ASP.Net toolset. I am going through a number of pages trying to update existing ASP.NET controls to ASP.NET Ajax controls and have succeeded with most, but the ComboBox is giving me a problem.
I have an Object datasource on a page (called dsProfession) which returns a simple datatable, and the ASP.NET combobox was linked to this OK. When I change to ASP.NET Ajax combobox it does not like me just putting in the columns names from the Object datasource as it seems to want to validate them.
Is there any work around for this other than manually assigning the values when the page is opened?
The definition of the Combobox is:
and the definition for the Object datasource is:
David Penny
Pillar Software
I have just updated to the Q1 2008 release of both ASP.NET Ajax and ASP.Net toolset. I am going through a number of pages trying to update existing ASP.NET controls to ASP.NET Ajax controls and have succeeded with most, but the ComboBox is giving me a problem.
I have an Object datasource on a page (called dsProfession) which returns a simple datatable, and the ASP.NET combobox was linked to this OK. When I change to ASP.NET Ajax combobox it does not like me just putting in the columns names from the Object datasource as it seems to want to validate them.
Is there any work around for this other than manually assigning the values when the page is opened?
The definition of the Combobox is:
<telerik:RadComboBox ID="ddlProfession" runat="server" |
AppendDataBoundItems="True" DataSourceID="dsProfession" |
DataTextField="Name" DataValueField="GroupRef" |
MarkFirstMatch="True" Skin="WindowsXP" Width="200px" |
AutoPostBack="True" |
ToolTip="Select a Profession for the fee quote line from the drop down list"> |
<Items> |
<telerik:RadComboBoxItem runat="server" Text="NONE" Value="-NONE-" /> |
</Items> |
</telerik:RadComboBox> |
and the definition for the Object datasource is:
<asp:ObjectDataSource ID="dsProfession" runat="server" |
SelectMethod="ListGroup" TypeName="dbGroup2 |
CacheDuration="1800" |
OldValuesParameterFormatString="original_{0}"> |
<SelectParameters> |
<asp:Parameter DefaultValue="false" Name="ShowArchived" Type="Boolean" /> |
</SelectParameters> |
</asp:ObjectDataSource> |
David Penny
Pillar Software