Nov 08, 2007 03:51 PM|saqib_dotnet|LINK
Thanx for the reply....I can explain more in detail as:
I m trying to use CalendarExtender in my ascx file. The issue is i cant declare ScriptManager on this page since this get called many times based on number of rows returned and u cant add more than one ScriptManager in a page.
For this i added, the ScriptManager in the Master page. But i dont know how to use it in ascx after declaring it into the master page.
I am able to use to it in Default.aspx page using MasterPageFile ="~/MainMaster.master" ; but in ascx file, i cant declare this directive. I used Reference i.e.
<%@ Reference VirtualPath="~/Mainmaster.master" %> ; but no use.
The structure is of calling is ::
MasterPage --> Default.aspx --> Detail.ascx
I can use ajax upto Default.aspx but including file in Default.aspx but cant do anything in Detail.ascx file