Feb 17, 2009, 9:27 AM
[CLOSED] CycleButton this.btnEl
I'm getting a javascript error "this.btnEl is undefined" using latest code from SVN and copy-pasting example from examples explorer.
Any ideas?
Example:
Any ideas?
Example:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="cb2.aspx.vb" Inherits="Autochart.cb2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager runat="server" />
<ext:CycleButton ID="CycleButton1" runat="server" ShowText="true" PrependText="View As ">
<Menu>
<ext:Menu ID="Menu3" runat="server">
<Items>
<ext:CheckMenuItem ID="CheckMenuItem1" runat="server" Text="Text Only" Icon="Note" />
<ext:CheckMenuItem ID="CheckMenuItem2" runat="server" Text="Html" Icon="Html" Checked="true" />
</Items>
</ext:Menu>
</Menu>
</ext:CycleButton>
</form>
</body>
</html>