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

Slider javascript errors

1 Answer 19 Views
Slider
This is a migrated thread and some comments may be shown as answers.
maha
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head id="Head1" runat="server">
  
</head>
<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"
                >
                <LayoutTemplate>
                    <div id="list">
                       <table><tr><td>  <fieldset runat="server" id="itemPlaceholder" /></td>
                       <td
                             
                   
                  <telerik:RadSlider runat="server" ID="RadSlider1" 
                         Orientation="Vertical" MaximumValue="4" Width="150px" CausesValidation="false"  OnValueChanged="RadSlider1_ValueChanged"  AutoPostBack="true"  />
                         </td></tr></table>
                        
                    </div>
                </LayoutTemplate>
                <ItemTemplate>
                    <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"/>
                       
                    </fieldset>
                </ItemTemplate>
            </telerik:RadListView>       
    
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadSlider1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadListView1" LoadingPanelID="RadAjaxLoadingPanel1" />
                 </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadListView1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadListView1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
  
                    
  <asp:XmlDataSource ID="XmlDAtasource2" runat="server" XPath="books/book" DataFile="~/generated_files/bitems.xml"/>
          
  
        
  
    </form>
</body>
</html>


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)
          
        RadListView1.Rebind()
    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
0
Tsvetie
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,
Tsvetie
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
Tags
Slider
Asked by
maha
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or