I have the following page: radlistview with radslider
and the code behind is :
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
<%@ 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">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
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