Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6733177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:44:16+00:00 2026-05-26T10:44:16+00:00

I am working on a simple CMS project, and i have run into a

  • 0

I am working on a simple CMS project, and i have run into a wall. And then after a lot of hours, blew it up.

For some reason my buttons inside @Ajax.BeginForm were not activating the postback. Neither full postback nor ajax. I have referenced the scripts, and tried to debug jQery, examined every character in the Controllers, Views, References and Models to no avail.
There were no errors or exceptions thrown.

Controller action:

[HttpPost]
public ActionResult Delete(int ID,int page=1)
{
  //some code...
  //...work, work, work...
}

View segment:

@using (Ajax.BeginForm("Delete", "Client", new { page = Model.CurrentPageIndex }, ao))
{
    @Html.Hidden("clientID", item.ClientID)
    <input type="submit" value="Briši" name="brisi" />
}

Error:

The parameters dictionary contains a null entry for parameter ‘ID’ of non-nullable type ‘System.Int32’ for method ‘System.Web.Mvc.ActionResult Delete(Int32, Int32)’ in ‘Info3CRM.WebUI.Controllers.ClientController’. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

Finally i have decided to disable jQuery and Ajax and do normal postback. Then the exception was thrown. I was trying to call the Action in controller without all the necessary parameters.

My question to all is: How to catch such an exception if jQuery and ajax are enabled?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:44:17+00:00Added an answer on May 26, 2026 at 10:44 am

    You could see this error in some kind of client side debugging tool.

    For example, Fiddler would show you the response that came back from the server – and you can use Fiddler’s WebView tab to see the HTML response. The HTML response in this case would show you the ASP.NET yellow error screen.

    In addition to Fiddler, you could also use browser debugging tools that come built into IE,, Chrome or Opera – or download Firebug for FireFox. Each tool has a network tab which will show you all the ajax requests and their responses.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a cms and there are some simple parameters like number
I have been using TinyMCE WYSIWYG in CMSMS(CMS Made simple), its working in all
I am working on a project where we offer a very simple homespun CMS
I'm looking for good/working/simple to use PHP code for parsing raw email into parts.
I'm working on a simple javascript login for a site, and have come up
I'm working on a simple CMS (based on Django, not that it matters) similar
I am having some trouble with jQuery. I am making a simple CMS and
I have been trying to get xapian working django haystack for a project im
My aim is to have a simple, form based CMS so the client can
I have a site complete with CMS etc all working under one domain name.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.