Hello!
I want to make similar effect with RadGrid like here:
http://www.egobba.de/company.htm
Type "180280" in Company ID for example.
I don't how to make that if I enter some value in one textbox, then it's multiplying with value from other cell (in the same row) and showing in another cell of the same row.
--- value --- textbox --- result
value*textbox = result
I want to do it without postbacks, just JS on client side.
I want to make similar effect with RadGrid like here:
http://www.egobba.de/company.htm
Type "180280" in Company ID for example.
I don't how to make that if I enter some value in one textbox, then it's multiplying with value from other cell (in the same row) and showing in another cell of the same row.
--- value --- textbox --- result
value*textbox = result
I want to do it without postbacks, just JS on client side.
4 Answers, 1 is accepted
0

Grzesiek
Top achievements
Rank 2
Iron
answered on 10 Nov 2009, 09:25 PM
No ideas?
0
Hello Grzesiek,
I think that you can use the following integration demo of RadGrid and RadInput as a starting point for your implementation:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandinput/defaultcs.aspx?product=grid
The idea is to utilize the client API of RadInput to calculate the values in the footer when the user changes some numbers in the column cells. Feel free to port the solution to perform changes on a per row basis instead of column footer.
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.
I think that you can use the following integration demo of RadGrid and RadInput as a starting point for your implementation:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandinput/defaultcs.aspx?product=grid
The idea is to utilize the client API of RadInput to calculate the values in the footer when the user changes some numbers in the column cells. Feel free to port the solution to perform changes on a per row basis instead of column footer.
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.
0

Grzesiek
Top achievements
Rank 2
Iron
answered on 13 Nov 2009, 11:19 AM
I was trying to use something like here:
http://blogs.telerik.com/VladimirEnchev/Posts/08-09-19/How_To_Telerik_RadGrid_client-side_caching_with_client-side_binding_to_web_services_using_LINQ_to_SQL.aspx
But I think while converting it to VB and setting for my eCompanyDataContext I made some mistake.
It seems to sorting, but only the GridBoundColumn - the Template or Numeric Columns are not sorting and I don't know why ...
http://blogs.telerik.com/VladimirEnchev/Posts/08-09-19/How_To_Telerik_RadGrid_client-side_caching_with_client-side_binding_to_web_services_using_LINQ_to_SQL.aspx
But I think while converting it to VB and setting for my eCompanyDataContext I made some mistake.
It seems to sorting, but only the GridBoundColumn - the Template or Numeric Columns are not sorting and I don't know why ...
0
Hello,
This functionality is already part of the grid. You can check this demo for more info:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/caching/defaultcs.aspx
Here is also an example of client-side binding + sorting on template column:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx
Sincerely yours,
Vlad
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.
This functionality is already part of the grid. You can check this demo for more info:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/caching/defaultcs.aspx
Here is also an example of client-side binding + sorting on template column:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx
Sincerely yours,
Vlad
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.