This is a migrated thread and some comments may be shown as answers.

Slider javascript errors

1 Answer 56 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
maha asked on 09 Jul 2010, 09:59 AM
I have the following page: radlistview with radslider
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<head id="Head1" runat="server">
<body class="BODY">
    <form runat="server" id="mainForm" >
        <asp:ScriptManager runat="server" ID="ScriptManager1" EnablePartialRendering="true"
            <telerik:RadListView runat="server" ID="RadListView1" DataSourceID="XmlDAtasource2"
                AllowPaging="True"  PageSize="4"
                    <div id="list">
                       <table><tr><td>  <fieldset runat="server" id="itemPlaceholder" /></td>
                  <telerik:RadSlider runat="server" ID="RadSlider1" 
                         Orientation="Vertical" MaximumValue="4" Width="150px" CausesValidation="false"  OnValueChanged="RadSlider1_ValueChanged"  AutoPostBack="true"  />
                    <fieldset style="float: left; margin: 5px 5px 5px 5px; padding: 2px 2px 2px 2px;
                        background: #eeeeee" class="myClass" >
                        <img id="Img1" src='<%# Xpath("src") %>' width="90" height="120" alt="" runat="server"/>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="RadSlider1">
                        <telerik:AjaxUpdatedControl ControlID="RadListView1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxSetting AjaxControlID="RadListView1">
                        <telerik:AjaxUpdatedControl ControlID="RadListView1" LoadingPanelID="RadAjaxLoadingPanel1" />
  <asp:XmlDataSource ID="XmlDAtasource2" runat="server" XPath="books/book" DataFile="~/generated_files/bitems.xml"/>

and the code behind is :
Imports System
Imports Telerik.Web.UI
Partial Class Default2
    Inherits System.Web.UI.Page
    Protected Sub RadSlider1_ValueChanged(ByVal sender As Object, ByVal e As EventArgs)
    End Sub
End Class

When i run the page i get the following javascript error :

Line: 492
Error: 'Sys.WebForms.PageRequestManager' is null or not an object

And then when i try to press on the slider buttons or slide it i got a javascript error:

Line: 950
Error: Object expected

What am i missing?

I tried to run the demos you have on my pc i received the same javascriot error :  Error: 'Sys.WebForms.PageRequestManager' is null or not an object

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 14 Jul 2010, 12:52 PM
Hi maha,
This error is not directly related to our controls. Please check the following resources that describe common causes for this error:

In case the information in the provided links does not help you, please open a formal support ticket and send me a running test project that demonstrates the problem.

All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question