[{"data":1,"prerenderedAt":459},["ShallowReactive",2],{"article-asp-net-ajax-client-library-global-shortcut-list":3},{"article":4,"tags":335,"previous":350,"next":421},{"id":5,"title":6,"author":7,"body":8,"createdAt":323,"description":324,"extension":325,"img":326,"meta":327,"navigation":328,"path":329,"seo":330,"stem":331,"tags":332,"updatedAt":323,"__hash__":334},"articles\u002Farticles\u002Fasp-net-ajax-client-library-global-shortcut-list.md","ASP.NET AJAX Client Library Global Shortcut List","[object Object]",{"type":9,"value":10,"toc":319},"minimark",[11,21,24,27,39,51,60,100,109,151,160],[12,13,14],"p",{},[15,16,20],"span",{"className":17,"style":19},[18],"Apple-style-span","word-spacing: 0px; font: 13px arial; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0","Recently, Microsoft released their ASP.NET AJAX Framework which allows developers to build AJAX applications more easily.  ASP.NET AJAX consists of two pieces. ",[12,22,23],{},"1.) Microsoft AJAX Library - contains a set of script files that provide common functions and an OO programming framework",[12,25,26],{},"2.) ASP.NET 2.0 AJAX Extensions - includes a set of server controls that allows developers to add AJAX functionality by dragging and dropping controls onto a page",[12,28,29,30,38],{},"The following are brief descriptions of the javascript extensions made available by the AJAX Client Library by Namespace.  ",[15,31,33,37],{"className":32,"style":19},[18],[34,35,36],"strong",{},"Global Namespace"," - contains members and types that extend base JavaScript objects.","  ",[40,41,42,43,50],"blockquote",{},"   ",[15,44,46,49],{"className":45,"style":19},[18],[34,47,48],{},"Array Extensions"," (add, addRange, clear, clone, contains, dequeue, enqueue, forEach, indexOf, insert, pars, remove, removeAt)"," ",[40,52,42,53,50],{},[15,54,56,59],{"className":55,"style":19},[18],[34,57,58],{},"Boolean ","Extension (parse - converts a string into a Boolean)",[40,61,42,62],{},[15,63,65,68,69,72,73,75,76],{"className":64,"style":19},[18],[34,66,67],{},"Date ","Extension (format, localeFormat, parseInvariant, parseLocale)",[70,71],"br",{},"\nvar today = new Date();",[70,74],{},"\nalert (today.format('D'));",[12,77,78,79,81,82,84,85,87,88,90,91,93,94,96,97,99],{},"d - Short date pattern (05\u002F10\u002F07)",[70,80],{},"\nD - Long date pattern (Thursday, 10 May 2007)",[70,83],{},"\nt - Short time pattern (18:05)",[70,86],{},"\nT - Long time pattern (18:05:12)",[70,89],{},"\nF- Full date pattern (Thursday, 10 May 2007 18:05:12)",[70,92],{},"\nM - Month and date pattern (May 10)",[70,95],{},"\ns - Sortable date and time pattern (2007-05-10T18:05:12)",[70,98],{},"\nY - Year and month pattern (2007 May) ",[40,101,42,102,50],{},[15,103,105,108],{"className":104,"style":19},[18],[34,106,107],{},"Error Extensions"," (argument, argumentNull, argumentOutOfRange, argumentType, argumentUndefined, create, invalidOperation, notImplemented, parameterCount, popStackFrame)",[40,110,42,111,118,119],{},[15,112,114,117],{"className":113,"style":19},[18],[34,115,116],{},"Number Extension"," (format, localeFormat, parseInvariant, parseLocale)","    ",[15,120,122,123,125,126,128,129,131,132],{"className":121,"style":19},[18],"        p - number is converted to a string that represents a percent",[70,124],{},"\nd - converted to a string of decimal digits",[70,127],{},"\nc - converted to a string that represents a currency",[70,130],{},"\nn - converted to a string of the form \"-d,ddd,dd\"",[12,133,134,135,137,138,50],{},"var num = Number.parseInvariant(\"130.33\");",[70,136],{},"\nalert (num.localeFormat(\"c\")); \u002F\u002F $130.33    ",[15,139,141,144,145,147,148,150],{"className":140,"style":19},[18],[34,142,143],{},"Object Extensions"," (getType, getTypeName)",[70,146],{},"\ngetType - returns the type of specified object",[70,149],{},"\ngetTypeName - returns the type name of an object",[40,152,42,153,50],{},[15,154,156,159],{"className":155,"style":19},[18],[34,157,158],{},"String Extension"," (endsWith, format, localeFormat, startsWith, trim, trimEnd, trimStart)",[15,161,163,171,205,223,224],{"className":162,"style":19},[18],[34,164,165,50],{},[166,167,170],"a",{"href":168,"target":169},"http:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fbb397536.aspx","_blank","Sys Namespace",[12,172,173,174,176,177,179,180,182,183,185,186,188,189,191,192,194,195,197,198,200,201],{},"Sys - root namespace containing some base classes such as Sys.CultureInfo",[70,175],{},"\nApplication - objects\u002Fmethods that expose client events and manage client components",[70,178],{},"\nApplicationLoadEventArgs - container object for arguments of the Application Load event",[70,181],{},"\nCancelEventArgs - base class for events that can be canceled",[70,184],{},"\nComponent - base class for all asp.net ajax objects including Control class and Behavior class",[70,187],{},"\nCultureInfo - object that can be used to provide locale specific functionality",[70,190],{},"\nDebug code - debugging and tracing functionality",[70,193],{},"\nEventArgs - used for storing event arguments",[70,196],{},"\nEventHandlerList - collection of client events for a component containing event names and handlers\nPropertyChangedEventArgs - contains event arguments associated with changed properties",[70,199],{},"\nStringBuilder - facilitates more efficient ",[166,202,204],{"href":203,"target":169},"http:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fbb310852.aspx","string concatenation",[12,206,207,208,210,211,213,214,216,217,219,220,222],{},"Sys.Net - provides networking and communication support",[70,209],{},"\nSys.UI - contains set of classes for UI support",[70,212],{},"\nSys.Services - support for asp.net application services such as login\u002Fauthentication",[70,215],{},"\nSys.Serialization - provides support for data serialization\u002FJson",[70,218],{},"\nSys.WebForms - contains classes for async page loading",[70,221],{},"\n  ","                                                                                                                                                                                                                                                                      ",[225,226,230],"table",{"cellSpacing":227,"cellPadding":227,"width":228,"border":229},"0",748,0,[231,232,233,250,258,266,274,282,290,298,306,313],"tbody",{},[234,235,236,244],"tr",{},[237,238,241],"td",{"vAlign":239,"width":240},"top",145,[34,242,243],{},"Shortcut",[237,245,247],{"vAlign":239,"width":246},601,[34,248,249],{},"Description",[234,251,252,255],{},[237,253,254],{"vAlign":239,"width":240},"$addHandler",[237,256,257],{"vAlign":239,"width":246},"Shortcut to Sys.UI.DomEvent.addHandler method",[234,259,260,263],{},[237,261,262],{"vAlign":239,"width":240},"$addHandlers",[237,264,265],{"vAlign":239,"width":246},"Shortcut to Sys.UI.DomEvent.addHandlers method ",[234,267,268,271],{},[237,269,270],{"vAlign":239,"width":240},"$clearHandlers",[237,272,273],{"vAlign":239,"width":246},"Shortcut to Sys.UI.DomEvent.clearHandlers method",[234,275,276,279],{},[237,277,278],{"vAlign":239,"width":240},"$create",[237,280,281],{"vAlign":239,"width":246},"Shortcut to Sys.Component.create method",[234,283,284,287],{},[237,285,286],{"vAlign":239,"width":240},"$find",[237,288,289],{"vAlign":239,"width":246},"Shortcut to Sys.Application.findComponent method",[234,291,292,295],{},[237,293,294],{"vAlign":239,"width":240},"$get",[237,296,297],{"vAlign":239,"width":246},"Shortcut to Sys.UI.DomElement.getElementId method",[234,299,300,303],{},[237,301,302],{"vAlign":239,"width":240},"$removeHandler",[237,304,305],{"vAlign":239,"width":246},"Shortcut to System.UI.DomEvent.removeHandler method",[234,307,308,311],{},[237,309,310],{"vAlign":239,"width":240}," ",[237,312,310],{"vAlign":239,"width":246},[234,314,315,317],{},[237,316,310],{"vAlign":239,"width":240},[237,318,310],{"vAlign":239,"width":246},{"title":320,"searchDepth":321,"depth":321,"links":322},"",2,[],"2015-04-20T08:07:16.9200000-04:00","The following are brief descriptions of the javascript extensions made available by the AJAX Client Library by Namespace","md","\u002Farticles\u002Fimages\u002FfB5BBkL2by.png",{},true,"\u002Farticles\u002Fasp-net-ajax-client-library-global-shortcut-list",{"title":6,"description":324},"articles\u002Fasp-net-ajax-client-library-global-shortcut-list",[333],"javascript","WhenAc5IArfx2XOO9yOgZabko6SX3dvPL2yA13Q5O50",[336],{"id":337,"title":338,"body":339,"description":343,"extension":325,"img":344,"meta":345,"name":333,"navigation":328,"path":346,"seo":347,"stem":348,"__hash__":349},"tags\u002Ftags\u002Fjavascript.md","Javascript",{"type":9,"value":340,"toc":341},[],{"title":320,"searchDepth":321,"depth":321,"links":342},[],"JavaScript is a programming language adhering to the ECMAScript spec.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598425237654-4fc758e50a93?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fjavascript",{"description":343},"tags\u002Fjavascript","wqzmOtgcvcAeeB0QinMxw2OqnSglrJN0TeWQ-fulunM",{"id":351,"title":352,"author":7,"body":353,"createdAt":323,"description":413,"extension":325,"img":409,"meta":414,"navigation":328,"path":415,"seo":416,"stem":417,"tags":418,"updatedAt":323,"__hash__":420},"articles\u002Farticles\u002Fasp-net-4-feature-increase-the-url-character-length-plus-more.md","ASP.NET 4 Feature Increase the URL character length plus more",{"type":9,"value":354,"toc":411},[355,358,376,390,400,403],[12,356,357],{},"In previous versions of ASP.NET,  URLs were limited to 260 characters in length (based on the NTFS file-path limit).",[12,359,360,361,365,366,369,370,372,373],{},"But in ASP.NET 4.0 developers have the option of increasing or decreasing  the length of URLs by using  the new ",[362,363,364],"b",{},"maxRequestPathLength","\nand ",[362,367,368],{},"maxQueryStringLength",".      ",[362,371,364],{}," - To allow longer or shorter paths (the portion of the URL that does not include protocol,\nserver name, and query string), modify the maxRequestPathLength attribute.     ",[34,374,375],{},"maxQueryStringLength - ",[12,377,378,379,381,382,385,386,389],{},"To allow longer or shorter query strings\n, modify the value of the maxQueryStringLength attribute.     For example..  \u003ChttpRuntime maxRequestPathLength=\"360\" maxQueryStringLength=\"1024\" \u002F>",[70,380],{},"\nASP.NET 4 also enables you to ",[34,383,384],{},"configure the characters that are used by the URL character check",". When ASP.NET finds an invalid character\nin the path portion of a URL, it rejects the request and issues an HTTP 400 error. In previous versions of ASP.NET, the URL character checks were limited to\na fixed set of characters. In ASP.NET 4, you can ",[34,387,388],{},"customize"," the set of valid characters using the new requestPathInvalidChars attribute of the\nhttpRuntime configuration element, as shown in the following example:",[12,391,392,393,395,396,399],{},"\u003ChttpRuntime requestPathInvalidChars=\"&lt;,&gt;,*,%,&amp;,:,,?\" \u002F>",[70,394],{},"\nBy default, the ",[34,397,398],{},"requestPathInvalidChars"," attribute defines eight characters as invalid.",[12,401,402],{},"(In the string that is assigned to requestPathInvalidChars by default, the less than (\u003C), greater than (>), and ampersand (&)",[12,404,405,406],{},"characters are encoded, because the Web.config file is an XML file.) You can customize the set of invalid characters as needed.",[407,408],"img",{"src":409,"alt":320,"style":410},"\u002Farticles\u002Fimages\u002Fhair.jpg","display:none;",{"title":320,"searchDepth":321,"depth":321,"links":412},[],null,{},"\u002Farticles\u002Fasp-net-4-feature-increase-the-url-character-length-plus-more",{"title":352,"description":413},"articles\u002Fasp-net-4-feature-increase-the-url-character-length-plus-more",[419],"aspnet","7U2QWX4WIEBG_6ySWSM0ozBd780qpK3opjw_To2BOXs",{"id":422,"title":423,"author":7,"body":424,"createdAt":323,"description":413,"extension":325,"img":413,"meta":452,"navigation":328,"path":453,"seo":454,"stem":455,"tags":456,"updatedAt":323,"__hash__":458},"articles\u002Farticles\u002Fcannot-resolve-collation-conflict.md","Cannot Resolve Collation Conflict",{"type":9,"value":425,"toc":450},[426,429,432,435,438,444,447],[12,427,428],{},"“Cannot resolve collation conflict for equal to operation” – huh?",[12,430,431],{},"When joining fields in different collated databases you can see the above error message. ",[12,433,434],{},"In my particular case I had two databases with different collations and I was doing a join across the databases on the fields.",[12,436,437],{},"The resolution was to add the keywords",[12,439,440,441,443],{},"“COLLATE DATABASE_DEFAULT” near the equal ‘=’ signs.  For example:                          SELECT p1.BEEF_1 FROM dbo.PHEN p1 INNER JOIN \nDatabase2.dbo.PHEN p2 ON p1.BEEF_1 COLLATE DATABASE_DEFAULT =p2.BEEF_1 COLLATE DATABASE_DEFAULT AND",[70,442],{},"\np1.BEEF_2 COLLATE DATABASE_DEFAULT=p2.BEEF_2 COLLATE DATABASE_DEFAULT            Collation can affect where clauses, join predicates, functions and databases.",[12,445,446],{},"More about Collation  A Collation encodes the rules governing the proper use of characters for either a language,\nsuch as Greek or Polish or an alphabet such as Latin1_General (the Latin alphabet used by western European languages).",[12,448,449],{},"Each SQL Server collation specifies three properties: sort order for Unicode data types (nchar, nvarchar, ntext), the sort order for non-Unicode character types\n(char, varchar and text) and finally the code page used to store non-Unicode character data.  A SQL Server collation defines how the database engine stores and\noperates on character and Unicode data.",{"title":320,"searchDepth":321,"depth":321,"links":451},[],{},"\u002Farticles\u002Fcannot-resolve-collation-conflict",{"title":423,"description":413},"articles\u002Fcannot-resolve-collation-conflict",[457],"sqlserver","18hrmGHKYf7WtDSCubhBbJSReXrd9i7CyaWJs-LwY0Q",1781574764682]