By default, IIS7 intercepts 4xx and 5xx status responses with its own custom error pages. At work, we have a custom redirection module that checks if the… Read more “Skipping IIS Custom Error pages”
Tag: asp.net
Keeping site root url clean without query string
References ASP.Net Cookies Overview Adding parameters to query string at run time Reflection Binding Flags Enumeration .Net reflector SEO is becoming more and more important issue these… Read more “Keeping site root url clean without query string”
add a reference to assembly ‘System.Web.Extensions…
I was adding a ajax-enabled control on a page and suddenly having “… You must add a reference to assembly ‘System.Web.Extensions…” error. It complained that my website… Read more “add a reference to assembly ‘System.Web.Extensions…”
default button for asp.net user control (.net 1.1)
406 control.BasePage.RegisterStartupScript(“DefaultButtonForLogin”, String.Format(@” 407 <script language=””javascript””> 408 <!– 409 function handler(e) 410 {{ 411 if ((e && ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)))… Read more “default button for asp.net user control (.net 1.1)”
CS1595 ‘…’ is defined in multiple places error when you use a user control
CS1595: ‘_ASP.FormsLoginPart_ascx’ is defined in multiple places; using definition from ‘c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\recruitment_selfservice\858213b9\9a24bb64\tyrklreb.dll’ I have this error often, because some .net webcontrols have the same file name,… Read more “CS1595 ‘…’ is defined in multiple places error when you use a user control”