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

[Solved] Tele Grid Adding , Delete column using Javascript /Ajax without Postback

1 Answer 218 Views
Grid
This is a migrated thread and some comments may be shown as answers.
saravanan veeramani
Top achievements
Rank 1
saravanan veeramani asked on 19 Oct 2009, 04:46 PM
Hi all,
i have one senario ,  i have telegrid with have some textbox and combox columns with binded data.  every row have two icon. for delete. and "add row icon" end of row(last row). this two operation should  work without post back.  because i have get all the value after i clicked my submit button.
when i click add icon new row should come with textbox and combo box in the grid. "add icon" should go to latest row.  .click "delete icon , corresponding  row will delete.

Please give me soluton as soon as possible.
Please refer Attachment  also

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 22 Oct 2009, 12:04 PM
Hi saravanan,

To implement client-side deletes for RadGrid for ASP.NET AJAX, consider the option presented on this online demo of the product:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientdelete/defaultcs.aspx

The customized client-side insert functionality you request is not supported by our web grid. The possible workaround you may consider is adding empty rows in the grid source on the server and rebinding the grid when the specialized add button is clicked. To simulate client-side behavior, ajaxify the grid instance by means of RadAjaxManager or RadAjaxPanel.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
saravanan veeramani
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or