Calling VBScript function directly from ASP.NET

Discussion in 'ASP .Net' started by murali, Nov 20, 2006.

  1. murali

    murali Guest

    Hi,

    I wrote a vbscript function to get some values from excel at client
    side. This function is getting called from a button click using 'sub
    button1_onclick() ....'

    What I want now is that I require to call the same code in someother
    buttons' click, but after performing some tasks (which were written in
    c#). How can I do that?
     
    murali, Nov 20, 2006
    #1
    1. Advertisements

  2. You can call any routine you want by adding a hook in OnClick (attribute add
    to the control). The language is not an issue.

    NOTE: I would still consider moving to JavaScript due to the portability.

    --
    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA
    http://gregorybeamer.spaces.live.com

    *************************************************
    Think outside the box!
    *************************************************
    "murali" <> wrote in message
    news:...
    > Hi,
    >
    > I wrote a vbscript function to get some values from excel at client
    > side. This function is getting called from a button click using 'sub
    > button1_onclick() ....'
    >
    > What I want now is that I require to call the same code in someother
    > buttons' click, but after performing some tasks (which were written in
    > c#). How can I do that?
    >
     
    Cowboy \(Gregory A. Beamer\), Nov 21, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roja Doja
    Replies:
    2
    Views:
    3,549
    Roja Doja
    Apr 14, 2005
  2. Vadim Vulfov
    Replies:
    6
    Views:
    8,561
    darrel
    Apr 25, 2005
  3. Vadim Vulfov
    Replies:
    4
    Views:
    5,449
    Bruce Barker
    Apr 26, 2005
  4. =?Utf-8?B?UCBL?=

    Calling vbscript functions in asp.net

    =?Utf-8?B?UCBL?=, Dec 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,253
    Kevin Spencer
    Dec 16, 2005
  5. Andreas Lagemann
    Replies:
    8
    Views:
    738
    Mike Wahler
    Jan 10, 2005
  6. tiwy
    Replies:
    0
    Views:
    604
  7. Replies:
    0
    Views:
    1,044
  8. Pascal Chambon
    Replies:
    2
    Views:
    485
    Pascal Chambon
    Dec 13, 2010
Loading...