InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Cannot open .ASCX Files in VS2003 Expand / Collapse
Author
Message
Posted 25/01/2006 00:07:24


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 27/11/2006 08:23:10
Posts: 13, Visits: 31
Any ideas on how to fix this so I can get a designer (and intellisense) for the ASCX controls?

Much appreciated.


Chris ... Currently Exploring InstantForums Implimentations

  Post Attachments 
VS2003-Error.gif (693 views, 8.70 KB)
Post #9809
Posted 25/01/2006 09:09:14
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2006 01:27:14
Posts: 276, Visits: 3,858
If I remember correctly you get that when you try to visually design a file that as it says can't be visually designed.  Try opening the ascx file in code view.



Jimmy Stuart
Post #9817
Posted 25/01/2006 12:57:13
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 11/06/2008 22:22:08
Posts: 146, Visits: 657
Is this a file for InstantForum?

I'm assuming not (as I can open those in designer view with no problem in VS 2003).

I'm also assuming you copied a file and tried to open it after copying it... you'll need to change the reference at the top in code view first. It'll refer to the original code behind file you copied.



--

http://www.the-pork.net ... highly customized version of InstantForum. 

Post #9825
Posted 25/01/2006 14:55:29


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 27/11/2006 08:23:10
Posts: 13, Visits: 31
This is trying to open the file Skins\Classic\Controls\MainNavigation.ascx.
I should be able to get a designer on it and not have to edit everyting in code view.


Chris ... Currently Exploring InstantForums Implimentations
Post #9837
Posted 25/01/2006 15:20:23
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 11/06/2008 22:22:08
Posts: 146, Visits: 657
Yea.. you should be able to open that up in designer view..

Have you changed anything in that file?

I had a problem before where I added something and forgot to close it...

i.e.

<InstantASP:HyperLink id="hypMyLink" runat="server" cssClass="SmallBoldGrayText">

Which should be

<InstantASP:HyperLink id="hypMyLink" runat="server" cssClass="SmallBoldGrayText"/>

Normally the Design View will tell you what line there is a problem though.. it's not doing that for you?

--

http://www.the-pork.net ... highly customized version of InstantForum. 

Post #9839
Posted 25/01/2006 15:21:56
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 11/06/2008 22:22:08
Posts: 146, Visits: 657
Can you post what you have in the header of your file?

It should be:

<%@ Control Language="vb" %> <%@ Control Language="vb" %>
<% @Register tagPrefix="InstantASP" Namespace="InstantASP.Common.UI.WebControls" Assembly="InstantASP.Common.UI" %>
<% @Register tagPrefix="InstantASP" Namespace="InstantASP.Common.UI.WebControls" Assembly="InstantASP.Common.UI" %>

--

http://www.the-pork.net ... highly customized version of InstantForum. 

Post #9840
Posted 25/01/2006 15:33:40
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 11/06/2008 22:22:08
Posts: 146, Visits: 657
Can you open that template from the other Skin folder?

--

http://www.the-pork.net ... highly customized version of InstantForum. 

Post #9841
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 12:47am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 11 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.