i have created project referring to http://weblogs.asp.net/johnkatsiotis/archive/2008/07/23/asp-net-ajax-4-0-template-example.aspx this example . now i want to separate the" some data....." template to another page. with the "" remains in the same aspx page.
PROBLEM : in .js file
var t = new Sys.Preview.UI.Template.getTemplate($get("myTemplate")); t.createInstance($get("data"), {....,...,some data}
this statement get the templates from the same page ie from where this page is called... now that i have separated the two div (templates) it gives me an error .... "Microsoft JScript runtime error: 'null' is null or not an object"
what i can do to separate two div tags in different pages