Posted 28 Jun 2012
Link to this post
I am using Telerik Asp.net Ajax Controls in MVC3 with WCF. I am using webforms(aspx). when i am passing data from View to Controller as form collection. I am not able to retrieve the controls information.
I am using in the Controller method
var val = FormCollection["txtApplicationName"].ToString();
I am getting object reference not set error.
If I am using
I am getting the correct text value of the TextBox in the View.
Can anybody help .
What code is to be written in Controller