473,664 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cant swith to Design view in ASPX file. Is this a bug?

Hello I have this code and It runs FINE
but vs.net 2003 doesnt let me switch to design mode

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle
BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0"
cellPadding="0" width="300" border="1">
<TR onClick="servOC (<%#
Container.DataI tem("idpartido" )%>,'/partidos.aspx?i dpartido=<%#
Container.DataI tem("idpartido" )%>','#cad9ea') ">
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po1")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po2")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fecha")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fechareal" )%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("horareal") %></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#
Container.DataI tem("idpartido" )%>'>
<TD borderColor="#f fffff" colSpan="7"><if rame src=""
id='ihif<%# Container.DataI tem("idpartido" )%>' width="100%"></iframe></TD>
</TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
Nov 19 '05 #1
7 1772
What does it say when you try and switch to design view?
Nov 19 '05 #2
Hi

I can confirm too that when a page contains dynamic binding phrases that
contain quotes - usually vs.net.2003 is having a hard time switching to
design view.

.......'<%# "..." %>'

Eric

"Luis Esteban Valencia" wrote:
Hello I have this code and It runs FINE
but vs.net 2003 doesnt let me switch to design mode

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle
BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0"
cellPadding="0" width="300" border="1">
<TR onClick="servOC (<%#
Container.DataI tem("idpartido" )%>,'/partidos.aspx?i dpartido=<%#
Container.DataI tem("idpartido" )%>','#cad9ea') ">
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po1")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po2")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fecha")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fechareal" )%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("horareal") %></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#
Container.DataI tem("idpartido" )%>'>
<TD borderColor="#f fffff" colSpan="7"><if rame src=""
id='ihif<%# Container.DataI tem("idpartido" )%>' width="100%"></iframe></TD>
</TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #3
Design Mode cant be opened. Different values of single quotes inside a block
'<% ... "value" ... %>'

This is spanish translation.

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
"Scott Simons" <Scott.Simons.A t.MealMagic.Com .Remove.This> escribió en el
mensaje news:E5******** *************** ***********@mic rosoft.com...
What does it say when you try and switch to design view?

Nov 19 '05 #4
WJ
By default, only .ASPX is needed for IIS to run it. However, for VS.Net to
open a .ASPX in "design" mode, not html mode, it requires code behind and
resource files of the .ASPX file. Unless you damaged the .ASPX file, but
likely not because you indicated that it is still working.

John
Nov 19 '05 #5
try this..

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0" cellPadding="0"
width="300" border="1">
<TR
onClick='servOC ("<%#Container. DataItem("idpar tido")%>","/partidos.aspx?i dpartido=<%#Con tainer.DataItem ("idpartido")%> ","#cad9ea" )'>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" nombreequipo1") %></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" nombreequipo2") %></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" fecha")%></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" fechareal")%></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" horareal")%></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#Cont ainer.DataItem( "idpartido")%>' >
<TD borderColor="#f fffff" colSpan="7"><if rame src="" id='ihif<%#
Container.DataI tem("idpartido" )%>' width="100%"></iframe>
</TD>
</TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

"Luis Esteban Valencia" wrote:
Hello I have this code and It runs FINE
but vs.net 2003 doesnt let me switch to design mode

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle
BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0"
cellPadding="0" width="300" border="1">
<TR onClick="servOC (<%#
Container.DataI tem("idpartido" )%>,'/partidos.aspx?i dpartido=<%#
Container.DataI tem("idpartido" )%>','#cad9ea') ">
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po1")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po2")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fecha")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fechareal" )%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("horareal") %></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#
Container.DataI tem("idpartido" )%>'>
<TD borderColor="#f fffff" colSpan="7"><if rame src=""
id='ihif<%# Container.DataI tem("idpartido" )%>' width="100%"></iframe></TD>
</TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #6
Hi Luis,

Your problem might be here:

<TR onClick="servOC (<%#
Container.DataI tem("idpartido" )%>,'/partidos.aspx?i dpartido=<%#
Container.DataI tem("idpartido" )%>','#cad9ea') ">

The "idpartido" in the DataItem() is enclosed in quotes. But the entire
onClick code is also enclosed in quotes. So these would either need to be
""idpartido "" or 'idpartido' for it to work. I think. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Luis Esteban Valencia" <lu*******@hace b.com> wrote in message
news:O3******** *****@TK2MSFTNG P11.phx.gbl...
Hello I have this code and It runs FINE
but vs.net 2003 doesnt let me switch to design mode

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle
BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0"
cellPadding="0" width="300" border="1">
<TR onClick="servOC (<%#
Container.DataI tem("idpartido" )%>,'/partidos.aspx?i dpartido=<%#
Container.DataI tem("idpartido" )%>','#cad9ea') ">
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po1")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po2")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fecha")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fechareal" )%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("horareal") %></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#
Container.DataI tem("idpartido" )%>'>
<TD borderColor="#f fffff" colSpan="7"><if rame src=""
id='ihif<%# Container.DataI tem("idpartido" )%>' width="100%"></iframe></TD>
</TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle> <HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #7
eXCELENT

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
"vinay" <vi***@discussi ons.microsoft.c om> escribió en el mensaje
news:16******** *************** ***********@mic rosoft.com...
try this..

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0" cellPadding="0"
width="300" border="1">
<TR
onClick='servOC ("<%#Container. DataItem("idpar tido")%>","/partidos.aspx?i dpar
tido=<%#Contain er.DataItem("id partido")%>","# cad9ea")'> <TD borderColor="#f fffff"><%#Conta iner.DataItem(" nombreequipo1") %></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" nombreequipo2") %></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" fecha")%></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" fechareal")%></TD>
<TD borderColor="#f fffff"><%#Conta iner.DataItem(" horareal")%></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#Cont ainer.DataItem( "idpartido")%>' >
<TD borderColor="#f fffff" colSpan="7"><if rame src="" id='ihif<%#
Container.DataI tem("idpartido" )%>' width="100%"></iframe>
</TD>
</TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

