xsl-list
[Top] [All Lists]

RE: Calling a vb.net function from an xsl style sheet

2004-06-28 14:27:38
No, I meant that if you want to call client functions from your menu you
must use Javascript; and if you want to use Javascript to call server-side
functions (which are the vb.net functions you talked about - they run on the
server, not the client) then you could use Javascript to update a certain
control or the whole page. You could just point to the server page using the
good old <a href=""> and building the URL from your Javascript.

Anyway, what's got this to do with XSL or XSLT? This is an xsl-list, so I
repeat my question:

I assume you have a menu generated by XML / XSLT?

I know I have such a menu on my web-site, generated from an XML file, using
System.Xml and a user control to output the menu with some Javascript that
runs on the client. If you want to ask questions about that approach then go
ahead :-) but if it isn't XSL related then you better post on another list.

HTH,
<prs/>
http://www.pietsieg.com

-----Original Message-----
From: bry(_at_)itnisk(_dot_)com [mailto:bry(_at_)itnisk(_dot_)com] 
Sent: Monday, June 28, 2004 1:26 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Calling a vb.net function from an xsl style sheet

Pieter, do you mean that if a transform is called from a .net page the
output markup will be checked to see if it has any scripts, objects etc.
that are supposed to run on the server? 


Quoting Pieter Reint Siegers Kort <pieter(_dot_)siegers(_at_)elnorte(_dot_)com>:

Hi Cathy,

I assume you have a menu generated by XML / XSLT?

If so, please post some of your code, the output generated, and what 
you want it to output.

Generally, calling vb.net functions from the client involves using 
Javascript, calling into another web page or control that contains 
these fuctions. The functions themselves run on the server, and output 
their response to the browser.

HTH,
<prs/>

-----Original Message-----
From: French, Cathy [mailto:clf16(_at_)cornell(_dot_)edu]
Sent: Monday, June 28, 2004 7:30 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Calling a vb.net function from an xsl style sheet

Hi everyone ~

I am a newbie at XSL.  I am currently trying to implement a dropdown 
menu into an existing web application.  Some of my menu items redirect 
users to other pages, others perform specific functions.  The problem 
I have is that I want to call an existing vb.net function that I have 
in my code behind file from the onclick() event of the menu option 
selected.  I know this can be done with javascript, but I'd really 
rather not have to rewrite my functions.  Has anyone ever done this?
Any help is greatly appreciated.
 

Thanks in advance!

Cathy


Cathy L. French
 
Veterinary Computing Services
Programmer/Analyst III
Box 51
Ithaca, New York 14853
607.253.4112
clf16(_at_)cornell(_dot_)edu

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--







--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--