Reading Data from NumericTextBox to contoller

1 Answer 71 Views
NumericTextBox
David
Top achievements
Rank 1
David asked on 13 Sep 2022, 03:27 PM
I am having trouble understanding what would be process for either passing a value I have declared in the controller written in CS or capture the data inputted and then bring it to the controller to be used. 

1 Answer, 1 is accepted

Sort by
1
Eyup
Telerik team
answered on 16 Sep 2022, 07:44 AM

Hi David,

 

Thank you for writing to us.

You can achieve this requirement using jQuery ajax() or post() methods:
https://stackoverflow.com/questions/10803292/how-to-send-data-in-jquery-post-to-mvc-controller-which-use-viewmodel-as-paramet

Alternatively, you can decide to use the Form component:
https://demos.telerik.com/aspnet-mvc/form

Let me know which option is more suitable for your case.

 

Regards,
Eyup
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

David
Top achievements
Rank 1
commented on 16 Sep 2022, 05:09 PM

Thank for replying back with an extremely informative source forge posting with the info. I ended up switching to a form and I am now working through that process to pass the data through. 
Tags
NumericTextBox
Asked by
David
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or