J
John Kotuby
Hi all,
In ASP.NET 2.0 and VB.NET, I am trying to get the OnSelectedIndexChanged
event to fire a Javascript function. There is no OnClientClick event for
that control.
When I try something like:
OnSelectedIndexChanged="javascript:SetOwner('<%= lstOwner.ClientID %>');" I
get an error.
Whereas for a simple HTML anchor I can do:
<a href="javascript:show_calendar('aspnetForm.txtUpdate');"
without a problem.
Any ideas?
TIA
In ASP.NET 2.0 and VB.NET, I am trying to get the OnSelectedIndexChanged
event to fire a Javascript function. There is no OnClientClick event for
that control.
When I try something like:
OnSelectedIndexChanged="javascript:SetOwner('<%= lstOwner.ClientID %>');" I
get an error.
Whereas for a simple HTML anchor I can do:
<a href="javascript:show_calendar('aspnetForm.txtUpdate');"
without a problem.
Any ideas?
TIA