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 5 1316
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.comw rote in message
news:F4******** *************** ***********@mic rosoft.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
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
where I can set the window height, statusbar=no, etc?
Thanks,
-Luke
|
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 the
original page the mouse cursor is a Hour glass shape!
my code:
I use DIV tag
<DIV id ="printThis">
<%
|
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 his browser
like a google or yahoo toolbar or a links toolbar it pushes the content down
and slightly out of view. I don't want to use a pop up window with
toolbars=0 as this is often blocked by software. What I would like is to
open the...
|
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"><!--
window1=window.open('sera.html','messageWindow1','scrollbars=no,width=150,height=245')
//--></script>
I'd like to make the following improvements:
1. I want to control where the pop up window
|
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 want to launch another web page in a seperate window, using that ID.
In the header of the web page, I have a javascript function
LaunchMyWindow(iID) that launches that window.
For a normal LinkButton Control, I could just use
| |
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 click two buttons, one to save the session data
and the other one to trigger the java script to open the new window. Your
advice is highly appreciated.
Jie
|
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
clicks the button, the popup window opens, and the parent page goes on with
the query. No problem there. The problems comes in when one of my
validator's throws an error, then naturally the page does not post back
waiting for the page to valid. ...
|
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 aspx page).
>From this dialog I want the users to be able to select a filter item
from a databound combobox and click on the apply button on the web
dialog that will then disappear and the filtered data will be displayed
on my datagrid.
|
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 (not web-based or part of current
application) brought to the front and focused (findwindow api) and have the
button scrape the contents of the focused window so the contents can be
parsed and entered into the web application.
Ideally, I would...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |