Some advice on how to wire a solution...

3 posts, 0 answers
  1. Shay
    Shay avatar
    4 posts
    Member since:
    Apr 2013

    Posted 03 Jun 2013 Link to this post

    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. Shay
    Shay avatar
    4 posts
    Member since:
    Apr 2013

    Posted 04 Jun 2013 Link to this post

    23 hours and no one has a response?  I can't believe there isn't someone out there that hasn't done this before....
  3. Eyup
    Admin
    Eyup avatar
    4075 posts

    Posted 06 Jun 2013 Link to this post

    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.
Back to Top