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

Sys.WebForms.PageRequestManager null or not an object

1 Answer 48 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Jeff Reinhardt
Top achievements
Rank 1
Jeff Reinhardt asked on 04 Nov 2009, 01:03 AM
I have a radlistbox on a page and when the page loads I get this javascript error:

Sys.WebForms.PageRequestManager is null or not an object


Here is the page code:

<

 

telerik:RadScriptManager ID="RadScriptManager1" runat="server" />

 

<

 

telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">

 

Player Name:

&nbsp;<telerik:RadTextBox ID="radtxtAddPlayer" MaxLength="110" runat="server" /><asp:Button ID="btnAddPlayer" OnClick="btnAddPlayer_Click" Text="Add Player" runat="server" />

 

<

 

telerik:RadListBox ID="radlstPlayerPosition"

 

 

runat="server" height="300px" width="150px"

 

 

DataTextField="PlayerName" DataValueField="nPlayerID" AllowDelete="true"

 

 

AllowReorder="true" AllowTransfer="false" AutoPostBack="True">

 

 

</telerik:RadListBox>

 

 

 

 

</

 

telerik:RadAjaxPanel>

Any ideas why I would get this error?   adding a player works even with the error there???

 

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 06 Nov 2009, 11:30 AM
Hi Jeff Reinhardt,

The code looks ok and does not throw an exception on my tests. Probably the problem is somewhere else.
If you place that code in a blank new web site - it will work.


Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ListBox
Asked by
Jeff Reinhardt
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or