Wednesday, February 24, 2016
There is no build provider registered for the extension '.asp'
I simply put <buildProviders> <add extension=".asp" type="System.Web.Compilation.PageBuildProvider"/></buildProviders> to web config file. Working perfectly.
Tuesday, July 28, 2015
Twitter bootstrap popover close all before opening a new one
Here a simple solution
$('.link-popover').click(function(){ $('.link-popover').not(this).popover('hide');});
Thanks
Saturday, July 18, 2015
Php/Mysql date saved as '0000-00-00'
The date format in Mysql is yyyy-mm-dd. Therefore we should convert the date as "Y-m-d".
$newdate= date("Y-m-d", strtotime($date));
$newdate= date("Y-m-d", strtotime($date));
Friday, July 3, 2015
The following sections have been defined but have not been rendered for the layout page "~/Views/Shared/_Layout.cshtml": "Scripts".
I put [HttpGet] Attribute above in the action. Now it's running.
If anyone know the reason, just comment below.
Thanks
Wednesday, July 1, 2015
ModelState.IsValid always false
Put this line above ModelState condition and check the values you getting for variable errors.
var errors = ModelState.Values.SelectMany(v => v.Errors);
Tuesday, May 5, 2015
A potentially dangerous Request.Form value was detected from the client
You can see this error everytime when you submit HTML code to the server. To avoid this set validateRequest="false" in the page and in .net 4 you need to add this <httpRuntime requestValidationMode="2.0" /> to the web.config file.
Thanks
Lasa
Subscribe to:
Posts (Atom)
I Built a New Kind of Number Puzzle Game (And You Can Play It Free)
For a long time, I wanted to play a mobile puzzle game that felt genuinely strategic—something that required real brainpower, skipped the a...
-
I have tried data-gramm="false" and hiding it through CSS, but neither of these solutions has worked. If anyone can resolve this i...
-
Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...
-
Microsoft Graph API is a powerful tool that allows developers to access a wide range of Microsoft 365 services, including Outlook and Calend...