How to call VBScript function from DataGrid control in ASP.net?

V

Vadim Vulfov

We have DataGrid control and hyperlinkcolumn column type in ASP.NET
application.

We can successfully trigger javascript function on the hyperlinkcolumn
click by using:

<asp:HyperLinkColumn headertext="" text="Profile"
DataNavigateUrlFormatString="javascript:editaccount('{0}','history');"
DataNavigateUrlField="Account" />

But we cannot find the way to call
vbscript function.

Any advise, please!

Vadim
 
V

Vadim Vulfov

Thanks, but this is just general info.

What I need is the way to call vbscript
function from hyperlink column of datagrid
in asp.net

Vadim
 
B

Bruce Barker

if editaccount was a vbscript function that took 2 string args, you have the
syntax, or the javascript routine can call the vbscript routine.

-- bruce (sqlwork.com)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top