No announcements
Found 33 threads
-
0 Votes
index.cshtml
I know that a webpage startfile must be name index.html I made a c# file with the name index.cshtml Why this file dont startup ...Unanswered | 2 Replies | 450 Views | Created by rts67 - Thursday, August 10, 2017 8:22 AM | Last reply by ThankfulHeart - Thursday, August 10, 2017 9:26 AM -
12 Votes
Xunit testing of ASP 5 MVC applications
The following locations were searched:\r\n/Views/Home/Index.cshtml\r\n/Views/Shared/Index.cshtml.Answered | 1 Replies | 976 Views | Created by AlexanderDekhtiar - Friday, October 9, 2015 7:06 PM | Last reply by Mike Danes - Saturday, October 10, 2015 8:14 AM -
0 Votes
Forms to MVC newbie question: How to use [Authorize] and [AllowAnonymous] filters to get an MVC PartialView to behave like a Forms LoggedIn Component
I want all of the other content in the Home/Index.cshtml view to be visible to anyone.Answered | 1 Replies | 1112 Views | Created by Bruce4272 - Friday, April 10, 2015 2:51 AM | Last reply by Fouad Roumieh - Friday, April 10, 2015 6:34 AM -
1 Votes
How to direct controller output to specific "view-windows" ?
An example: My view-file "Index.cshtml" contains simply: @{ <div ...Answered | 1 Replies | 1081 Views | Created by Terje Bohler - Wednesday, February 26, 2014 2:53 PM | Last reply by Mike Danes - Wednesday, February 26, 2014 3:05 PM -
1 Votes
Upgrade to MVC 5.0 causes @Html.Partial razor to no longer render on the server (locally runs fine)
d:\websites\mvcapp\Views\ItemCard\index.cshtml(27,10): error CS1928: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'Partial' and the best extension method overload ...Answered | 3 Replies | 8337 Views | Created by pianomanjh - Monday, December 30, 2013 11:42 PM | Last reply by Herro wong - Friday, January 3, 2014 2:13 AM -
0 Votes
CS1647 Asp.Net MVC HTML5 inline svg
So I created a simple MVC Project from the template and just copied the <svg> Region of my HTML5 page to the Index.cshtml When compile and run, ...Answered | 1 Replies | 1268 Views | Created by Christian_Switzerland - Saturday, June 20, 2015 4:07 PM | Last reply by Cor Ligthert - Saturday, June 20, 2015 5:08 PM -
0 Votes
IIS Express serving ASP.NET site like a collection of static resources?
/home/index) it says they weren't found, but if I were to go the URL /views/home/index.cshtml it gives an error that it can't display a page of that type.Answered | 2 Replies | 769 Views | Created by The Platinum Taco - Wednesday, August 19, 2015 8:05 PM | Last reply by The Platinum Taco - Thursday, August 20, 2015 3:10 AM -
0 Votes
want to load menu dynamically based on user login in MVC using razor
login button on master page or layout page on click of that a login dialog get opened and on successful submission user get login and certain links get visible with it.I want to create same ...Answered | 3 Replies | 3039 Views | Created by krutik - Monday, October 15, 2012 1:45 PM | Last reply by Ed Price - MSFT - Monday, October 15, 2012 9:28 PM -
0 Votes
Getting HTTP 404 error
So I set my startup page to /Features/Home/Index.cshtml.Answered | 2 Replies | 807 Views | Created by gib898 - Wednesday, August 3, 2016 4:23 PM | Last reply by Hart Wang - Friday, August 5, 2016 7:05 AM -
0 Votes
"The system cannot find the file specified." in asp.Net MVC application (code first approach)...
If I run Index.cshtml file, then it arises following error message in the browser.Unanswered | 2 Replies | 1188 Views | Created by Dinesh Kudale - Friday, July 6, 2018 7:51 AM | Last reply by Dinesh Kudale - Saturday, July 7, 2018 9:50 AM -
0 Votes
a small ASP .NET C# problem
permalink=2341 Unfortunately I am getting NullReferenceException Error at line <ul>@Html.Raw(menuLIitems)</ul> I have your ...Proposed | 3 Replies | 2267 Views | Created by Jerry.Mouse - Tuesday, November 8, 2016 6:26 PM | Last reply by Kareninstructor - Wednesday, November 9, 2016 1:05 PM -
0 Votes
Server Error in '/' Application. Error
Requested URL: /Index.cshtml Now I have put in the mime configured to accept Index.cshtml, I ...Unanswered | 1 Replies | 589 Views | Created by WhalenAnthony - Monday, March 14, 2016 8:13 PM | Last reply by Sara Liu - Tuesday, March 15, 2016 7:37 AM -
1 Votes
getting problem with Notsupportedexception with foreach
ActionResult Index() ...Answered | 3 Replies | 5396 Views | Created by MSabbir - Thursday, September 8, 2011 8:18 AM | Last reply by Jackie-Sun - Tuesday, September 13, 2011 8:13 AM -
0 Votes
Asp.net mvc @model with custom view base + helpers
The problem comes when you add this line to the top of the view @model ...Answered | 2 Replies | 1032 Views | Created by m4strmind - Monday, July 20, 2015 4:28 PM | Last reply by m4strmind - Tuesday, July 21, 2015 1:19 PM -
0 Votes
How to get selected check boxes in MVC(.cshtml)?
Hi, I am creating mvc project, In index.cshtml page I have one button (say Show) on this button click I am opening a popup, In that popup I have 5 checkboxes and one button ...Unanswered | 1 Replies | 665 Views | Created by sushilbhat - Monday, May 22, 2017 12:06 PM | Last reply by Sabah Shariq - Monday, May 22, 2017 1:50 PM -
0 Votes
loadind dynamic menu using MVC 3 Razor Framework
login button on master page or layout page on click of that a login dialog get opened and on successful submission user get login and certain links get visible with it.I want to create same ...Proposed | 1 Replies | 5133 Views | Created by krutik - Monday, October 15, 2012 1:51 PM | Last reply by Carl Daniel - Monday, October 15, 2012 5:33 PM -
0 Votes
Web Dev - Resource Cannot be Found
Requested URL: /Views/Home/Index.cshtml Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET ...Unanswered | 3 Replies | 1375 Views | Created by Hannover Fist - Monday, May 6, 2013 5:04 PM | Last reply by pvdg42 - Monday, May 6, 2013 9:35 PM -
0 Votes
How can i get .aspx file in ASP .NET MVC 5 Empty Web Application In Visual Studio 2015?
enter "Index" under the View Name->Click on Add Button" By this i get .cs File under Controllers->DefaultController.cs and .cshtml File ...Unanswered | 2 Replies | 923 Views | Created by Palash Sachan - Wednesday, October 28, 2015 5:16 PM | Last reply by Palash Sachan - Wednesday, October 28, 2015 5:29 PM -
0 Votes
ASP.NET Question regarding onchange not firing the subroutine in code behind
Body of index.cshtml looks like the following.Unanswered | 2 Replies | 982 Views | Created by FordIT - Thursday, August 13, 2020 4:36 PM | Last reply by FordIT - Friday, August 14, 2020 9:08 AM -
1 Votes
Web Dev 2010 issue - resource cannot be found
Requested URL: /Views/Home/Index.cshtml Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET ...Unanswered | 4 Replies | 1629 Views | Created by Hannover Fist - Monday, April 22, 2013 8:46 PM | Last reply by Hannover Fist - Wednesday, May 1, 2013 6:28 PM - Items 1 to 20 of 33 Next ›
No announcements