Hi Folks,
I am trying to use a rounded corners extender on an aspx page for an asp:Panel control (I have also tried the drop shadow extender). When I run the application I get the error message: Microsoft JScript runtime error: Unable to get the value of the property UI: object is null or undefined.
The offending line is:-
$create(Sys.Extended.UI.RoundedCornersBehaviour, { "id":"MainContent_RCE"},null,null,$get("MainContent_pnlX"));
The project is just a standard VS2010 .Net 4, C# Web Application. The page is in the ~/Forms sub-directory of the project and is protected by a web.config in that directory which contains a "deny users="?" section. The user cannot access the page until they have logged in.
If I remove the reference to the rounded corners extender from the page, everything works fine (except not rounded corners), when I add the markup back, the application again fails.
After a little testing I found that if I move the the aspx page to the root directory of the application where the user does not have to login, the error message goes away and the rounded corners extender then works.
It also works if I remove the web.config from the sub-directory (and remove the access protection)
Would anyone have a work-a-round for getting it working with the access protection?
Regards
Andy