Showing posts with label window. Show all posts
Showing posts with label window. Show all posts

Wednesday, March 28, 2012

the brower doesnt compile aspx

does any know why my file doen't get compiled? (it came up with a black page) i have .net framework 1.1 installed on window 2000 professional and my code is form.aspx

thanks in advance,
ling

my practice code is:
---------
<%@dotnet.itags.org. Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="form.aspx" method="post" runat="server">
<asp:textbox id="Name" runat="server" />
<asp:dropdownlist ID="form" runat="server"
<asp:listitem Value="Category" Text="Category" runat="server"></asp:listitem>
<asp:listitem Value="psycchology" runat="server"></asp:listitem>
<asp:listitem Value="popular_comp" runat="server"></asp:listitem>
</asp:dropdownlist
<asp:button ID="Lookup" runat="server" /
</form>
</body>
</html>your browser doesn't compile the code. What are you writting your code in? WebMatrix, Visual Studio,...etc.
Hi,

I've experience the same situation with the following code.

<html>
<head>
</head>
<body>
<form runat=server>
<asp:Label text="Hello World" runat=server />
</form>
</body>
</html
I'm using notepad to write the .aspx file and I've save it to C:\Inetpub\wwwroot. Using the IE6.0 browser and type http://localhost/HelloWorld2.aspx, the resulting page is blank screen.

What seems to be the problem with this? Hope to hear from anybody & thanks.

-Jun
I used visual studio and dreamweaver MX for writing the code and saved it in wwwroot.

thanks in advance,
Make sure aspnet is installed correctly by using the "aspnet_regiis -i" exe that you can find under your framework folder, usually in [system_drive]\[windows]\framework\v1.0.3705 or[system_drive]\[windows]\framework\v1.1.4322 if it's FX1.1

HTH,
Ting-hao

Saturday, March 24, 2012

the easiest way to convert a .net windows app to web app?

Hi all,

I would like to know what is the easiest way to convert a
VB.net window application to a web application?

Thanks in advance!
tom> I would like to know what is the easiest way to convert a
> VB.net window application to a web application?

Do you mean ASP.Net?

Anders
Yes. We want to convert a .net window app to asp.net.
Thanks for your response.

>--Original Message--
>> I would like to know what is the easiest way to convert
a
>> VB.net window application to a web application?
>Do you mean ASP.Net?
>Anders
>
>.
> >> I would like to know what is the easiest way to convert
> a
> >> VB.net window application to a web application?

U can't do that directly...at all.

Maybe you can reuse your datalayer, (if you got one) and webservices (if
have such) and maybe someone of your util classes and or custom collections.

The problem about the windows gui and webpages differ SO much and is not
compareable. Not even with the aproach with asp.net.

But you will have an easier way converting your projects "code logic",
because you can seperate ypur visual design and logic design (code behind
files)

I dont know if you wanted to know if there was utility or so? Or you just
wanted some guidelines.

You could (Dangerous grund) look at deploying your application with notouch
technology.
http://msdn.microsoft.com/library/d...etframework.asp

But its problbly not what ypu are looking for.

Plz specify want your wanna know and we wil try and help you.

Regards,
Anders

Thursday, March 22, 2012

the explorer window scroll is not kept although smartnavigation=true

Here is my page directive, but the scroll is not kept in its place afte a post back any idea, pls:
<%@dotnet.itags.org. Page language="c#" Codebehind="sap.aspx.cs" AutoEventWireup="false" Inherits="WebForm1" smartNavigation="true"%>
Thankstry setting MaintainScrollPositionOnPostBack = True
sorry i forgot to mention i am using 2003 net 1.1
Thanks