I added a folder inside another folder in the views folder, like this:
Views / Registration / Profile
Within the profile folder are the .cshtml files. However, when I try to access the .cshtml files I get an error in the applicatio...
Following the templates this question , I'm having problems trying to save the data (keys of each of the records) in the table created to make the data relationship. Here's the post method I built:
Controller
[HttpPost, ValidateAntiForge...
I have the following code:
@{
var st = //(minha lógica q retorna bool);
}
@Html.CheckBox("MeuNome",st,new { id = "MeuID", value = "MeuValor" })
I can not use the st variable in the second method parameter ... I have...
The idea is to keep the user logged in to Chat as he browses the pages.
Layout of components on the page
Layout.cshtml
function iniciarChat() {
var chatHub = $.connection.chat;
$.connection.hub.start();
}
Index...
I have a class with decimals that can receive a value of -10.00 to 10.00 ( including 0 ), equivalent is a numeric (5.2) . The problem is that when creating my MetaData class, even specifying the range validation has not worked.
Home
Not...
I have a table that is populated by a Model in HTML Razor in a partialView , a field of this table I left as editable using @Html.TextBoxFor . After the user edit this field I need to update in the DB, but first I need to retr...
I need to call an Action using Ajax and so far everything is fine, I make the request as follows:
confirm: function () {
$.ajax({
url: urlToDelete + id,
success: function () {
//w...
I'm developing an application that manages Courses in ASP.NET MVC, I'm still a beginner, and I'm trying to do the following: The Student has a screen where he lists all the courses for him to choose and make his enrollment in any of these cour...
I need to create a Dropdownlist at run time with 2 options to choose from.
With this, I need to do a check by picking the selected record and then accessing that method.
This is after clicking a ActionLink .
How do I set an id fo...
How do I call the browser's digital certificate so my webapp in asp.net mvc can sign an xml and then return it to the user?
I saw features that use java or another applet, but would not like to use any plugins. It's about using more native fe...