Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 13th, 2005, 08:27 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Use the Windows Control In Web

Hi

I had created a component (that is a windows component)
i had used that component in a windows user control and then i used that user control in windows its working fine

NEXT

when i try to use the same user control in web it creates problem
NOTE: when i use the default component insted of my own conponent to build user control that user control works well in web.

i had also regsisterd my component even though i cont use my control in web.

plz help and give me some solution

regards
prabakar

 
Old April 13th, 2005, 07:45 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can't use a windows control in a web application. Windows controls don't have methods that render HTML.

There are ways of delivering a windows form control to the browser of a client that has the framework installed and the control can live and run in the client's browser but I've never done this and it's far beyond the scope of a simple web based application.

-Peter




Similar Threads
Thread Thread Starter Forum Replies Last Post
windows control on web gellanaresh ASP.NET 1.0 and 1.1 Basics 1 August 28th, 2007 10:08 PM
set Focus to web control in Web form vivekshah C# 1 June 17th, 2006 03:25 AM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Web Control in Windows Project madhanagopal Pro VB.NET 2002/2003 1 September 26th, 2004 07:19 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.