Data dodania Pytanie
2017-03-18 15:03 C# codes doesn't work in host »
I open the website(The website created with MVC). I get compilation error. How can i fix this error? ...
(1) odpowiedzi
2017-03-18 04:03 How to POST and Catch a view model with a parent object and list of child objects in EF MVC? »
I want to add a family which has many members and can have many houses. I am trying to make a form and submit the object family with collection of oth...
(1) odpowiedzi
2017-03-17 20:03 collect variables and shorten code »
I am making a project, where I have to compare to rooms to each other and print if there is a change in a room. I made this piece of code there is w...
(2) odpowiedzi
2017-03-17 17:03 How to mix razor and javascript in single line »
This works @Html.Action("LiveBlogHeader", "Blog", new { liveMatchItemId = "12" }) I want to set hidden field's value in it. Something like this @H...
(0) odpowiedzi
2017-03-17 13:03 How to write an ASP.NET MVC Core TagHelper that would support template for collection/iteration »
I've written a bunch of HTML Helpers that cover basically all HTML elements and some HTML structures like tabs, pagers, trees etc. Now, I'd like to co...
(1) odpowiedzi
2017-03-16 21:03 Using C# 7 features inside of a View in an ASP.NET MVC Core project »
I've looked for other questions related to this, but none seem to be quite what I'm looking for. I have a website running on ASP.NET Core with the ne...
(2) odpowiedzi
2017-03-16 20:03 set Context.User.identity:name to JavaScript variable »
I need to get the value of the user @Html.Encode(Context.User.Identity.Name) in a JS variable and set this value to an input with id= idAccion in orde...
(1) odpowiedzi
2017-03-16 11:03 ASP.NET Core - Download .exe returns 404 error »
I have a ASP.NET core MVC application and in the wwwroot folder, I've added another folder called "Shaun" and in that folder I've dropped an exe to tr...
(2) odpowiedzi
2017-03-16 01:03 Razor IF/ELSE show HTML table »
I have two different tables that i'd like to display if a conditional token from my web-application is true otherwise show a different table. I'm not ...
(1) odpowiedzi
2017-03-15 17:03 Asp.net Placeholder equivalent in MVC 5 (Razor) »
I'm looking for the Asp.net placeholder equivalent in MVC5 using Razor. My main problem is that I have too much logic in views/partial views, so I ne...
(1) odpowiedzi
2017-03-15 16:03 How to reset drop down list back to default when there is nothing in textbox? »
I have a textbox #Email and I have two dropped down list menus that is #Carriers and #Phones. When the Email is entered I want to enable only Carriers...
(2) odpowiedzi
2017-03-15 15:03 MVC Call Javascript func from Razor code »
I can't call a func I wrote in the script from the Razor code where I pass the parameters to the controller. Anyone have any Idea ? MyCode: <scr...
(1) odpowiedzi
2017-03-14 19:03 ASP.net Razor MVC5 insert @{} inside javascript within my cshtml page »
new to razor so here is my question. I am wanting to add some dynamic code to my JavaScript created button: $('<button ' + '"class="btn btn-d...
(1) odpowiedzi
2017-03-14 17:03 How to display up to two digits at max but can show less? »
How do I format a cell in a grid that is treated like text to be zero, one, or two digits depending on what the value is but to cut it to two digits i...
(3) odpowiedzi
2017-03-14 16:03 Generate a list of contacts from a table based on a Bool value »
I am currently developing an asp.NET MVC web application as a front end to a database. I have a MySQL database, one of the tables is contact informati...
(3) odpowiedzi
2017-03-14 15:03 Noob in ASP MVC Routing - 404 error »
I'm new to API designing with VS2017 and I'm trying to make my simple API work with few SQL objects in a DB. I have a fairly simple project which loo...
(3) odpowiedzi
2017-03-13 20:03 Confused on passing parameter to MVC Partial View? »
I inherited an MVC site and was asked to combine two pages into one. Since both Views have their own View Model, I thought instead of pushing the two ...
(1) odpowiedzi
2017-03-13 17:03 Visual Studio 2017 - Node.JS Server Process - Turn off? »
I'm working on a ASP.NET App in Visual Studio 2017 and I'm noticing a Node.JS: Server-side Javascript process running at 1.3GB to 1.8GB of memory. My ...
(2) odpowiedzi
2017-03-12 22:03 What is Client & Server side DataTable processing? »
I have tried but failed in researching on Google and here to get a basic, but good understanding about the meaning of Client and Server side jQuery d...
(1) odpowiedzi
2017-03-12 17:03 Add Property Value in Message Handler »
I want to add property value in message handler of asp.net webapi. scenario is I implement webapi in which authenticationToken is part of different re...
(2) odpowiedzi
2017-03-12 13:03 Can I override tilde-slash in Razor v2? »
Razor view engine supports tilde-slash paths out of the box like this: <script src="~/js/myscript.js" /> <!-- cool trick by the way!! -->...
(0) odpowiedzi
2017-03-12 06:03 How do Delete view and action get the model id? »
In a standard MVC app, scaffolding controller with views gives a Delete view with this Razor form: @using (Html.BeginForm()) { @Html.AntiForgeryT...
(2) odpowiedzi
2017-03-11 16:03 Visual Studio 2015 MVC razor HTMLHelper intellisense doesn't work for upgraded project »
I have been using Visual Studio 2015 with no problems for over a year now. One of the MVC.net projects that was originally developed on VS 2010 and u...
(1) odpowiedzi
2017-03-10 17:03 Display a List of Tuples in a C# cshtml View »
I have tried a few ways to get this Tuple list to display in my cshtml view as uploadModel.ErrorsList but have had no luck, this only displays the typ...
(1) odpowiedzi
2017-03-10 09:03 Pass value from EditorFor to method »
I have EditorFor in my View. Like this @Html.EditorFor(model => model.First().Link, new { htmlAttributes = new { @class = "form-control", pla...
(1) odpowiedzi
2017-03-10 09:03 TextBoxFor default value and keep edited value after validation fail »
Razor code like: @Html.TextBoxFor(Model => Model.Name, new { @Value = student.t_Name }) and I using .NET MVC's model validation in Controller, ...
(2) odpowiedzi
2017-03-10 02:03 Using javascript/jquery from within razor code »
It seems simple but i cant figure out how to call javascript function from within razor code. Problem: I need to get the position of a column in my t...
(2) odpowiedzi
2017-03-09 22:03 Kendo UI EditorFor date blank in Chrome 56.0.2924 »
I'm using Kendo with asp.net mvc @Html.EditorFor(model => model.shipmentDate) It shows blank value in Chrome v56 and that wasn't the case with C...
(0) odpowiedzi
2017-03-09 18:03 ASP.NET MVC rendering sections for dynamically driven content (Widgets) »
I am receiving the following error in ASP.NET MVC. "the following sections have been defined but have not been rendered for the layout page" - Now I k...
(1) odpowiedzi
2017-03-09 13:03 ASP.NET MVC how to avoid CSRF attacks on GET method »
ASP.NET anitforgery token is only works with POST method. But for GET methods which are used to fetch some sensitive information, how we can avoid CSR...
(0) odpowiedzi
2017-03-09 11:03 ASP MVC Workflow tool form logic and permissions »
I'm creating a workflow tool that will be used on our company intranet. Users are authenticated using Windows Authentication and I've set up a custom ...
(4) odpowiedzi
2017-03-08 17:03 ASP.NET MVC 4.5 Map Partial View to Main View on Form submit »
Hello Mighty Stackoverflowers, I'm currently working on an ASP.NET MVC 4.5 application. I need to map the input values from my partial view to my mai...
(2) odpowiedzi
2017-03-08 12:03 Why does Entity Framework try to SELECT all columns even though I have specified only two? »
I've inherited an ASP MVC project that uses Entity Framework 6.1.3 to interact with a Dynamics CRM 2011 SQL database. I'm using this query to try and...
(2) odpowiedzi
2017-03-08 09:03 razor partial view and ajax not refreshing »
it's my very first post here so please be tolerant, I'm struggling with @Ajax.Something calls, it's almost working correctly. I get the proper result...
(2) odpowiedzi
2017-03-08 05:03 Is it the right time to convert large .net based distributed SOA system into .net Core? »
We have a large business solution with some Windows Services, many WCF services, some SharePoint application and some ASP.NET MVC web applications t...
(2) odpowiedzi