Page Rendering Issue

Posted by Ajay.Kalol under ASP.NET on 7/23/2012 | Points: 10 | Views : 1055 | Status : [Member] | Replies : 5
Hi,
I have Problem in all .aspx Page for a application, It displayed in Browser like following instead of proper UI.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title> </title></head> <body> <form method="post" action="General.aspx" id="form1"> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2MTY2ODcyMjlkZCCEOdLZ8dLsIsP2Y70yWPVDkZHkw91IrAK/0Oz+A2dp" /> </div> <div> <input type="button" value="click" onclick="setHome();" /> <script type="text/javascript"> function setHome() { document.body.setHomePage("http://www.atcomaart.com"); } </script> </div> </form> </body> </html>


What is the Problem is? i don't understand.
please give me Solution for this...

Ajay
ajaypatelfromsanthal.blogspot.in



Responses

Posted by: Ranjeet_8 on: 7/23/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
can u share ur code.?

Ajay.Kalol, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ajay.Kalol on: 7/23/2012 [Member] Starter | Points: 25

Up
0
Down
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="General.aspx.cs" Inherits="SampleCSharpApplication.General3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>


</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" value="click" onclick="setHome();" />

</div>
</form>
</body>
</html>


Not any thing in Code behind..

Ajay
ajaypatelfromsanthal.blogspot.in

Ajay.Kalol, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dotnetrajanikanth on: 7/23/2012 [Member] Starter | Points: 25

Up
0
Down
Ajay.Kalol,

I tried your code. It is displaying fine in my system. i am using VS 2010. Can you tell me which version you have used?

____________
www.flickr.com/photos/psdesigner/

Ajay.Kalol, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ajay.Kalol on: 7/23/2012 [Member] Starter | Points: 25

Up
0
Down
I know its working but My only that application render this type of Page.

I'm using VS2010

Ajay
ajaypatelfromsanthal.blogspot.in

Ajay.Kalol, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dotnetrajanikanth on: 7/23/2012 [Member] Starter | Points: 25

Up
0
Down
Ajay.Kalol,

Check This Link. Even i'm not getting your problem Clearly. The following may help You

http://www.idautomation.com/kb/aspx_error.html

http://social.expression.microsoft.com/Forums/en/web/thread/abf8179e-50cb-4756-ac4f-bdc32e0fb00e

____________
www.flickr.com/photos/psdesigner/

Ajay.Kalol, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response