[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: Calling a vb.net function from an xsl style sheet
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 28 Jun 2004 16:27:38 -0500
vb.net functions
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@xxxxxxxxxx [mailto:bry@xxxxxxxxxx] 
Sent: Monday, June 28, 2004 1:26 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  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.siegers@xxxxxxxxxxx>:

> 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@xxxxxxxxxxx]
> Sent: Monday, June 28, 2004 7:30 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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@xxxxxxxxxxx
> 
> --+------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 
> --+------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 
> 





--+------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxxx>
--+--

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.