I've a RadComboBox inside EditItemTemplate
(NOTE: this code is inside a GridView with <Columns><TemplateField>)
My scope is:
- populate combo with items from SqlDataSourceGiocatori1 (that has a query like select cognome from ....) --> done
- set selected item from SqlDataSource connected to GridView --> not working using Text='<%# Bind... --> not working
If I use, for example, a TextBox and bind Text with Text='<%# Bind("Cognome_sostituto")%>' everything is ok but there's no autocomplete.
The error I get is "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control"
Thanks for your help