>The Global.asax be default has several methods (e.g. Application_Start, Session_Start, and so on). I need to add the ScriptManager call (as shown below) to the Global.asax
>
>
>ScriptManager.ScriptResourceMapping.AddDefinition("jquery", new ScriptResourceDefinition {
>
> Path = "~/scripts/jquery-1.4.1.min.js",
>
> DebugPath = "~/scripts/jquery-1.4.1.js",
>
> CdnPath = "http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.1.min.js",
>
> CdnDebugPath = "http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.1.js"
>
> });
>
>
>In which method of Global.asax.cs the above code should go? TIA
Answer: this code goes to Application_Start method.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham