Hi All,
I must say I'm finding the move to Beta 1 frustrating.. Love to see documentation for something other than update panels :)
Can someone give me a hand with a simple UI event handler?
My Script Manager declaration looks like this:
<asp:ScriptManagerID="ScriptManager1"runat="server">
<Scripts>
<asp:ScriptReferenceAssembly="Microsoft.Web.Preview"Name="Microsoft.Web.Resources.ScriptLibrary.PreviewScript.js"/>
<asp:ScriptReferenceAssembly="Microsoft.Web.Preview"Name="Microsoft.Web.Resources.ScriptLibrary.PreviewGlitz.js"/>
<asp:ScriptReferenceAssembly="Microsoft.Web.Preview"Name="Microsoft.Web.Resources.ScriptLibrary.PreviewDragDrop.js"/>
</Scripts>
</asp:ScriptManager>
Problem code :
findButton =new Sys.Preview.UI.Button($get('FindButton'));
findButton.click.add(onFindLocation); // this line fails
Cheers!
Tim
Hi,
findButton.add_click(onFindLocation);
No comments:
Post a Comment