Hi I am studying for mcts certification and this question is confusing me
"you make use of asp.net 3.5 to create a web application.you decide to add a javascrip file
named CKScripts.js as embedded resource. this file will exist in a project subfolder named TestScripts.
the name of the application assembly is Company.the default namespace of the application is Company.Web.
Management wants you to ensure that the ScriptManager control is used toregister the script for usage in the Web application"
answer:
<ScriptManager ID=""....><scripts><asp:ScriptReference Assembly="Company" Name="Company.Web.TestScripts.CKScripts.js"/>
Ok my confusion is: if the javascript 'file' is embedded in the assembly called 'company' then the name attribute should have been
company.ckscripts.js.... this
Name="Company.Web.TestScripts.CKScripts.js"
what does it signify?
I mean when i embed a resource like javascript is it embedded 'raw ' or as compiled product ;