Javascript error when usin ServerSide ItemClick

2 posts, 0 answers
  1. Pierre
    Pierre avatar
    212 posts
    Member since:
    Apr 2007

    Posted 07 Aug 2008 Link to this post

    I Change my old RadRotator by the new one and add the server site function ItemClick.

    When I click on a radRotator item I receive this error:

    Sys.ArgumentNullException: Value cannot bu null. Parameter: element

                                                  <telerik:RadRotator ID="RadRotatorNews" runat="server" FramesToShow="1" RotatorType="AutomaticAdvance" ScrollDirection="Up" 
                                                        FrameDuration="8000" height="76px" width="300px">  
                                                            <table class="News_Detail">  
                                                                    <td style="width:85px">&nbsp</td> 
                                                                    <td align="left" class="News_Text">  
                                                                        <%#DataBinder.Eval(Container.DataItem, "Date")%> 
                                                                        <asp:Label ID="lblID" CssClass="News_TextCache" Visible="true" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ID")%>'></asp:Label>                                                                  
                                                                    <td style="width:85px">&nbsp</td> 
                                                                    <td align="left" class="News_Text">  
                                                                        <%#DataBinder.Eval(Container.DataItem, "Titre")%> 
                                                                    <td style="width:85px">&nbsp</td> 
                                                                    <td align="right"class="News_Text"> 
                                                                        <asp:HyperLink ID="HyperLinkPlus" runat="server"><asp:Label ID="lblPlus" runat="server" Text="Plus.."></asp:Label></asp:HyperLink> 

    any suggestion?
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 08 Aug 2008 Link to this post

    Hi Pierre,

    I suggest to examine this online demo which shows how to use the server-side Item_Click event. In case this does not help to find the problem, please provide more information about your code and the error. It will be best if you open a new support ticket and send us a sample, fully working reproduction demo.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top