Hi,
I have a BulletedList with LinkButton as DisplayType and a PagingBulletedListExtender inside a UpdatePanel.
I recently updated AjaxControlToolkit to the version 15.1, before that it was version 3.
However, after updating the control now looses the page when I click on a link.
For example I click on the page for letter "C" and after that I click on a name.
With version 3 the bulleted list would still contain all names starting with "C".
With version 15.1 it resets the page to first letter ("A" or some number).
The only thing I changed is the AjaxControlToolkit. Can someone verify this behavior and say
wether it's a bug or a feature?
Thank in advance and kind regards
Chris
Comments: Hi, sorry for the late reply. I have a mini project demonstrating the problem, it's fairly simple: Just put a BulletedList with some values inside an UpdatePanel, add BulletListeExtender and a label showing the selected value. Upload does not seem to work, so here is the code: Test.aspx ``` <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test.aspx.vb" Inherits="BulletListTest.Test" %> <%@ Register TagPrefix="cc1" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=15.1.4.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager runat="server" /> <div> <asp:UpdatePanel runat="server"> <ContentTemplate> <asp:BulletedList ID="blTest" runat="server" OnClick="blTest_OnClick" DisplayMode="LinkButton" BulletStyle="Square"> <asp:ListItem Text="A" Value="A" /> <asp:ListItem Text="B" Value="B" /> <asp:ListItem Text="C" Value="C" /> <asp:ListItem Text="D" Value="D" /> <asp:ListItem Text="E" Value="E" /> <asp:ListItem Text="F" Value="F" /> <asp:ListItem Text="G" Value="G" /> <asp:ListItem Text="H" Value="H" /> </asp:BulletedList> <cc1:PagingBulletedListExtender ID="blTest_PagingBulletedListExtender" runat="server" ClientSort="True" Enabled="True" SelectIndexCssClass="lbStandardTV" TargetControlID="blTest" UnselectIndexCssClass="lbStandardTV" /> <asp:Label runat="server" Text="Selected value: " /> <asp:Label runat="server" ID="lblTest" /> </ContentTemplate> </asp:UpdatePanel> </div> </form> </body> </html> ``` Test.aspx.vb ``` Public Class Test Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub blTest_OnClick(sender As Object, e As BulletedListEventArgs) lblTest.Text = blTest.Items(e.Index).Value End Sub End Class ``` The webform shows the behavior described above. Can you verify that? Kind regards Chris
I have a BulletedList with LinkButton as DisplayType and a PagingBulletedListExtender inside a UpdatePanel.
I recently updated AjaxControlToolkit to the version 15.1, before that it was version 3.
However, after updating the control now looses the page when I click on a link.
For example I click on the page for letter "C" and after that I click on a name.
With version 3 the bulleted list would still contain all names starting with "C".
With version 15.1 it resets the page to first letter ("A" or some number).
The only thing I changed is the AjaxControlToolkit. Can someone verify this behavior and say
wether it's a bug or a feature?
Thank in advance and kind regards
Chris
Comments: Hi, sorry for the late reply. I have a mini project demonstrating the problem, it's fairly simple: Just put a BulletedList with some values inside an UpdatePanel, add BulletListeExtender and a label showing the selected value. Upload does not seem to work, so here is the code: Test.aspx ``` <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test.aspx.vb" Inherits="BulletListTest.Test" %> <%@ Register TagPrefix="cc1" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=15.1.4.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager runat="server" /> <div> <asp:UpdatePanel runat="server"> <ContentTemplate> <asp:BulletedList ID="blTest" runat="server" OnClick="blTest_OnClick" DisplayMode="LinkButton" BulletStyle="Square"> <asp:ListItem Text="A" Value="A" /> <asp:ListItem Text="B" Value="B" /> <asp:ListItem Text="C" Value="C" /> <asp:ListItem Text="D" Value="D" /> <asp:ListItem Text="E" Value="E" /> <asp:ListItem Text="F" Value="F" /> <asp:ListItem Text="G" Value="G" /> <asp:ListItem Text="H" Value="H" /> </asp:BulletedList> <cc1:PagingBulletedListExtender ID="blTest_PagingBulletedListExtender" runat="server" ClientSort="True" Enabled="True" SelectIndexCssClass="lbStandardTV" TargetControlID="blTest" UnselectIndexCssClass="lbStandardTV" /> <asp:Label runat="server" Text="Selected value: " /> <asp:Label runat="server" ID="lblTest" /> </ContentTemplate> </asp:UpdatePanel> </div> </form> </body> </html> ``` Test.aspx.vb ``` Public Class Test Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub blTest_OnClick(sender As Object, e As BulletedListEventArgs) lblTest.Text = blTest.Items(e.Index).Value End Sub End Class ``` The webform shows the behavior described above. Can you verify that? Kind regards Chris