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

Toggle button exception

1 Answer 78 Views
Button
This is a migrated thread and some comments may be shown as answers.
Remya
Top achievements
Rank 1
Remya asked on 17 Mar 2012, 06:18 AM
Hi,

I am using my rad button like this,
<telerik:RadButton ID="chkIsConsultation" runat="server" Text="Consultation"
 ToggleType="CheckBox" ButtonType="ToggleButton" CausesValidation="false">
</telerik:RadButton>

but on ckecking the checkbox an exception occurs
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: .

How this comes..
Help me.
Thnx in advance

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 21 Mar 2012, 02:59 PM
Hello Remya,

The problem is most probably caused by parts of your code that are not displayed in the provided code sample, as the described behavior does not occur by using only the RadButton. The exact cause cannot be determined by the presented error message, since it could be received in various scenarios.

Please open a support ticket and send a simple, runnable page that isolates the reported problem so that we can examine it locally and suggest a concrete solution. A reliable steps for reproducing the issue will also be useful for detecting its cause.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Button
Asked by
Remya
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or