Cross domain Ajax queries are not allowed as per w3c scripting standards and attempts to do that will result in browsers restricting such scripts to run raising exceptions with messages like “Origin null is not allowed by Access-Control-Allow-Origin” or “Access to restricted URI denied” A widely used work around to handle Cross domain Ajax queries […]
useful tip to preload images using jQuery
While filling a .Net DataSet with data from MySql, date fields can cause the error Unable to convert MySQL date/time value to System.DateTime After some research, I found a solution to this issue is to use DATE_FORMAT in the select statement like below SELECT FirstName, LastName, DATE_FORMAT(RegistrationDate, ‘%d/%m/%Y’) AS DateOfRegistration, […]
Recently we had installed a SSL certificate on one of our sites and the requests with https were being served perfectly as expected, however it was noticed that the pages were still being served perfectly even when an http request was made instead of https. This to an extent was defeating the purpose of having a certificate in place to serve secured content.
I have been facing a problem with Visual studio 2010’s intellisense. Firstly it didn’t show any intellisense options until I hit a Cntl+space and when I fixed that the auto fill would not complete until you manually select the required option from the intellisense list.
A webform by default posts back to itself. An Asp.net page can be made to post back to another page by using the PostBackUrl attribute of the ASP.Net button control.