473,511 Members | 14,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add Window control library to web page

RK
I have a window control library with a user control abd I need to add this
dll to the aspx web pag.
How can I do this.
Thanks,
RK
Oct 26 '06 #1
5 1311
A window control won't work on a web page. It's another world.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"RK" <RK@discussions.microsoft.comwrote in message
news:F4**********************************@microsof t.com...
>I have a window control library with a user control abd I need to add this
dll to the aspx web pag.
How can I do this.
Thanks,
RK

Oct 26 '06 #2
Hi,

RK wrote:
I have a window control library with a user control abd I need to add this
dll to the aspx web pag.
How can I do this.
Thanks,
RK
Like Eliyahu said, web and win are to different worlds. There is a way,
though, to convert a WinForms control into an ActiveX control, which can
be added to a web page using the normal way (OBJECT tag).

http://www.codeproject.com/cs/miscct...wincontrol.asp

However, ActiveX technology is questionable (proprietary, unsecure (or
at least perceived as such), disappearing), and I would rather study the
possibility to rewrite a proper web control, for exemple reusing only
the existing control for server-side computations.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 27 '06 #3
RK
Thanks Laurent,
What I did is created Window control library and created a User Control in
it.
And then in my web project I added the OBJECT Tag like this:-

Now the problem I am having is that in my web project I have to click the
User control twice. I think first click activates the control, which could be
anywhere in the User Control area (on the web form). And the Second on any
system control (like button) inside the User Control.
How can handle this extra click of activating the User Control.
Thanks,
RK

"Laurent Bugnion" wrote:
Hi,

RK wrote:
I have a window control library with a user control abd I need to add this
dll to the aspx web pag.
How can I do this.
Thanks,
RK

Like Eliyahu said, web and win are to different worlds. There is a way,
though, to convert a WinForms control into an ActiveX control, which can
be added to a web page using the normal way (OBJECT tag).

http://www.codeproject.com/cs/miscct...wincontrol.asp

However, ActiveX technology is questionable (proprietary, unsecure (or
at least perceived as such), disappearing), and I would rather study the
possibility to rewrite a proper web control, for exemple reusing only
the existing control for server-side computations.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 27 '06 #4
Hi,

RK wrote:
Thanks Laurent,
What I did is created Window control library and created a User Control in
it.
And then in my web project I added the OBJECT Tag like this:-

Now the problem I am having is that in my web project I have to click the
User control twice. I think first click activates the control, which could be
anywhere in the User Control area (on the web form). And the Second on any
system control (like button) inside the User Control.
How can handle this extra click of activating the User Control.
Thanks,
RK
You cannot. It's an ActiveX security measure introduced in a recent
security update of IE.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 27 '06 #5
RK
No other way to achevie this functionality apart from the <OBJECTTag

Thanks,
RK

"Laurent Bugnion" wrote:
Hi,

RK wrote:
Thanks Laurent,
What I did is created Window control library and created a User Control in
it.
And then in my web project I added the OBJECT Tag like this:-

Now the problem I am having is that in my web project I have to click the
User control twice. I think first click activates the control, which could be
anywhere in the User Control area (on the web form). And the Second on any
system control (like button) inside the User Control.
How can handle this extra click of activating the User Control.
Thanks,
RK

You cannot. It's an ActiveX security measure introduced in a recent
security update of IE.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 30 '06 #6

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

Similar topics

6
12140
by: lukeo | last post by:
I'm shelling out to an .asp (or htm) page from an application. I want to show this in a window without the address bar, etc... Is there a way I can redirect this page using javascript to a page...
2
4629
by: Jawahar Rajan | last post by:
All, I have a printer friendly page that is opened when a user clicks a link on my page to get the printer friendly version, How ever when they close out the printer friendly version and return to...
3
1961
by: Chris | last post by:
Hi I have designed my website to fit my standard windows. I use a javascript scroller that nescitates the removal of the browser scroll bars. However if a user has an extra toolbar open in...
3
1879
by: Fred Atkinson | last post by:
I've installed the following Javascript on my Web page and it is working fine. It brings up a little pop up message (not an ad). <script language="JavaScript"><!--...
1
5303
by: Nevyn Twyll | last post by:
I have a DataList; in the DataList's , I have a LinkButton and a few listboxes. When the LinkButton is pressed, I need to get the ID of the selected item in one of the Listbox controls. Then I...
8
2515
by: J Gao | last post by:
Hi, experts, On a button click, I need to save some data to the session object. Then open a new window. The new window will use the session data saved in the first window. I don't want use to...
5
2011
by: Paul Krasucki | last post by:
This is for a search page that takes parameters on one page, processes the query, and displays them on another page. I've got a javascript popup window on a button click event. When the user...
6
2426
by: SkeanDu | last post by:
Ok, here is my problem. I have an aspx page that displays a databound datagrid and in one of the datagrid column headers I have an image that when clicked opens up a modal web dialog (another...
3
2775
by: =?Utf-8?B?R3JlZyBN?= | last post by:
Hello, I'm running an asp.net, intranet web application using .net framework 1.1 on IIS5.1 / 6.0. Through the web application, I would like to press a button on the web page, have another window...
0
7237
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
7349
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
7417
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...
1
7074
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
7506
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...
0
5659
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,...
1
5063
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...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
445
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...

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.