471,076 Members | 1,138 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,076 software developers and data experts.

Calling VBScript function directly from ASP.NET

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?

Nov 20 '06 #1
1 1454
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" <mu****************@gmail.comwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
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?

Nov 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by niv | last post: by
5 posts views Thread by Γιώργος Στάθης | last post: by
1 post views Thread by Venkat | last post: by
3 posts views Thread by Kim Forbes | last post: by
4 posts views Thread by Ian Sedwell | last post: by
reply views Thread by leo001 | last post: by

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.