Hello
In my webforms application I have a nested master page.
On this nested master page, inside an update panel, I have an Ajax calendar extender that targets a textbox.
For some reason when the page is first loaded, the calendar extender does not display when I click the text box.
However, it works fine after I click a control that causes a postback.
On this page I also have a modalpopupextender. When I remove the mpe the from the project the calendar extender works fine.
My script manager is on the top-level master page.
The same text box and calendar extender works fine on a normal aspx page that links to the top-level master page.
In a nutshell, the problem seems to be that when I click the text box the calendar extender on my nested master page only displays after a postback or when I remove the modalpopupextender from the page.
The browser gives me the following error message in relation to the mpe:
Script5007: Unable to get property '_events' of undefined or null reference
File: MicrosoftAjax.js, Line: 6, Column: 57360
I am using ASP.Net 4.5 and Ajax Control Toolkit v15.
Any advice is greatly appreciated.
Kind regards
Jubbs
Comments: Would you please provide a sample project?
In my webforms application I have a nested master page.
On this nested master page, inside an update panel, I have an Ajax calendar extender that targets a textbox.
For some reason when the page is first loaded, the calendar extender does not display when I click the text box.
However, it works fine after I click a control that causes a postback.
On this page I also have a modalpopupextender. When I remove the mpe the from the project the calendar extender works fine.
My script manager is on the top-level master page.
The same text box and calendar extender works fine on a normal aspx page that links to the top-level master page.
In a nutshell, the problem seems to be that when I click the text box the calendar extender on my nested master page only displays after a postback or when I remove the modalpopupextender from the page.
The browser gives me the following error message in relation to the mpe:
Script5007: Unable to get property '_events' of undefined or null reference
File: MicrosoftAjax.js, Line: 6, Column: 57360
I am using ASP.Net 4.5 and Ajax Control Toolkit v15.
Any advice is greatly appreciated.
Kind regards
Jubbs
Comments: Would you please provide a sample project?