After upgrading to latest ASP.NET AJAX Q2 2014, can't add/edit/export any Grid Data.

4 posts, 0 answers
  1. gc_0620
    gc_0620 avatar
    225 posts
    Member since:
    Feb 2008

    Posted 25 Jun 2014 Link to this post

    Folks using VS 2012 with ASP.NET Ajax and IE 11. My Project I am using EditForm.
     
    I just downloaded Telerik_UI_for_ASP.NET_AJAX_2014_2_618_Dev. Unfortunately I can't add/edit any thing in my Existing Rad Grid via any Commands from CommandItemTemplate.
     
    Keep getting
     
    Line: 11566
    Error: Unable to get property 'get_index' of undefined or null reference
     
    See attached file (Edit_form_Open_Error_in_ASP.NET_AJAX_2014_2_618.PNG)
     
    Also see the debugger error (Debugger_Error.png)
     
    How ever I am able to add/edit the same grid in Previous version (Telerik_UI_for_ASP.NET_AJAX_2014_1_403_Dev)
     
    Refer to (Edit_form_in_ASP.NET_AJAX_2014_1_403.png).
     
    Telerik,  please suggest; should I roll back to previous version?
     
    Thanks
     
    gc_0620
  2. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 30 Jun 2014 Link to this post

    Hello gc_0620,

    I am afraid I am not aware of such issue in the new version of the controls. Could you please provide you code declaration and the related code behind in order to investigate the issue further?

    Regards,
    Kostadin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. gc_0620
    gc_0620 avatar
    225 posts
    Member since:
    Feb 2008

    Posted 30 Jun 2014 in reply to Kostadin Link to this post

    Hi Kostadin,

    This error occurs if RadButton is within CommanditemTemplate in ASP.NET_AJAX_2014_2_618. It does not occur for LinkButton.

    To Reproduce the error:

    1) Run the Project in ASP.NET_AJAX_2014_1_403. All CommanditemTemplate items works perfectly.
    2) Now run the Project in ASP.NET_AJAX_2014_2_618. Click the Last CommandItemTemplate item which is RadButton. Error: Unable to get property 'get_index' of undefined or null reference.

    Also I am sending screen shoots of Grid and CommandItemTemplate.

    Below is my CommandItemTemplate Declaration.

    Thanks

    gc_0620

     
    <CommandItemTemplate>
                       <table>
                           <tr>
                               <td width="20%">
                                   <asp:LinkButton ID="LinkButton8" Text="Add new item" CommandName="InitInsert" runat="server"></asp:LinkButton>
                               </td>
                                     
                               <td width="20%">
                                   <asp:LinkButton ID="LinkButton9" Text="Refresh data" CommandName="Rebind" runat="server"></asp:LinkButton>
                               </td>
     
                                     
                               <td width="20%">
                                   <asp:LinkButton Style="vertical-align: bottom" ID="btnEditSelected" runat="server"
                                       CommandName="EditSelected"><img style="border:0px" alt="" src="Images/input_edit.png" />
                                       Edit Selected via Link Button</asp:LinkButton>
                               </td>
                                     
     
                               <td width="20%">
                                   <telerik:RadButton ID="RadButtonEdit" runat="server" Text="Edit Selected via RadButton"
                                       ButtonType="LinkButton" Skin="Office2010Silver" ToggleType="CustomToggle" ForeColor="#009900"
                                       Icon-PrimaryIconUrl="~/Images/input_edit.png" CommandName="EditSelected">
                                   </telerik:RadButton>
                               </td>
     
                           </tr>
                       </table>
                   </CommandItemTemplate>
  5. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 03 Jul 2014 Link to this post

    Hi gc_0620,

    I noticed that you are using a CustomToggle type. Note that in this case you have to specify a ToggleStates as demonstrated in the following live example. Nevertheless I am still unable to replicate the issue which you are facing. I attached a small sample which I used to test the behavior of the RadButton and on my side seems to work correctly. Could you please give it a try and let me know how it behaves on your end?

    Regards,
    Kostadin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top