473,563 Members | 2,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

referencing .NET framework namespaces in client side java script

Hello
I'd like to use .NET framework namespaces in client side java script.
For example i'd like to import System.Activato r, in order to call
Activator.Creat eInstance() method inside a client side java script function.
This function should executed in the client's browser!
10x
Rea
Jul 21 '05 #1
3 1582
First, I am not a Java wiz but I don't think that you can do this.

Second, why would you want to? Unless you had completes control over the
client side install (Intranet or something like that) you can't guarantee
that the client will have the framework installed.

"Rea Peleg" <re******@bar ak-online.net> wrote in message
news:eH******** *****@TK2MSFTNG P12.phx.gbl...
Hello
I'd like to use .NET framework namespaces in client side java script.
For example i'd like to import System.Activato r, in order to call
Activator.Creat eInstance() method inside a client side java script function. This function should executed in the client's browser!
10x
Rea

Jul 21 '05 #2
Thanks alot
I've tried using ActiveXObject() but it is raising a security warning I want
to avaoid.
I need some kind of a silent method to check at client side wether my .NET
assemblie
had been previously installed.
Thanks again
Rea
"Ray Cassick (Home)" <rc************ @enterprocity.c om> wrote in message
news:e8******** ******@TK2MSFTN GP11.phx.gbl...
First, I am not a Java wiz but I don't think that you can do this.

Second, why would you want to? Unless you had completes control over the
client side install (Intranet or something like that) you can't guarantee
that the client will have the framework installed.

"Rea Peleg" <re******@bar ak-online.net> wrote in message
news:eH******** *****@TK2MSFTNG P12.phx.gbl...
Hello
I'd like to use .NET framework namespaces in client side java script.
For example i'd like to import System.Activato r, in order to call
Activator.Creat eInstance() method inside a client side java script

function.
This function should executed in the client's browser!
10x
Rea


Jul 21 '05 #3
You are going to run into similar issues like you did with ActiveX when you
try to use .NET. There are still security implications to deal with. Most
users systems that have .NET installed are not going to allow un-trusted
..NET code to run from an Internet site. CAS (Code Access Security) is simply
not set up by default for that and your component will most likely have
security exceptions to deal with.

What is it that you are trying to do, maybe someone here can offer an idea
on how to do it without problems.

"Rea Peleg" <re******@bar ak-online.net> wrote in message
news:O8******** ******@tk2msftn gp13.phx.gbl...
Thanks alot
I've tried using ActiveXObject() but it is raising a security warning I want to avaoid.
I need some kind of a silent method to check at client side wether my .NET
assemblie
had been previously installed.
Thanks again
Rea
"Ray Cassick (Home)" <rc************ @enterprocity.c om> wrote in message
news:e8******** ******@TK2MSFTN GP11.phx.gbl...
First, I am not a Java wiz but I don't think that you can do this.

Second, why would you want to? Unless you had completes control over the
client side install (Intranet or something like that) you can't guarantee that the client will have the framework installed.

"Rea Peleg" <re******@bar ak-online.net> wrote in message
news:eH******** *****@TK2MSFTNG P12.phx.gbl...
Hello
I'd like to use .NET framework namespaces in client side java script.
For example i'd like to import System.Activato r, in order to call
Activator.Creat eInstance() method inside a client side java script

function.
This function should executed in the client's browser!
10x
Rea



Jul 21 '05 #4

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

Similar topics

1
1431
by: Mike Moore | last post by:
Can an asp.net button that is a server side control call a client side java function when the button is clicked? If so, please provide example.....thanks.,
5
1964
by: tmb | last post by:
Is there a way to use ASP to 'push' a new image to the client every 15 seconds or so? I guess the entire page will have to be 're-sent' to the client but I'm not sure. I'm trying to 'rotate' a new product image every few seconds. I could use an animated gif or some java script maybe, but I want to keep the file small and not have to...
12
1942
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its associated classes of System.Runtime.Remoting are available, but certain ones are not. A reference to System.Runtime.Remoting needs to be added to...
5
2583
by: Mong | last post by:
Hi, I have a webform with various asp controls on it such as textboxes and dropdownlists. I'm fairly new to asp.net coming from VB6 and am wondering when it's best to use client side events and when it's best to use server side events. For example, if a textbox is to contain a date I want to validate the date when that textbox loses the...
3
275
by: Rea Peleg | last post by:
Hello I'd like to use .NET framework namespaces in client side java script. For example i'd like to import System.Activator, in order to call Activator.CreateInstance() method inside a client side java script function. This function should executed in the client's browser! 10x Rea
2
1420
by: MPA | last post by:
Hi, I am a newbee. All our applications so far were traditional client-server database applications. We are considering now writing our main application with Visual Studio .NET. Basically we want to be able to install each version of our software on one or two machines without having to meddle with typically several hundred client...
3
1747
by: jesper_lofgren | last post by:
Hello, I have a problem, i have a event in asp.net codebehind file that updating a datasource. If that update went well i want to refresh my treeview thats on another page. The script works well, the problem is.... the client script runs before the updatemethod ! I give u some ex code here...
3
6601
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
5
13107
by: Ankur | last post by:
Hi Folks, I am new for this group. I want to clarify one thing what's a basic difference between Client Side Java Script and Server Side Java Script. how we can differentiate it. Why we called this kind of script "Server Side Java Script". I am in confusion because according to lots of web developer Java Script is a client side scripting...
0
7664
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, 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...
0
7583
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...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7638
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...
0
7948
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6250
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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...
0
3642
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...

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.