Hallo,
I´m using a radcombobox together with an objectdatasource. The combobox is placed within the edititemtemplate of a formview. The objectdatasource has "enablecaching", the combobox "EnableItemCaching" set to true.
But everytime I switch formview to editmode there is access to my database. How can I achieve, that the item data of the combobox are only read once from my db using caching mechanism of objectdatasource.
Thank´s for your help.
Robert
I´m using a radcombobox together with an objectdatasource. The combobox is placed within the edititemtemplate of a formview. The objectdatasource has "enablecaching", the combobox "EnableItemCaching" set to true.
<asp:ObjectDataSource ID="ODS_Country" runat="server" EnableCaching="True"
SelectMethod="GetData"
TypeName="Telerik.DataSet1TableAdapters.REF_CountryTableAdapter">
</asp:ObjectDataSource>
<telerik:RadComboBox ID="rcb_Country" Runat="server"
DataSourceID="ODS_Country"
DataTextField="Country" DataValueField="OID"
EnableItemCaching="True" >
</telerik:RadComboBox>
But everytime I switch formview to editmode there is access to my database. How can I achieve, that the item data of the combobox are only read once from my db using caching mechanism of objectdatasource.
Thank´s for your help.
Robert