G
Guest
I wish to call a js function from a ToolbarCheckButton web control:
<mytb:toolbar>
<mytb:ToolbarCheckButton onclick="fn();" Text="tbText" ID="tbID" AutoPostBack="false"></mytb:ToolbarCheckButton>
</mytb:toolbar>
However, I get the following parser error on page load:
Type 'Microsoft.Web.UI.WebControls.ToolbarCheckButton' does not have a property named 'onclick'
Since this type of behaviour is recommended..
<a href="http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/overview.asp">http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/overview.asp</a> Scripting with the Client and Server Components
...is it possible to call a client-side script with a toolbar webControl property?
Thanks.
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
<mytb:toolbar>
<mytb:ToolbarCheckButton onclick="fn();" Text="tbText" ID="tbID" AutoPostBack="false"></mytb:ToolbarCheckButton>
</mytb:toolbar>
However, I get the following parser error on page load:
Type 'Microsoft.Web.UI.WebControls.ToolbarCheckButton' does not have a property named 'onclick'
Since this type of behaviour is recommended..
<a href="http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/overview.asp">http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/overview.asp</a> Scripting with the Client and Server Components
...is it possible to call a client-side script with a toolbar webControl property?
Thanks.
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...