473,395 Members | 1,688 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,395 software developers and data experts.

Convert asp.net user control to windows app?

Hi All,

I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute force,
but am becoming pressed for time with multiple deadlines. If there is
an easier way than building the entire c# app from scratch, I would
greatly appreciate the advice.

The form contains listboxes, buttons, labels, textboxes and gridviews.
It is a p.i.t.a. to create the c# listboxes and other elements when I
have perfectly good asp.net server controls doing the job on the user
control.

Any input is appreciated.

Regards,
Aaron

Dec 3 '06 #1
9 1620
Hello aa*******@gmail.com,

Why not to provide the client with WebBrowser component which will use your
ASP.net control?
I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute force,
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 3 '06 #2
Michael,

The client wants to view and test the app offline, how can I make the
..ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron

Michael Nemtsev wrote:
Hello aa*******@gmail.com,

Why not to provide the client with WebBrowser component which will use your
ASP.net control?
I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute force,

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 3 '06 #3
Hello aa*******@gmail.com,

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather control converting
Michael,

The client wants to view and test the app offline, how can I make the
.ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron
Michael Nemtsev wrote:
>Hello aa*******@gmail.com,

Why not to provide the client with WebBrowser component which will
use your ASP.net control?
>>I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute
force,
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 3 '06 #4
What is the best procedure for providing the client with a copy of the
entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:
Hello aa*******@gmail.com,

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather control converting
Michael,

The client wants to view and test the app offline, how can I make the
.ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron
Michael Nemtsev wrote:
Hello aa*******@gmail.com,

Why not to provide the client with WebBrowser component which will
use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute
force,

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 4 '06 #5
^ When I say "without VS2005", I mean the client will not have a copy
on the machine they wish to view the site on. I obviously use VS2005
to develop the site, I am just trying to give them a copy of a
particular web app so they can view and use it offline, I will provide
them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help me
greatly.

Regards,
Aaron
aa*******@gmail.com wrote:
What is the best procedure for providing the client with a copy of the
entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:
Hello aa*******@gmail.com,

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather control converting
Michael,
>
The client wants to view and test the app offline, how can I make the
.ascx into an equivalent app they can use offline on their laptop, for
example.
>
Thanks,
Aaron
Michael Nemtsev wrote:
>
>Hello aa*******@gmail.com,
>>
>Why not to provide the client with WebBrowser component which will
>use your ASP.net control?
>>
>>I was wondering if it is possible to easily convert an asp.net user
>>control (.ascx) into an equivalent windows app. I plan on simply
>>duplicating the user control in a c# windows app through brute
>>force,
>>>
>---
>WBR,
>Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
>"At times one remains faithful to a cause only because its opponents
>do not cease to be insipid." (c) Friedrich Nietzsche
>>
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 4 '06 #6
Hello aa*******@gmail.com,

Right mouse click on the project name in VS IDE, then "Publish Web Site"
and ship the precompiled version of your site to the client
when just web-share the folder with your site
^ When I say "without VS2005", I mean the client will not have a copy
on the machine they wish to view the site on. I obviously use VS2005
to develop the site, I am just trying to give them a copy of a
particular web app so they can view and use it offline, I will provide
them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help
me greatly.

Regards,
Aaron
aa*******@gmail.com wrote:
>What is the best procedure for providing the client with a copy of
the entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:
>>Hello aa*******@gmail.com,

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather
control converting
Michael,

The client wants to view and test the app offline, how can I make
the .ascx into an equivalent app they can use offline on their
laptop, for example.

Thanks,
Aaron
Michael Nemtsev wrote:
Hello aa*******@gmail.com,
>
Why not to provide the client with WebBrowser component which will
use your ASP.net control?
>
>I was wondering if it is possible to easily convert an asp.net
>user control (.ascx) into an equivalent windows app. I plan on
>simply duplicating the user control in a c# windows app through
>brute force,
>>
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its
opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 4 '06 #7
The client wants to view the web site on a machine that does not have
IIS installed. How can I do this without IIS?
Michael Nemtsev wrote:
Hello aa*******@gmail.com,

Right mouse click on the project name in VS IDE, then "Publish Web Site"
and ship the precompiled version of your site to the client
when just web-share the folder with your site
^ When I say "without VS2005", I mean the client will not have a copy
on the machine they wish to view the site on. I obviously use VS2005
to develop the site, I am just trying to give them a copy of a
particular web app so they can view and use it offline, I will provide
them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help
me greatly.

