autocomplete autopostback in RAD Grid

3 posts, 0 answers
  1. Sabyasachi Dechaudhari
    Sabyasachi Dechaudhari avatar
    18 posts
    Member since:
    Jan 2010

    Posted 02 Apr 2010 Link to this post

    <EditItemTemplate> 
                                                            <asp:TextBox ID="txtAdminPhoneNumberEdit" runat="server" text='<%# Bind("Phone")%>' 
                                                            MaxLength="17" width"100%" onkeypress="return isNumericKey(event)"></asp:TextBox> 
                                                            <asp:Label ID="lblPhoneIdEdit" runat="server" Visible="False" text='<% # Bind("PhoneID")%>' 
                                                             CommandName="Update" CommandArgument="Phone Edit" AutoPostBack="true" ontextchanged="txttxtAdminPhoneNumberEdit_TextChanged">                                                          
                                                            </asp:Label> 
                                                            <ajax:AutoCompleteExtender ID="AutoCompleteExtenderDemo" runat="server"   
                                                            TargetControlID="txtAdminPhoneNumberEdit"   
                                                            ServiceMethod="GetCompletionList" MinimumPrefixLength="3" CompletionInterval="1000"            
                                                             EnableCaching="true" CompletionSetCount="20">          
                                                             </ajax:AutoCompleteExtender> 
                                                        </EditItemTemplate>       
    trying to get this auto postbacked, unsucessfull ..any suggestions ?
  2. Bruno
    Bruno avatar
    105 posts
    Member since:
    Mar 2008

    Posted 07 Apr 2010 Link to this post

    Hi

    this is Brunoand am doing project with Telerik

    am notice that your label are autopost-bake and ontextchanged

    you only miss to set the data source to dis label and your ready

    tanks
  3. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 07 Apr 2010 Link to this post

    Hi you,

    To set CommandName and CommandArgument for label is too interesting :) Should this be for missing button, the autopostback is for the textbox probibly.

    Prangadj 
Back to Top