We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Responding to button clicks

Thread ID:





109243 Jun 4,2013 05:17 PM UTC Jun 7,2013 12:38 PM UTC ASP.NET MVC (Classic) 1
Tags: Tools
Doug Matulis
Asked On June 4, 2013 05:17 PM UTC


How do you hook a button control to a method in the Controller in MVC4.  I tried making the button type submit and created  post method as follows but it is never called when the button is pressed:

        [Authorize] //Must be logged into to see these screens
        public ActionResult Projects(ProjectHeaderModel model)
            return View();

button declaration looks as follows:

            <div class="float-right" style="padding-top: 5px">
                @Html.Syncfusion().Button("btnCreateProject").Text("Create a New Project").Width(150).Height(30).Type(ButtonTypes.Submit)


Sunil Prabakar C [Syncfusion]
Replied On June 7, 2013 12:38 PM UTC

 Hi Doug Matulis,

Thanks for using Syncfusion products. We are not able to reproduce the reported issue. Kindly provide the sample which reproducing the reported issue.

For your convenience we have prepared a sample to exhibit this behavior and it is available in the following link.


Please let us know, if you have any other queries.

Thanks & Regards

Sunil Prabakar C


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon