Try Now
More in this section


1 posts, 0 answered
  1. tim
    tim avatar
    27 posts
    12 Oct 2010
    16 Dec 2010
    Link to this post

    I am trying to implement the following but its not working and I'm a little stumped. Its probably something trivial that I have missed so any pointers would be helpful


    I am using a stored procedure to populate, but I'm not sure how the value gets put in to the parameter (i *think* thats where its failing)

                     <telerik:RadComboBox ID="RadComboBox1" AutoCompleteSeparator="," AllowCustomText="true" MarkFirstMatch="true" EmptyMessage="Please enter spome text" HighlightTemplatedItems="true" runat="server" EnableLoadOnDemand="true" EnableScreenBoundaryDetection="false" AutoPostBack="true" DataSourceID="SqlDataSource1" DataTextField="NAME1" DataValueField="NAME_ID">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:FooBarConnectionString %>"
        SelectCommand="GET_Names" SelectCommandType="StoredProcedure">
        <SelectParameters> <asp:Parameter Name="pNAME_LIKE" Type="String" /> </SelectParameters>

    if I add a DefaultValue in the Parameter tag it does the query and populates the dropdown but wont query based on the value I type in ??


    sorted it out. used RadComboBoxProduct_ItemsRequested and got rid of query in page
1 posts, 0 answered