Hello all,
Here the markup of my code.
i have a javascript function called showMyTooltip(sender, args).
The function is correctly called when check/uncheck the checkbox but sender is just the ClientID of the control and args is alwais null.
So i can't use args.get_checked() to see if is checked or not.
Why args is always null?
Thanks,
Mattia
Here the markup of my code.
<div class="search-filter-categories"> <asp:UpdatePanel runat="server" ID="updatePanelCategories" UpdateMode="Conditional"> <ContentTemplate> <telerik:RadListView ID="categoriesList" runat="server" OnItemDataBound="CategoryDataBound" > <ItemTemplate> <div class="search-filter-categories-item"> <telerik:RadButton AutoPostBack="false" ButtonType="ToggleButton" ToggleType="CheckBox" CommandArgument='<%# Eval("Id") %>' runat="server" ID="chkOption" OnClientCheckedChanged="showMyToolTip" Text='<%# Eval("Name") %>' /><div class="cb"></div> </div> </ItemTemplate> <LayoutTemplate> <div class="search-filter-categories-columns"><div id="itemPlaceholder" runat="server"></div></div> <div class="cb"></div> </LayoutTemplate> </telerik:RadListView> </ContentTemplate> </asp:UpdatePanel> <telerik:RadToolTipManager ID="toolTipManager" ShowEvent="FromCode" HideEvent="FromCode" runat="server" EnableShadow="true" Position="BottomCenter" Modal="true" Animation="Fade" AutoTooltipify="false" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Mouse" Width="180px" Height="150px" Style="font-size: 18px; text-align: center; font-family: Arial;" RenderInPageRoot="true"> </telerik:RadToolTipManager> </div>i have a javascript function called showMyTooltip(sender, args).
The function is correctly called when check/uncheck the checkbox but sender is just the ClientID of the control and args is alwais null.
So i can't use args.get_checked() to see if is checked or not.
Why args is always null?
Thanks,
Mattia