CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_web_developer_2008_express Tags:
Item Type: Date Entered: 2/12/2008 6:55:38 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 36 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"Pathiya007" <>
NewsGroup User
cannot view controls in mastre page and other pages with master page vwd 20082/12/2008 6:55:38 PM

0

I have written web application in visual web developer 2005.

when I open this application in V W D 2008 I cannot view controls in master page. when open Masterpage and click on desgin it display images , tree, lables  and etc. then disappeared 

 same thing happend for pages with master page.

why this is happening.

in source code some cssclass are underlined says class or css value not defined. Does this the origin of the problem

 

"Mikhail Arkhip
NewsGroup User
Re: cannot view controls in mastre page and other pages with master page vwd 20082/12/2008 7:00:12 PM

0

It is difficult to say without seeing page markup. Can you post page HTML here?


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"Pathiya007" <>
NewsGroup User
Re: cannot view controls in mastre page and other pages with master page vwd 20082/12/2008 7:34:35 PM

0

<%@ Master Language="VB" Debug="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

some code here................

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >

<head id="Head1" runat="server">

<title>SOAP</title>

<link href="SoapMaster.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript">

</script>

</head>

<body>

<form id="MainForm" runat="server">

 

<div id="header" style="left: 0%; top: 0%" >

<div id="logo" style="left: 0%; top: 0px" >

<asp:Image ID="Image1" runat="server" Height="36px" ImageUrl="~/images/test.jpg"

Width="162px" /></div>

<div id="links">

<asp:LinkButton ID="LinkButtonTasks" runat="server" Font-Bold="True"

OnClick="LinkButtonTasks_Click" CssClass="links">Tasks</asp:LinkButton>

<asp:LinkButton ID="LinkButtonp"

runat="server" Font-Bold="True" OnClick="LinkButtonProvisioning_Click" CssClass ="links">Provisioning</asp:LinkButton>

<asp:LinkButton

ID="LinkButtonManagement" runat="server" Font-Bold="True" OnClick="LinkButtonManagement_Click" CssClass="links">Management</asp:LinkButton></div>

 

 

</div>

some other .....................................

<div id="footer" style="color: white; left: 0%; top: 96%" lang="javascript" onclick="return footer_onclick()" class="footer">

<div >

&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<asp:Label ID="Label1" runat="server" Text="You are logged in as :" CssClass="footer"></asp:Label>

<asp:Label ID="lbluname" runat="server" CssClass="footer" ></asp:Label>

<asp:LoginName ID="LoginName1" runat="server" CssClass="footer"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;

<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="RedirectToLoginPage" Width="45px" LoginText="Logout" CssClass="footer" />

&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;

<asp:HyperLink ID="hlChangePassword" runat="server" NavigateUrl="~/anonym/passwChange.aspx" CssClass="footer">Change Password</asp:HyperLink></div>

</div>

 

</form>

</body>

</html>

"Mikhail Arkhip
NewsGroup User
Re: cannot view controls in mastre page and other pages with master page vwd 20082/13/2008 12:31:34 AM

0

You have labels in a DIV with style="color: white;". This makes text render white on white (i.e. invisible).


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"Pathiya007" <>
NewsGroup User
Re: cannot view controls in mastre page and other pages with master page vwd 20082/13/2008 3:12:19 PM

0

but My problem is not that I cant see any web controls in design view, when open application in visual web developer 2008.

when I open this in version 2005. I can see all the controls and add new controls and modify old once with out going to source code.

pls solve this problem

 

 

 

"Mikhail Arkhip
NewsGroup User
Re: cannot view controls in mastre page and other pages with master page vwd 20082/13/2008 10:26:34 PM

0

I opened the page in 2005 and 2008 and the only difference is that 2005 is rendering a thin frame around every server control, even invisible one. Rendering frame changes page layout so 2008 designer is not doing it. Instead of using color to hide elements, try using style="visibility:hidden" or style="display:none". Then you'll be able to use View | Visual Aids commands to turn on/off invisible control rendering as needed. Remember, no every browser has background set to write (visually impaired people may have it set to black for higher contrast, ignoring colors you specify) and therefore controls invisible on your screen may be visible on someone's else computer.

You can also use Document Outline or dropdown on top of the Properties window to select invisibile controls.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
6 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT