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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top