dnd-drop and dnd-moved not working together

I'm using Angular drag and drop list for a pipeline system. I found this link. I'm using the simple drop, see my code. <div class="col-md-2" dnd-list="val" ng-repeat="(key,val) in LeadList" dnd-drop="drop($index,key,val,item)"> <div cla...
more »

2017-10-14 09:10 (0) Answers

Enable HTTP compression with ASP.NET Web API

We serve files for a website from our Asp .NET Web API: public class Startup { public void Configuration(IAppBuilder app) { var clientHostname = System.Configuration.ConfigurationManager.AppSettings["ClientHostname"]; var st...
more »

2017-10-13 23:10 (2) Answers

ASP.NET MVC - Get Id from a dropdownlist

I'm new in ASP.NET MVC and i have a problem. I needed to get a string "Category" from a dropdownlist, that was my code: var CList = new List<string>(); StreetFooder sf = db.StreetFooders.Single(s => s.User.UserName == this.User.Identity.Na...
more »

2017-10-13 12:10 (3) Answers

Bundling and minification ASP.NET

I have a huge web application that bundles and minifies a huge amount of javascript and css files. When we release a new version, we notice that at the first request of each page (controller + view) the software takes a lot of time to respond. So, I...
more »

2017-10-13 12:10 (2) Answers

Secure flag for ASPXAUTH Cookie in MVC

We have an Application which is developed using ASP.NET MVC3. Penetration-test done by an IBM AppScan tool. Issue has been reported and it was ASPXAUTH is not secure. When I checked on the browser's developer tools, there are some cookies with Sec...
more »

2017-10-13 12:10 (1) Answers

Update google heatmap

I have asp.net project I have google heatmap in View and need to update it Here is script code on client side. @section scripts { <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCea6mL2cqwVid2ESIjuJ0C31RbNVQN...
more »

2017-10-13 10:10 (1) Answers

Use validation on GridView with BoundField

I'm new in aspx and I have a grid like this: <asp:GridView ID="grdViewTareas" AutoGenerateColumns="false" runat="server" CssClass="Grid"> <Columns> <asp:BoundField DataField="stardate" HeaderText="Fecha Inicio" DataFormatString=...
more »

2017-10-12 19:10 (1) Answers

Submit a dbgeography form

I have a problem when submitting the form for a new creation, the problem that I can not validate the data of variable dbgeometry .. the error message is "No constructor without parameter defined for this object." this is my code controller : [H...
more »

2017-10-12 19:10 (1) Answers

Image next to text in ASP.NET View

I would like to display some text next to an Image I have, however no matter how I change the css it does not seem to respond. In de css file I tried changing "p.StoryLineText" to Just StoryLineText, to just p, I tried p .StoryLine text. Am I missing...
more »

2017-10-12 15:10 (1) Answers

pass code behind variable value to link in aspx

I have value in variable in code behind file. I want to pass that value to link present in aspx page. this is my code behind file code. string SchoolCode = Request.QueryString["School_Code"].ToString(); This is my aspx page. <a href="Prog...
more »

2017-10-12 08:10 (1) Answers

Odata with Asp.net and angularjs

I am following up in the course AngularJS Front to Back with Web API using ASP.net, we are trying to do queries using ODATA so i added this code in the ProductController in the WebAPI // GET: api/Products [EnableQuery()] public IQueryable<Product...
more »

2017-10-11 22:10 (1) Answers

Unexpected character '$' jQuery

I have created a new web site in vs 2012, the site was created with some default pages (new feature in vs 2012). Now I have added a .js file into my solution. I have called this .js file on my .aspx page like :- <script src="../../Scripts/Login/L...
more »

2017-10-11 11:10 (4) Answers

HtmlDocument get form

I'm working with HtmlDocument and HtmlWeb. I usually get the form element by its id using: HtmlDocument doc = new HtmlDocument(); //get the form doc.LoadHtml(htmlPreviousForm); var form = doc.GetElementbyId("postingForm"); However, the page that ...
more »

2017-10-10 22:10 (1) Answers

HTTP Error 500.52 - URL Rewrite Module Error

URL routing is working fine but when i create application in IIS website, application stop working with error HTTP Error 500.52 - URL Rewrite Module This rule is working fine (http://abcd/) <rule name="AngularJS Routes" stopProcessing="fals...
more »

2017-10-10 10:10 (1) Answers

ASP.NET json.Net xml to json

I tried to convert some xml Code in my Webpage. So I tried to using json.net. All worked well until I tried to display my string hello. My aspx.cs Site looks like this: aspx.cs public partial class json : System.Web.UI.Page { public class Ac...
more »

2017-10-10 08:10 (1) Answers

C# - Troubleshoot .net Windows Service

I have created new windows service to send an email. It is working properly in my local and Test environment but when we deployed into UAT server it is getting stopped after sometime. Even If we restart the service, again it is getting stopped. And...
more »

2017-10-10 07:10 (0) Answers

How can I call global.asax on .asp page open

Hi on redirecting of catalogsmain.asp I want to call Global.asax file and in that I want to call Application_BeginRequest method. Actual I have one old website which is created in old ASP so it contains all page with extension .asp. Now we had creat...
more »

2017-10-09 19:10 (1) Answers

Run seed method from controller

I am planning to host my asp.net mvc application. And I wanted my client to be able to run seed method from controller's method. This is what I have now: public class Configuration : DbMigrationsConfiguration<CUDbContext> { pu...
more »

2017-10-09 16:10 (1) Answers