以下是我的RadSlider:
<asp:Panel ID="Panel1" runat="server" CssClass="table-content headerGrid" Width="500px"
BorderColor="Black" Visible="false">
<telerik:RadGrid ID="rdGrddepencies" runat="server" Visible="false" AutoGenerateColumns="false"
BorderColor="Black" BorderStyle="Solid" Width="500px" OnItemDataBound="rdGrddepencies_Itemdatabound">
<MasterTableView AutoGenerateColumns="false">
<Columns>
<telerik:GridTemplateColumn>
<ItemTemplate>
<%--<asp:Label ID="lblId" runat="server" Text='<%#Eval("taskId") %>'></asp:Label>--%>
<asp:Label ID="lbltaskid" runat="server"></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<div id="DivSlider1" runat="server">
<telerik:RadSlider ID="RadSlider2" Value="100" runat="server" MinimumValue="0" MaximumValue="100"
ItemType="Tick" SmallChange="10" LargeChange="100" Height="48px" Width="80px"
AnimationDuration="100" TrackPosition="BottomRight" OnValueChanged="RadSlider1_ValueChanged"
AutoPostBack="true" OnClientValueChanging="demo.sliderClientValueChanging" OnClientSlideStart="demo.sliderClientSlideStart"
OnClientSlideEnd="demo.sliderClientSlideEnd" ShowDecreaseHandle="false" ShowIncreaseHandle="false"
ClientIDMode="Static">
</telerik:RadSlider>
</div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<asp:Button ID="btnDelete" Text="Delete" runat="server" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings>
<ClientEvents OnRowClick="RowClick" />
</ClientSettings>
</telerik:RadGrid>
</asp:Panel>
在我的应用程序中,我正在使用telerik:RadSlider
。我尝试在点击添加按钮时添加多个telerik:RadSlider
。如果页面中只有一个telerik:RadSlider
可以完全解除可转换事件。但我尝试点击并添加多个telerik:RadSlider
和ondrog second telerik:RadSlider
。
我收到以下错误:
JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive.
如何解决这个问题。
有什么想法吗?