I've been stuck on this issue for a while now and could really use some advice...
I'm working on an ASP.Net webpage that so far has about 60 controls (Text Boxes, Check Boxes and Drop Down Lists) some of which are from a web user control. I would like to make to save the data without a postback if possible. I'm attempting to accomplish this through AJAX but am unable to reference my controls with C# web methods.
Is there anyway to call a regular C# method without a postback? Or is the only way to accomplish this by passing perhaps an array of all the control values from JavaScript to the C# web method? If so, is there any easy way to get all the control values into an array in JavaScript and then to a DataTable
in C#?
Feel free to suggest any other solutions to this problem.