Using a MVC attribute to confirm identity, rediect to signin, then to...
I wrote my own identity attribute for MVC, but it has 1 flaw in it. So when I create links to the users account, if they haven't logged in, the attribute catches it and redirects them to login. In the...
View ArticleFailed to resolve include text for...
Hi all, I am getting the following errors when I am trying to create a small AngualJS 2.0 application, errors are as follows Failed to resolve include text for file: Directory\Manager.ttinclude Loading...
View Articleaspx on mobile browsers
I have to start with a new project which is asp.net web application. I have great experience working on this kind of apps, but for PC users only on company level and company network. Now I have to make...
View ArticleError: The OutputLogFile parameter is not supported by the VsTsc task. Verify...
Hi, I am getting the following errors The OutputLogFile parameter is not supported by the VsTsc task. Verify the parameter exists on the task, and it is a settable public instance property The VsTsc...
View ArticleC#, MVC5 WebGrid export to Excel
I have a webgrid that I need to export the data to excel, that part I done in code:@{ Layout = null; Response.AddHeader("Content-disposition", "attachment; filename=report.xls"); Response.ContentType =...
View ArticleWEB API - POST handler hangs
Hi,End point (HttpPost) calls a different web request by URL from the call.It uses HttpWebRequest.GetRequestStream(...). Sometimes URL of HttpWebRequest is not available and it terminates by...
View ArticleThe imported project was not found. Confirm that the path in the...
All I am trying to open a new Angular 2.0 Project, I don't why did they make it so complex. I selected File menu -> new Project -> C# -> then Asp.Net Core Angular 2 Starter Application (.Net...
View ArticleMVC Telerik control cannot upload image more than 4M
Hello alli am using telerik control in my ASP.NET MVC project, in the image control in the radEditor i cannot upload more than 4M image, so how i can upload image size more than 4M?Please helpThank you
View ArticleASP.NET MVC 5, IIS 10 express 404.17 error
I'm getting this error :The requested content appears to be script and will not be served by the static file handler.only when I redirect to a specific page, but I don't when I access it directly. I...
View ArticleData organization problem
Since we are creating rows dynamically, we would like to ensure that when a user creates more than one row of records for a particular form field, that the results are laid out correctly.The following...
View Articledynamically change css theme does not apply on all pages
/* Change Theme */ $(".ts-themes a").click(function () { $(".ts-themes a").removeClass("active"); $(this).addClass("active"); $("#theme").attr("href", $(this).data("theme"));returnfalse; });/* END...
View ArticleNuGet Installation of EntityFramework
I have been doing some testing between VS2015 and VS2017. I created a .NetFrameworkApp and a .NetCoreApp website in both systems. I then installed a couple of packages in all four websites; in...
View ArticleQueried result from cotroller to PartialView into Listbox
Hi,I am new to ASP.NET MVC. I would like to get some help on getting custom data from controller to view.I have queried and concatenated the result of a table from model based on a criteria. I want...
View ArticleJQUERY in MVC 5 View (Navigate to hyperlink from an image in a table)
Hi. I am using MVC 5 with VB. I have an image with the code as shown below. I want to be able to click on the image and it should take me to the respective View. I want to use JQUERY to do this but I...
View Article[Solved] ASP.NET MVC 5, IIS 10 express 404.17 error
I'm getting this error :The requested content appears to be script and will not be served by the static file handler.only when I redirect to a specific page, but I don't when I access it directly. I...
View ArticleHTML Editor in MVC
I need to save HTML formatted data in SQL server probably with HTML editor but I am confused how to achieve. Could anyone please suggest appropriate approach?
View ArticleAngularGrid with Inline Editing(MVC,EF,AngularJs)
Hi, I am new in angularJS web development. Could anyone please help me to create sample application - I have two relational table 'Employee' and 'Department'. I need to create GridView in angularJS...
View ArticleHow to upload excel sheet (.xlxs) to sql server 2012 with vb.net and asp.net
Hello All,It is my first time that am posting a question here.I have research a lot on the web on how to upload excel sheet (.xlxs) to sql server 2012 database through asp.net and vb.net, however,...
View Article