ASP namespace recognition

When I reference a user control (using @Reference in my page's .aspx file),
the ASP namespace generated by ASP.NET is not recognized by R# but builds in
VS2005 just fine. Is this a known issue? Thanks, Steve

// UserControl.ascx.cs
public partial class UserControl_TestControl : System.Web.UI.UserControl
{}

// Test.aspx
<%@ Page ...
<%@Reference Control="~/UserControls/TestControl.ascx" %>
...

//Test.aspx.cs
...
protected void Page_Load...
{
// The ASP below is not recognized by R# but fine for VS
ASP.usercontrols_testcontrol_ascx ctl =
LoadControl("~/UserControls/TestControl.ascx") as
ASP.usercontrols_testcontrol_ascx;
}



1 comment
Comment actions Permalink

Steve,

Reference directives are not supported still. Could You post a request into
tracker?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.