473,386 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to open a webform in IDE?

Hi,

I have created an ASP.NET app / page with
Microsoft Visual Studio .NET 2003 using C#

But, when I closed VS and re-opened it later,
I see all files in my project,
except the webform I had designed!!

How to open that webform!?
What is the file extension for these webforms?

Thanks in advance.

Regards,
Sarah
P.S: I am new to MS & VS.
Please let me know if this not the right newsgroup to ask this.

Nov 15 '05 #1
2 1734
it should be webform1.aspx by default. if you take a peek at the property
pages on the right side of the screen it should be there. double click it
and the form should appear with whatever was saved to it last.

--
Regards,
Alvin Bruney
Got Tidbits? Get it here
www.networkip.net/tidbits
"Sarah Bram" <Sa*******@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP09.phx.gbl...
Hi,

I have created an ASP.NET app / page with
Microsoft Visual Studio .NET 2003 using C#

But, when I closed VS and re-opened it later,
I see all files in my project,
except the webform I had designed!!

How to open that webform!?
What is the file extension for these webforms?

Thanks in advance.

Regards,
Sarah
P.S: I am new to MS & VS.
Please let me know if this not the right newsgroup to ask this.

Nov 15 '05 #2
Alvin Bruney wrote:
it should be webform1.aspx by default. if you take a peek at the property
pages on the right side of the screen it should be there. double click it
and the form should appear with whatever was saved to it last.


Thanks for your reply, Alvin:
I have opened the birthday.aspx from the project and selected
View->Designer and got the following errors:

---------------------------
Microsoft Development Environment
---------------------------
The class file 'birthday.aspx.cs' specified as the codebehind for
'birthday.aspx' could not be loaded.
Make sure that the codebehind attribute in the page or control directive
properly references an existing code behind file.
---------------------------
OK
---------------------------
Actually the birthdays.aspx.cs file is already there and opened in the
project in another tab/window.
---------------------------
Microsoft Development Environment
---------------------------
There is no editor available for
'C:\Inetpub\wwwroot\WebApplication1\birthday.aspx' .
Make sure the application for the file type (.aspx) is installed.
---------------------------
OK
---------------------------

Here is the first line .aspx file:
<%@ Page language="c#" Codebehind="birthday.aspx.cs"
AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>

Oh! Nevermind, I have just renamed "birthday.aspx.cs" to
"birthdays.aspx.cs" in the above lines. It gave an error
first and then started working.
Holy crap...

I always used the Save as option from the IDE and never renamed any
files from outside the IDE. Why would it do that!!??
Looks like this stuff is very fragile!!
May be I should look for a better IDE... Thanks.

Regards,
Sarah

Nov 15 '05 #3

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

Similar topics

4
by: Ivan Sammut | last post by:
Hi, I have 2 webform Webform1 & WebForm2 In Webform1 I have a button that when I click I want to first set a variable in WebForm2 & then open the Page. This is the code I have now which...
2
by: Ivan Sammut | last post by:
Hi, I have a webform (Webform2) for data input which is called from another webform (Webform1) by using the server.transport command and this works fine. Now I would like to open Webform2 in a...
1
by: Raul M. Colon | last post by:
Hi. Im new in C# and I'm migrating a few Win Applications to Web Applications. So far the only commands I know to navigate between webforms are Server.Tranfer and Response.Redirect. Is there any...
2
by: Roby SGM | last post by:
Hi. In a webform (VB.NET) how can I open a new instance of the browser ? Thank you Roby
3
by: Kent Johnson | last post by:
Hi all, How can I open a second Webform from the first Webform with a Button_onlick event? /Kent J.
2
by: mg | last post by:
window.open (URLTarget, windowName, height=720,width=975,resizable=yes, ... lets me open a new WebForm with a specified size using JavaScript. Is there a way of doing this from code behind;...
3
by: ram | last post by:
how do I open a word document within a webform? I need to open the document within the form so the user can edit the document and then click on a button on the form (so that the document is...
4
by: Nad | last post by:
Hello, When I click on a linkbutton of a datagrid on a web form I open another web form on the same page within an iframe. The page within the iframe has a datagrid also and when I click on a...
2
by: Luqman | last post by:
How can I open another WebForm in ASP.Net / VS 2005 without closing the Current Webform. I tried using Server.Transfer("Form2.Aspx",True) on Button_Click of Form1 but it close the current web...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.