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 8264231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:22:51+00:00 2026-06-08T04:22:51+00:00

I have got asp.net mvc 3 website, I want to add feedback feature to

  • 0

I have got asp.net mvc 3 website, I want to add feedback feature to all pages.

I created the partial view for this purpose and render it in master layout.

    @model FeedbackHelper
    Name:<br />
    @Html.TextBoxFor(o=>Model.Name)

for example in Questions page , MVC returns the exception because that page binded the POST entity, as far as I check in StackOverflow I have got 2 solution

  • create a parent model and add POST and FeedbackHelper as properties
  • use Tuple

at the moment, changing all models is too risky for me.

Is there any good solution ?!

  • 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-08T04:22:54+00:00Added an answer on June 8, 2026 at 4:22 am

    You could use child actions. The idea is to define a specific controller action that will serve the partial view and then include it using the @Html.Action helper in your Layout.

    So:

    public ActionResult Feedback()
    {
        FeedbackHelper model = ...
        return PartialView(model);
    }
    

    then you will of course have a partial in the Shared folder:

    @model FeedbackHelper
    Name:<br />
    @Html.TextBoxFor(o => o.Name)
    

    and include it in your Layout:

    @Html.Action("Feedback", "ControllerContainingTheFeedbackAction")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a website which we recently migrated to ASP.NET MVC. All of the
I have got a question with regards to upgrading asp.net mvc applications from v1
I have got one weird issue. I am working on an asp .net mvc
I'm writing an application in asp.net mvc. I have got presentation layer, controllers and
I have a website using ASP.NET MVC, everything was working fine, but I'd like
I'm using StructureMap in ASP .Net MVC 4 and I have got the following
so after a few weeks, i have got my head around asp.net mvc and
I have created an ASP.NET MVC application and created different kind of roles for
I have created a sample project in asp .net mvc using vs 2010. In
I'm a C# ASP.net MVC Developer. I got a new job and have to

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.