asp control imagebutton click event gives json error

Oct 26, 2010 at 1:01 PM

Hello Sanshi,

  Need help, have created Imagebutton in ContentPanel button has got OnClick event at the run time gives error

JSONTokener.cs The line endings in the following file are not consistent. Do you want to normalize the line endings.

The variable has got CR LF

Need a sample where asp control is used with OnClick event.

regards,

Mohammed S. Kaka

Oct 28, 2010 at 10:53 PM

I am also getting many error messages with:

 

[NullReferenceException: Object reference not set to an instance of an object.]
   Nii.JSON.JSONTokener.more() +6
   Nii.JSON.JSONTokener.next() +13
   Nii.JSON.JSONObject..ctor(JSONTokener x) +27
   ExtAspNet.ResourceManager.get_PostBackStates() +121
   ExtAspNet.ControlBase.get_PostBackState() +47
   ExtAspNet.ControlBase.OnInit(EventArgs e) +92
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378