I have a sample scenario where I want to update the Tooltip Text when a ajaxified button is clicked. I could not succeed in doing so. Is this a bug?
ASPX
CS
Thanks.
Jonathan
ASPX
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <asp:ScriptManager id="ScriptManager1" runat="server"/> |
| <div> |
| <asp:Button runat="server" ID="button" OnClick="click" AccessKey="t" Text="Don't click, use Alt-T" /> |
| <br /> |
| <asp:Label runat="server" id="label" Text="test"></asp:Label> |
| <tk:RadToolTip ID="ttTimesheetStatus" runat="server" Text="Prior to update" TargetControlID="label" RelativeTo="Element" Skin="Default" ShowDelay="0" Position="TopRight" /> |
| </div> |
| <radAjax:RadAjaxManager ID="radAjaxManager" runat="server"> |
| <AjaxSettings> |
| <radAjax:AjaxSetting AjaxControlID="button"> |
| <UpdatedControls> |
| <%--<radAjax:AjaxUpdatedControl ControlID="label" />--%> |
| <radAjax:AjaxUpdatedControl ControlID="ttTimesheetStatus" /> |
| </UpdatedControls> |
| </radAjax:AjaxSetting> |
| </AjaxSettings> |
| </radAjax:RadAjaxManager> |
| </form> |
| </body> |
| </html> |
| public partial class _Default : System.Web.UI.Page |
| { |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| } |
| protected void click(object sender, EventArgs e) |
| { |
| ttTimesheetStatus.Text = "After Update"; |
| } |
| } |
Thanks.
Jonathan