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

DotNet Web Client UserControl Events

History: In VB6 I could create an OCX that had the ability to accept
paramenters from a web page <object> tag, do some work, then fire an event
back to VBScript or JavaScript on the web page where addition work may have
been done. This web page usercontol interaction was easy in VB6.

Using VB.Net I have been able to create the usercontrol for the web page and
have also been able to pass parameters in via the <object> tag.

I have not been able to figure out how to generate the event in the
usercontrol that would fire a JavaScript or VBScript function. When using
the RaiseEvent the event is not passed to the html page like it was in VB6.
It just disappears.

Please help with references or sample code

Thks
--
DonR
Nov 21 '05 #1
1 1468
Don,

The intellisence does not work for it.

registerstartupscript
http://msdn.microsoft.com/library/de...cripttopic.asp

When it is a control you can use as well the

addatrittributes
http://msdn.microsoft.com/library/de...butestopic.asp

I hope this helps

Cor

"DonR" <Do**@discussions.microsoft.com>
History: In VB6 I could create an OCX that had the ability to accept
paramenters from a web page <object> tag, do some work, then fire an event
back to VBScript or JavaScript on the web page where addition work may
have
been done. This web page usercontol interaction was easy in VB6.

Using VB.Net I have been able to create the usercontrol for the web page
and
have also been able to pass parameters in via the <object> tag.

I have not been able to figure out how to generate the event in the
usercontrol that would fire a JavaScript or VBScript function. When using
the RaiseEvent the event is not passed to the html page like it was in
VB6.
It just disappears.

Please help with references or sample code

Thks
--
DonR

Nov 21 '05 #2

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

Similar topics

40
by: Eitan | last post by:
Hello, I know Java-Applet (written for JBuilder). I would like to know about dotnet technology, pros and cons in comparation to Java-Applet technololgy. Can I write a program in dotnet, like...
13
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded....
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
2
by: Loic | last post by:
A Memory leak in the dotnet UserControl ? Hi All, I’ve tried to use the following “Host Secure, Lightweight Client-Side Controls in Microsoft Internet Explorer” sample (I’d like to use a...
2
by: gerry | last post by:
based on MSPress's ASP.NET 2.0 Applications Advaced Topics ( Table 12-3 p.472 ), and most events should be automatically wired up when @Control AutoEventWireup="true". ie. Page_InitComplete() {}...
0
by: urig | last post by:
Hi, I have a pages that contains: 1. A UserControl (that is composed of several DropDownLists). 2. A CustomValidator to validate the UserControl. I have successfully setup the CustomValidator...
10
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's...
1
by: =?Utf-8?B?S3lsZSBNLiBCdXJucw==?= | last post by:
I have a set of controls and logic that must be invoked from several pages within a web application as a popup dialog, so I intend to use a userControl contained in a panel extended with the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.