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

Some advice on how to wire a solution...

2 Answers 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shay
Top achievements
Rank 1
Shay asked on 03 Jun 2013, 10:09 PM
Hello all,

I have the ASP.NET Telerik controls and would like to do something using the AJAX controls, but I need some direction to get started.  I have a RadGrid that's pulling back data from a database.  In each row, there's an asp.net checkbox control and a text box (both within separate GridTemplateColumn rows).  Outside of the grid there is an asp.net label that contains the sum of each text box.  (This was a requirement of the solution).  What I'd like to have happen is, whenever a user checks/unchecks the checkbox, the value within the text box of that row toggles between 0 and the value of another gridrow.  At the same time, the label displays the updated total of all textboxes within the grid.

I know this can be done through javascript, but I was hoping I could take advantage of Telerik controls and the AJAX capabilities to do this without having to write code.  Is this possible with, say, Telerik update panels, Ajax Manager and other controls?

Thank you in advance.

2 Answers, 1 is accepted

Sort by
0
Shay
Top achievements
Rank 1
answered on 04 Jun 2013, 09:38 PM
23 hours and no one has a response?  I can't believe there isn't someone out there that hasn't done this before....
0
Eyup
Telerik team
answered on 06 Jun 2013, 10:07 AM
Hello Shay,

The best approach would be to use javascript in order to avoid postbacks. I have attached a sample RadGrid web site where an approach resembling your requirement is implemented. Please check out the attached application and let me know if it helps you.

In case you have different requirements or further instructions, please elaborate on your specific requirement and send us screenshots or video demonstrating the exact desired behavior.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
General Discussions
Asked by
Shay
Top achievements
Rank 1
Answers by
Shay
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or