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

RadScriptmanager error

1 Answer 49 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Torben Pape-Haugaard
Top achievements
Rank 1
Torben Pape-Haugaard asked on 17 Jun 2010, 09:06 AM
Hi All,
I'm trying to add the ajax roundedcornersextension to a button on my page.
In the same page i'm using a rad treeview, so i added a rad scriptmanager for the treeview.
This work okay, but when i added the ajax extension, it complains about the scriptmanager.
Is it not possible to use both ajax component and rad:treeview on the same page ?
If I remove all Rad and use a ajax:scriptmanager the roundedcorneres will work fine but then the treeview complains.
Any ideears ??
Code:

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

 

 

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

 

 

</telerik:RadScriptManager>

 

 

 

<asp:Button ID="rbut" runat="server" Text="Test" />

 

 

<cc1:RoundedCornersExtender ID="juk" runat="server" Corners="All" Radius="15" TargetControlID="rbut"></cc1:RoundedCornersExtender>

 

<

 

div align="center" style="padding-top: 7px">

 

 

<asp:Button ID="Button1Reset" runat="server" Text="" Visible="false" BackColor="#efebef" />

 

</

 

div>

 

<

 

div style="padding-top: 7px; padding-left: 15px">

 

 

<asp:DropDownList ID="DropDownList1" runat="server" Width="178px" AutoPostBack="True"

 

 

OnSelectedIndexChanged="indexChange_drop">

 

 

</asp:DropDownList>

 

</

 

div>

 

<

 

telerik:RadTreeView ID="RadTreeView1" runat="server" EnableViewState="false">

 

</

 

telerik:RadTreeView>

 



The error:

Detaljer om fejl på websiden

Brugeragent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Tidsstempling: Thu, 17 Jun 2010 08:04:32 UTC

Meddelelse: Der er foretaget et uventet kald til en metode eller en egenskab.
Linje: 4344
Tegn: 1
Kode: 0
URI: http://localhost:1410/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=_ctl0_newTree_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3ada-DK%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3bTelerik.Web.UI%2c+Version%3d2010.1.309.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ada-DK%3af0c88abc-2e1c-4c5d-ab67-8dc4eeeb22f8%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ae524c98b%3bAjaxControlToolkit%2c+Version%3d1.0.20229.20821%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3ada-DK%3ac5c982cc-4942-4683-9b48-c2c58277700f%3ab14bb7d5%3a13f47f54%3a3c55b13e

Regards

Torben 

1 Answer, 1 is accepted

Sort by
0
Seth
Top achievements
Rank 1
answered on 17 Jun 2010, 09:29 PM
You could try using the RadFormDecorator instead of the RoundedCornerExtener.  It has a property called EnableRoundedCorners which might satisfy your requirement.

You could also try using the regular asp:ScriptManager as the RadScriptManager is not required for the Telerik controls.

Good luck.
Tags
Ajax
Asked by
Torben Pape-Haugaard
Top achievements
Rank 1
Answers by
Seth
Top achievements
Rank 1
Share this question
or