ASP.net cshtml Submission Page

I am helping a non profit fix a few website issues and one of the former employees in charge of applications had the web submission forms sent to his email address (or forwarded) but I cannot find an information related to where that would be in the page code. Anyone familiar with asp.net and cshtml have suggestions? Thanks...
Shane TaylorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongCommented:
>>but I cannot find an information related to where that would be in the page code.
in a typical way... check the source code of the HTML page generated and look for tag:

<Form .... action="processpage.aspx" >

and then in this processpage.aspx, look through its source code (you need to have the source codes of ASP.NET, something like processpage.cs/ processpage.vb/ etc, NOT the generated HTML output) how the email was being sent.
0
Shane TaylorAuthor Commented:
After looking through the site again the only thing I see are several java script references in the Application page...
application.txt
0
Ryan ChongCommented:
i'm not that familiar with MVC, can you found any clues from the "code behind" of this page instead?
0
Carl TawnSystems and Integration DeveloperCommented:
Somewhere in the project there will be a Controller that relates to that View (MVC jargon). By convention there should be a folder in the project called "Controllers" and one of them will probably have a line in it that says 'return View("<name_of_the_cshtml_file>");', or something similar.

The file where that sits is the Controller. In that file will be a method that starts something like:
[HttpPost]
public ActionResult Index(PersonalInformationViewModel model)
{
    ...
}

Open in new window

Or similar.

It's difficult to point you in a specific direction based just on the content of the view, but the Controller method that handles the POST operation is what you need to find.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.