or
I am using the Ajax Rad Menu from Q3 2010 in Visual Studio 2010 on Windows 2008 Enterprise Server
This error happens in my development environment on Windows 7 and in production on Windows 2008 Server
Put the Rad Menu into your project and configure it to look something like this:
<
telerik:RadMenu
ID
=
"RadMenu1"
Skin
=
"Windows7"
EnableEmbeddedSkins
=
"False"
OnClientItemClicking
=
"myClickFunction"
runat
=
"server"
>
<
ExpandAnimation
Type
=
"InOutQuad"
></
ExpandAnimation
>
</
telerik:RadMenu
>
Sys.UI.DomEvent=function(e){var a=e,b=this.tyle=a.type.toLowerCase();this.rawEvent=a;this.altKey=a.altKey;
where b=this.tyle=a.type.toLowerCase() is hghlighted in yellow showing the statement that failed
Go ahead and click the Continue button on the error dialog until the error clears and passes execution on to the browser. Now refresh your browser by hitting F5. Pass your mouse over the menus and the error no longer happens.
Can anyone tell me why this might be happening?
Ralph
var
$ = $telerik.$;
var
categoryPanelBar = $(
this
).find(
"<%=RadPanelBar1.ClientID%>"
);
alert(categoryPanelBar.get_items());
<telerik:RadWindow ID="ImpersonationWindow" runat="server" Height="200px" Width="500px" IconUrl="/Content/Images/user16.png" Animation="Fade" Modal="true" Title="User Impersonation" Behaviors="Close" KeepInScreenBounds="true" ReloadOnShow="false" DestroyOnClose="false"> <ContentTemplate> <div class="row"> <span class="label" style="width: 30%;"> <span class="small-red-bold-label">Business Unit:</span> </span> <span class="field" style="width: 65%;"> <telerik:RadComboBox ID="ImpersonatedBusinessUnitRadComboBox" runat="server" Width="275px" CausesValidation="false" DataTextField="FormalName" DataValueField="CentralBusinessUnitNo"> </telerik:RadComboBox> </span> </div> <div class="row"> <span class="label" style="width: 30%;"> <span class="small-red-bold-label">Employee:</span> </span> <span class="field" style="width: 65%;"> <telerik:RadComboBox ID="ImpersonatedEmployeeRadComboBox" runat="server" Width="275px" Height="200px" CausesValidation="false" DataValueField="EmpID" DataTextField="FullName" ShowDropDownOnTextboxClick="false" EnableLoadOnDemand="true" MarkFirstMatch="false" ItemRequestTimeout="500" EmptyMessage="Type Employee Name..." MinFilterLength="2" OnItemsRequested="ImpersonatedEmployeeRadComboBox_ItemsRequested"> </telerik:RadComboBox> </span> </div> <div class="row"><span class="label"></span><span class="field"></span></div> <div class="row"> <span class="label" style="width: 48%;"> <asp:Button ID="ImpersonateButton" runat="server" Text="Impersonate" Width="100px" OnClick="ImpersonateButton_Click" /> </span> <span class="field" style="width: 48%;"> <asp:Button ID="ResetButton" runat="server" Text="Reset" Width="100px" OnClick="ResetButton_Click" /> </span> </div> </ContentTemplate> </telerik:RadWindow>
protected void ImpersonatedEmployeeRadComboBox_ItemsRequested(object sender,RadComboBoxItemsRequestedEventArgs e) { if(!string.IsNullOrEmpty(e.Text)) { if(e.Text.Length >= 2) { List<FindEmployeeView> employees = new List<FindEmployeeView>(); // get data from data context using(CommonDataContext context = new CommonDataContext(ConfigurationManager.ConnectionStrings["CEO"].ConnectionString)) { employees = context.FindEmployeesByFullName( 0, e.Text, AnyOrganizationFilter, "|" + ImpersonatedBusinessUnitRadComboBox.SelectedValue + "|", AnyOrganizationFilter, 1).ToList(); } // databind ImpersonatedEmployeeRadComboBox.DataSource = employees; ImpersonatedEmployeeRadComboBox.DataBind(); } } }
chart.Legend.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.BottomLeft;
chart.AutoLayout =
true
;