This is a migrated thread and some comments may be shown as answers.

autocomplete autopostback in RAD Grid

2 Answers 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sabyasachi Dechaudhari
Top achievements
Rank 1
Sabyasachi Dechaudhari asked on 02 Apr 2010, 11:16 PM
<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 Answers, 1 is accepted

Sort by
0
Bruno
Top achievements
Rank 2
answered on 07 Apr 2010, 11:40 AM
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
0
Prangadj
Top achievements
Rank 1
answered on 07 Apr 2010, 11:45 AM
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 
Tags
Grid
Asked by
Sabyasachi Dechaudhari
Top achievements
Rank 1
Answers by
Bruno
Top achievements
Rank 2
Prangadj
Top achievements
Rank 1
Share this question
or