This is a migrated thread and some comments may be shown as answers.

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

3 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
gc_0620
Top achievements
Rank 1
gc_0620 asked on 25 Jun 2014, 03:59 PM
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

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 30 Jun 2014, 10:48 AM
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.

 
0
gc_0620
Top achievements
Rank 1
answered on 30 Jun 2014, 07:55 PM
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>
0
Kostadin
Telerik team
answered on 03 Jul 2014, 10:58 AM
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.

 
Tags
General Discussions
Asked by
gc_0620
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
gc_0620
Top achievements
Rank 1
Share this question
or