Regards,
Aaron
aa*******@gmail.com wrote:
What is the best procedure for providing the client with a copy of
the entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:

Hello aa*******@gmail.com,

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather
control converting
Michael,

The client wants to view and test the app offline, how can I make
the .ascx into an equivalent app they can use offline on their
laptop, for example.

Thanks,
Aaron
Michael Nemtsev wrote:
Hello aa*******@gmail.com,

Why not to provide the client with WebBrowser component which will
use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net
user control (.ascx) into an equivalent windows app. I plan on
simply duplicating the user control in a c# windows app through
brute force,
>
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its
opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 4 '06 #8
Hello aa*******@gmail.com,

Is it the problem to install it?
The client wants to view the web site on a machine that does not have
IIS installed. How can I do this without IIS?

Michael Nemtsev wrote:
>Hello aa*******@gmail.com,

Right mouse click on the project name in VS IDE, then "Publish Web
Site"
and ship the precompiled version of your site to the client
when just web-share the folder with your site
>>^ When I say "without VS2005", I mean the client will not have a
copy on the machine they wish to view the site on. I obviously use
VS2005 to develop the site, I am just trying to give them a copy of
a particular web app so they can view and use it offline, I will
provide them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help
me greatly.

Regards,
Aaron
aa*******@gmail.com wrote:
What is the best procedure for providing the client with a copy of
the entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:

Hello aa*******@gmail.com,
>
Why not to provide them the whole site?
It may be not very good solution but definity very fast rather
control converting
>Michael,
>>
>The client wants to view and test the app offline, how can I make
>the .ascx into an equivalent app they can use offline on their
>laptop, for example.
>>
>Thanks,
>Aaron
>Michael Nemtsev wrote:
>>Hello aa*******@gmail.com,
>>>
>>Why not to provide the client with WebBrowser component which
>>will use your ASP.net control?
>>>
>>>I was wondering if it is possible to easily convert an asp.net
>>>user control (.ascx) into an equivalent windows app. I plan on
>>>simply duplicating the user control in a c# windows app through
>>>brute force,
>>>>
>>---
>>WBR,
>>Michael Nemtsev [C# MVP] :: blog:
>>http://spaces.live.com/laflour
>>"At times one remains faithful to a cause only because its
>>opponents
>>do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its
opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Dec 4 '06 #9
On 4 Dec 2006 06:51:12 -0800, aa*******@gmail.com wrote:
The client wants to view the web site on a machine that does not have
IIS installed. How can I do this without IIS?
You can bundle the cassini web server, or any of its alteratives with your
application for scenarios where you don't have IIS. But if its available,
try and make use of it!

--
Bits.Bytes
http://bytes.thinkersroom.com
Dec 4 '06 #10

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

Similar topics

5
by: Carl Gilbert | last post by:
Hi I have some ASP code that I want to run from CD within a VB.NET windows application with a web browser control. However, to get the ASP pages to run without a server is proving quite...
12
by: dixie | last post by:
Can someone familiar with Access 2003 please answer this question? I am asking because I don't have the use of A2003. When Access 2003 finds an Access 2000 database, does it come up with some...
2
by: Phil Stanton | last post by:
When designing a new form or report, the Default ForeColor is often something like -2147483640 which is the colour of Windows text (possibly black) and the default backColor is -2147483643...
1
by: Rhy Mednick | last post by:
I'm creating a custom control (inherited from UserControl) that is displayed by other controls on the form. I would like for the control to disappear when the user clicks outside my control the...
7
by: Scott Schluer | last post by:
Is there a way to use the Image class to convert a color photo (GIF or JPEG) to a B&W photo? Thanks, Scott
4
by: DotNetJunkies User | last post by:
I have created a User Control (a Pareto Chart) using C#. It works great in .Net Windows Apps, but I also need to use it in a Web Application (to view in IE). Everything I read on this seems to be...
6
by: Tim Cartwright | last post by:
I have a page that has the login control on it, nothing else. This page inherits from a master page, neither page has any code in it. This page works perfectly when running on the WebDev debug web...
10
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
14
by: Me | last post by:
Hi all I am getting a really bizzare error on when I convert a string into a datetime: The code is : DateTime dt1 = Convert.ToDateTime("10 Sep 2005"); Console.WriteLine(dt1.Year);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.