Data dodania Pytanie
2017-03-07 02:03 Passing a parameter that is going to be used as condition in _Navigation.cshtml »
I'm new to MVC 5 and i just want to ask how can i pass a parameter that will be used as a condition inside the _Navigation.cshtml page. I'm using Jqu...
(0) odpowiedzi
2017-03-06 22:03 Dynamically created select list in razor syntax is not working »
I am NEW to Asp.Net and JQuery. I am working on dynamically creation of select lists in asp.net.I am using JQuery for such events like cloning, prepe...
(0) odpowiedzi
2017-03-06 21:03 Excluding time from TextBoxFor when ViewModel setup as DataType of Date »
I am trying to properly display a (nullable) Date-type-only field. For this field, my Model and ViewModel classes are defined as.... [DisplayFormat(D...
(2) odpowiedzi
2017-03-06 15:03 Multy Media picker, razor syntax newbie »
i have used stackoverflow for a long time to do research bit this time i have a question of my own. I am using umbraco and the razor syntax for the fi...
(0) odpowiedzi
2017-03-05 16:03 Building Navigation Rules in ASP.NET MVC »
I'm going to use the default ASP.NET Core web application _Layout.cshtml as my example. It creates the following navigation bar: <ul class="nav na...
(0) odpowiedzi
2017-03-05 16:03 int is not printing from variables »
I am gonna try to not make this question to long. I am making email confirmation letters for a hotel. If there has been a change in a reservation t...
(1) odpowiedzi
2017-03-05 11:03 Validation not working properly for ValidationMessageFor method »
I am having problem with mvc's ValidationMessageFor() function extension. The problem is its showing error message on get request means that the mess...
(0) odpowiedzi
2017-03-04 17:03 Html.Hidden value lost from View to Controller »
I need to add a value coming from an ajax result to other parameters the form is already passing to the controller. Apart from this parameter form and...
(1) odpowiedzi
2017-03-04 15:03 MVC - load an image on the page from a "shortened" code on my domain (like Bit.ly does with links) »
I have http://example.com/Image/Show/CwYDBw8LDww where example.com is my site, Show is a method in the Image controller, the unique id CwYDBw8LDww is ...
(1) odpowiedzi
2017-03-04 14:03 Change uploaded file name asp.net mvc »
I have such i big problem, i need to change the user uploaded file name, to some hash name, that build from the row fields of this table: The upload...
(2) odpowiedzi
2017-03-03 22:03 Group Records by Property to be put in a table »
If I have a list of objects like so: ID | First Name | Location | Division | Age | ---------------------------------------...
(1) odpowiedzi
2017-03-03 20:03 Angularjs ng-model not working after defining the ng-model in a directive »
I would like the ng-model of an input to be created automatically based off of the name of the input it is on. This is because Html.TextBoxFor etc in ...
(1) odpowiedzi
2017-03-03 20:03 C# MVC Razor - Controller Not Getting Hidden Input Values »
I have defined following hidden input fields in my form view, Form: @model Mysite.Models.FileUpload @using Mysite.Models @{ var File...
(2) odpowiedzi
2017-03-02 18:03 Display column headings on multiple tables from different lists »
I have a view in ASP.NET MVC that accesses a viewmodel with 2 separate lists. The problem I am having is accessing the column headings from the lists...
(1) odpowiedzi
2017-03-02 12:03 Image Browser Asp.net MVC 5 »
I trying to create ImageBrowser in Asp.net MVC 5. Problem is when I try to switch to another picture. Here's my code: In View: @model Katalog.Models....
(2) odpowiedzi
2017-03-02 08:03 Populate DropDownList in ASP.NET MVC from database table using Entity Framework 6 and ViewModel »
I have been scratching my head for a whole night on an issue I can do quickly using ajax/jquery and stored procedures. I want to 1) Populate a drop ...
(2) odpowiedzi
2017-03-01 14:03 Dictionary<short, Dictionary<EnFunction, bool>> model binding not work »
I could not bind the model to Controller. Please give me any advice. Model,controller and view classes are below. When model is submmited, dictionar...
(1) odpowiedzi
2017-03-01 11:03 VS2015 Not able to edit cshtml files »
Since yesterday I'm not able to edit cshtml files. Each time I try to edit a cshtml file I get the following message: "The document cannot be opened....
(1) odpowiedzi
2017-03-01 03:03 PartialView for displaying Modal Error Message based on ViewBag »
I'm developing a MVC 5 app with the SweetAlert 2 plugin. My Goal: When an error occurs anywhere in my app I'd like to display a (centralized, sweetal...
(1) odpowiedzi
2017-02-28 22:02 How do I tell if Razor is enabled in my existing MVC project? »
I have an existing ASP.NET project updated from VS2010 to VS2015. It had some MVC portions that I would like to expand on, and would like to take adv...
(2) odpowiedzi
2017-02-28 16:02 asp.net chart control vertical labels »
I am using following to draw charts on my asp.net razor web application. However, due to long product names on the x axis, labels don't align properly...
(0) odpowiedzi
2017-02-28 08:02 Is EditorModel method auto-loop by itself? »
I am new to asp.net mvc i saw a tutorial on razor EditorModel method. from Here I did practical on it and it working fine, but i am totally confused ...
(0) odpowiedzi
2017-02-27 21:02 Dynamic attributes in HTML.TextBoxFor »
I'm trying to build a TextBoxFor with conditional attributes. If the Model.question doesn't have a CALC_EXPRESSION, I don't even want the data-formul...
(2) odpowiedzi
2017-02-27 17:02 apply different style to odd divs »
I'm working with owl-caroussel plugin, and I need to apply a border-right style to odd divs, when I apply this selector it just adds the border to all...
(3) odpowiedzi
2017-02-27 12:02 Asp.net TagHelper to add a class depending on an expression (inspired by Angular) »
I am thinking about to create an tagHelper-attribute in the way of Angular. In Angular I can do following: <div [class.extra-sparkle]="isDelightfu...
(0) odpowiedzi
2017-02-26 23:02 Visual Studio Tooltipster setup »
I installed Tooltipster using Visual Studio 2015 NuGet Package Manager, closed and opened the project again. As expected now there's a new Tooltipster...
(0) odpowiedzi
2017-02-26 17:02 How To Remotely Change the Content In umbraco using Apis »
Hello EveryOne I'm New To Umbraco I did Some Simple Umbraco Sites and Im good with so far Based on my Humble .Net background My Question is : How can ...
(1) odpowiedzi
2017-02-26 10:02 Add querystring to url razor »
I'm struggeling to insert value to a querystring in razor: Here's what I got: rowTemplate = rowTemplate.Replace(string.Concat("{{url}}"), Umbraco.Con...
(0) odpowiedzi
2017-02-25 16:02 Fetching HTML textfield value using Javasctipt »
I have a textfield which is NOT enclosed in a form. Using javascript I need to extract the textfield value. How can I do this ? I am using C#-Razor i...
(1) odpowiedzi
2017-02-25 12:02 How to get compiled C# code from cshtml view in asp.net core? »
I have a asp.net core 1.1 project, and I need to get the compiled C# code of a cshtml view that contains tag helpers. I am aware of the possibility t...
(1) odpowiedzi
2017-02-25 07:02 FormData Values in Razor HTML page, getting in C# Method »
I have following input element in razor view page <input type="file" id="uploadFile" name="FileUpload" multiple="multiple" /> using following...
(2) odpowiedzi
2017-02-24 19:02 how to show a jQuery ui DialogBox in ASP.NET MVC »
I´m working on a MVC ASP.NET project and I would like to use a dialog box using jQuery ui every time a user clicks a specific button, was pretty easy...
(1) odpowiedzi
2017-02-24 14:02 Passing form data to multiple actions in .NET »
I've got a form done in Razor. The user can choose between two actions to take with the data they fill in to that form, SaveCurrentProgress(User user...
(1) odpowiedzi
2017-02-24 01:02 How to inject a route parameter into _Layout.cshtml »
I am trying to create a multitenant web app using ASP.Net Core v1.1.0. A single user may belong to multiple tenants (ie - an area manager who oversee...
(1) odpowiedzi
2017-02-23 16:02 Why do I get an SQL parsing error when I use parameters? »
I'm working on a database application in Webmatrix. I have a cshtml file which is supposed to update a record in the database. Everything works corre...
(2) odpowiedzi