I write some testing codes to try this and find it works fine.Here are some sample codes for your reference.
<div>
<asp:UpdatePanel ID="upnlFilteredTextBox" runat="server">
<ContentTemplate>
<asp:Repeater ID="FilteredRepeater" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
<asp:Label ID="lblProduct" runat="server" Text='<%#Eval("alias")%>'></asp:Label>
<asp:TextBox ID="TBNumber" runat="server"></asp:TextBox>
<Ajax:FilteredTextBoxExtender ID="FilteredTextBox1" FilterType="Numbers" runat="server" TargetControlID="TBNumber"></Ajax:FilteredTextBoxExtender>
</ItemTemplate>
</asp:Repeater>
</ContentTemplate>
<Triggers>
</Triggers>
</asp:UpdatePanel>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:PerformancingConnectionString %>"
SelectCommand="SELECT [userID], [alias], [pwd], [hasForums], [isAdmin], [isDeleted], [remark] FROM [Users]">
</asp:SqlDataSource>
</div>
Besides, try to download the latest Ajax Beta 2?and?Futures?November?CTP?to?check?if?it?works.
Wish the above can give you some helps.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment