473,545 Members | 2,469 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating aspx.cs file manually

I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?




--
L. A. Jones
May 14 '07 #1
3 5960
Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.publi c.expression.we bdesigner
microsoft.publi c.expression.di scussion

....on this same news server.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"Dave" <Da**@discussio ns.microsoft.co mwrote in message
news:A1******** *************** ***********@mic rosoft.com...
>I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?




--
L. A. Jones

May 14 '07 #2
This is not an EW question. I have created my pages in EW, but I want to
create l code behind for these pages using VS 2005 using C#. How can I create
a code behind file manually in VS 2005
--
L. A. Jones
"Juan T. Llibre" wrote:
Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.publi c.expression.we bdesigner
microsoft.publi c.expression.di scussion

....on this same news server.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"Dave" <Da**@discussio ns.microsoft.co mwrote in message
news:A1******** *************** ***********@mic rosoft.com...
I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?




--
L. A. Jones


May 14 '07 #3
re:
!How can I create a code behind file manually in VS 2005

There are no tools to convert inline code to code-behind.

Backup your file to another directory; delete the original file;
create a new file with the same name as your original file and make sure
you select the "Place code in separate file" option in the VS 2005 IDE.

Then, re-create your objects in the web form file.
The VS 2005 IDE will create the necessary code-behind.

When you're done, add your custom code to the code-behind file.
Sorry, I wish I had better news for you.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"Dave" <Da**@discussio ns.microsoft.co mwrote in message
news:C7******** *************** ***********@mic rosoft.com...
This is not an EW question. I have created my pages in EW, but I want to
create l code behind for these pages using VS 2005 using C#. How can I create
a code behind file manually in VS 2005
--
L. A. Jones
"Juan T. Llibre" wrote:
>Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.publ ic.expression.w ebdesigner
microsoft.publ ic.expression.d iscussion

....on this same news server.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
============== =============== =========
"Dave" <Da**@discussio ns.microsoft.co mwrote in message
news:A1******* *************** ************@mi crosoft.com...
>I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?

May 14 '07 #4

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

Similar topics

2
3769
by: LIN | last post by:
Hello, Greetings. I am creating a web site which will contain lot of articles. I had been planning to create simple HTML page on the server everytime i posted a article (eg. article12.html ). Now, i want to show an advertisement on top of each of this html page. the ad banner has to be dynamically updated depending on date (period) the...
10
24048
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal strInput As String) return (strInput & " test") End Sub
10
2417
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and load as a 3rd partial class. This would be handy so i can generate standard code into one of the partial classes, while having my custom code...
15
2792
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. Everything is the default settings I believe. IIS is running under Local System. In IIS the DefaultAppPool is running under Network Service....
4
6827
by: Neil.Smith | last post by:
I can't seem to find any references to this, but here goes: In there anyway to parse an html/aspx file within an asp.net application to gather a collection of controls in the file. For instance what I'm trying to do is upload a html file onto the web server, convert it to aspx file and then parse it for input tags/controls, which in turn...
1
13243
by: 1388-2/HB | last post by:
I have a class file in my App_Code folder called "clsBasePage.vb" that looks like this: Public Class clsBasePage Inherits System.Web.UI.Page ...stuff... End Class It's a "page" in that it inherits from ui.page, but has no .aspx file. It's just a class file.
13
3525
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but...
11
1569
by: Jan | last post by:
Hi, I defined a function like this: Public Function myfunction(ByVal myvar As Object) As String ... Return xyz End Function in aspx file, i use it like this:
16
5833
by: flip2flik | last post by:
Hi. I am using visual web developer express edition and I am using vb.net as the programming language. I want to create a new aspx file on a button click. I will have a template that the new aspx file should follow. I need to pass the values entered on the current page to the new aspx file created. But more importantly I have problems with...
0
7490
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...
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7780
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6009
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...
1
5351
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...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3465
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1911
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
0
734
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...

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.