Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Nov 08, 2007 02:51 PM|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