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

  • Home
  • SEARCH
  • 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 9241903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:27:56+00:00 2026-06-18T08:27:56+00:00

I am passing this : <%: Html.ActionLink(Edit, EditCRMRequest, CRM, new { Id = item.Id

  • 0

I am passing this :

<%: Html.ActionLink("Edit", "EditCRMRequest", "CRM", new { Id = item.Id })%>

and I am getting in browser :

http://something.com/CRM/EditCRMRequest?Length=3

with Error Code :

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

If I explicitly write this in browser it works fine:

http://something.com/CRM/EditCRMRequest?Id=3
  • 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-06-18T08:27:57+00:00Added an answer on June 18, 2026 at 8:27 am

    Correct way:

    <%: Html.ActionLink("Edit", "EditCRMRequest", "CRM", new { Id = item.Id },null)%>
    

    No overload method like this:

    Html.ActionLink(string text, string action, string controller, object routeValues)
    

    If you write like above, Lenght=3 is represent “CRM”. Controller name behave as routeValues

    Correct method is:

    Html.ActionLink(string text, string action, string controller, object routeValues, object htmlAttributes)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I am passing HtmlAttributes into a template, like this: @Html.DisplayFor(m => m.FirstName, new
i have following url structure http://www.mydomain.com/vpn-offers-p3.html this page should be redirect to http://www.mydomain.com/vpn-offers.php?st=60&page=3 here
I am using the android ViewPager : http://developer.android.com/reference/android/support/v4/view/ViewPager.html This class allows you to basically
I keep getting this passing 'const QString' as 'this' argument of 'QString& QString::operator=(const QString&)'
Edit: This problem was down to me passing the wrong view to the Touch
I am parsing an html content and have output on my screen. This website
I'm parsing JSON that is contained in an HTML element. Consider this markup: <div
i have data structure i am passing this from server to client using data
I have an ArrayCollection of objects. I'm passing this array to a horizontallist as
I have objects which create other child objects within their constructors, passing 'this' so

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.