"Luis Esteban Valencia" wrote:
Hello I have this code and It runs FINE
but vs.net 2003 doesnt let me switch to design mode

<asp:DataList id="datalistpar tidos" runat="server" GridLines="Vert ical"
CellPadding="3" BorderWidth="1p x"
BorderColor="#9 99999" BackColor="Whit e" BorderStyle="No ne">
<SelectedItemSt yle Font-Bold="True" ForeColor="Whit e"
BackColor="#008 A8C"></SelectedItemSty le>
<AlternatingIte mStyle
BackColor="Gain sboro"></AlternatingItem Style>
<ItemStyle ForeColor="Blac k" BackColor="#EEE EEE"></ItemStyle>
<ItemTemplate >
<TABLE id="Table6" borderColor="na vy" cellSpacing="0"
cellPadding="0" width="300" border="1">
<TR onClick="servOC (<%#
Container.DataI tem("idpartido" )%>,'/partidos.aspx?i dpartido=<%#
Container.DataI tem("idpartido" )%>','#cad9ea') ">
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po1")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("nombreequi po2")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fecha")%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("fechareal" )%></TD>
<TD borderColor="#f fffff"><%#
Container.DataI tem("horareal") %></TD>
<TD borderColor="#f fffff"></TD>
<TD borderColor="#f fffff"></TD>
</TR>
<TR style="display: none" id='ihtr<%#
Container.DataI tem("idpartido" )%>'>
<TD borderColor="#f fffff" colSpan="7"><if rame src=""
id='ihif<%# Container.DataI tem("idpartido" )%>' width="100%"></iframe></TD> </TR>
</TABLE>
</ItemTemplate>
<FooterStyle ForeColor="Blac k" BackColor="#CCC CCC"></FooterStyle> <HeaderStyle Font-Bold="True" ForeColor="Whit e"
BackColor="#000 084"></HeaderStyle>
</asp:DataList>

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1733
by: pmud | last post by:
Hi I have a website (ASP.NET project using C# ) which is already put up on the server. I need to make some modification to some web pages.So the project files were copied to the a different server where I could modify tha pages. But when I open the .aspx pages with Visual studio.net, then I just see the HTML code & no design view of the page. How should I edit the page when in Visual Studio I cant see the design view. Just in case...
2
2453
by: Joe Ochinero | last post by:
I've been trying to view my .aspx pages in Design View, but I'm unable to find where to activate the tabs that allow you to toggle between HTML and Design View. Please Help!
7
2840
by: Lian | last post by:
Hi every body I have a problem with accesses and visual studio. I've just installed XP and I can't get a connection with the Data base. I have this error and I don't know how to fix it The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\Manufactor\DBManufactor\dbmanufactor.mdb'. It is already opened exclusively by another user, or you need permission to view its data. Description: An unhandled exception occurred...
0
1713
by: Tony Lewis | last post by:
I'm running IIS on a Windows 2k server and have just installed the .NET framework 1.1 so I can deploy ASP.NET applications on my server through .NET Studios. All my normal ASP applications run fine in IIS but I can't run any ASP.NET pages. Everything in IIS was configured to handle the .aspx file extension by the .NET framework installation and it installed with no errors. When I try to view a simple ASP.NET page through a web browser I...
1
983
by: Nick | last post by:
Hi, I have asked this question in a few guises recently, and not had much response. But I dont think what I am asking is too obscure, so I am hoping I just need to rephrase. When a view is rendering itself (say Foo.aspx/Foo.aspx.cs), during rendering it realises it needs a secondary view to do something (lets call it Bar.aspx/Bar.aspx.cs). The logic is somehting like:
1
1865
by: Donnie | last post by:
Hello I'm receiving the following error message when I try to view an aspx page in Design view "Could not open in Design View. Quote values differently inside a '<%... "value" ... %>' block Below is the html in the page using the <%..."value" ...%> syntax <ItemTemplate><tr><td style="background:white;font-weight:bold;font-style:italic;" width="20%"><%# DataBinder.Eval(Container, "DataItem.ReportName") %></td><td...
17
2694
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but know nothing about ASP. He can build the design of the pages in HTML with tables, labels, textboxes etc. But then I would need to change them to ASP.net objects and write the code to make the page work (normally I do this as I go - can't do this...
4
1746
by: anton.hopen | last post by:
ASP.NET 2.0 master pages are great. However, I want to edit an ASPX page in FrontPage for aesthetic styling reasons. The ASPX page is linked to a master page so it naturally has a contentplaceholder ID. Right-click in VS2005 and open it in MS FrontPage. Source appears file. However, design view (the real reason I'm in FP anyway) will not display unless I remove the ContentPlaceHolder tag. Specifically: <asp:Content ID="Content1"...
2
2428
by: dotnetgal | last post by:
Hi I am new to ASP.Net.I have created a file system based web application.I tried to view it in browser.I can do so when i do http://localhost:portno/<project name>.However I cannot view it when i do http://<computername>:portno/<project name>.I cant unserstand where the problem is.I have placed the project inside wwwroot and have webshared it well.I have allowed it in network sharing too.Another thing that is confusing me is when i dont...
0
8437
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8778
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7375
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4351
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2764
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2003
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1759
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.