Can I call Ajax.BeginFrom from a custom helper method ?
AjaxHelper is not available in a custom helper method, so I tried to pass the “Ajax” available in ViewPage to Helper method while calling it, but then in method, BeginForm is not available on that passed “Ajax” parameter.
You could instantiate it:
or if you are writing an extension method on AjaxHelper:
And don’t forget the proper usings if you want to bring other extension methods into scope: