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 days, and your site root url can lose its SEO rank if there are too many different query string attached such as www.yoursite.com/?a=b&b=c and www.yoursite.com/default.aspx?wt=129. It will be [...]
Posts Tagged ‘asp.net’
Keeping site root url clean without query string
Posted in Programming, tagged asp.net, reflection on April 2, 2009 | Leave a Comment »
add a reference to assembly ‘System.Web.Extensions…
Posted in Programming, tagged asp.net on November 27, 2008 | 1 Comment »
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 assembly does not have a reference to ‘System.Web.Extensions’ and it was true. Definitely, I added the reference to my project, but the compiled dll does not have it. [...]
default button for asp.net user control (.net 1.1)
Posted in Uncategorized, tagged asp.net, javascript on November 22, 2007 | Leave a Comment »
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))) || (event && event.keyCode == 13)) 412 {{ 413 document.forms[0].action = ‘{0}’; 414 {1}; 415 return false; 416 }} 417 }} 418 if (!!document.forms[0]['{2}']) 419 document.forms[0]['{2}'].onkeydown = [...]
CS1595 ‘…’ is defined in multiple places error when you use a user control
Posted in Programming, tagged asp.net on November 7, 2007 | Leave a Comment »
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, though they belong to different namespaces. I googled this a little bit and there are a few solutions. change webcontrol .ascx name. asp.net compiler does not like same [...]