Issue with Azure on onClick event

4 posts, 0 answers
  1. Michael
    Michael avatar
    43 posts
    Member since:
    Mar 2013

    Posted 23 May 2013 Link to this post

    I am receiving this error when i click on a radbutton when running my website in Azure, but it runs perfectly in the emulator.

    [NullReferenceException: Object reference not set to an instance of an object.]
       System.Object.GetType() +0
       Telerik.Web.UI.RadCompression.Compress(HttpApplication application) +803
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

    This error was gotten by using Fiddler...

    Thoughts

    Michael
  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 28 May 2013 Link to this post

    Hi Michael,

    The described issue is very strange and we have not encountered it so far and we are not sure what could be the reason for experiencing the problem. Could you please try changing the RadButton with the standard asp.net Button and let me know if the issue still persists.
    Additionally could you please try disabling the postback compression and see whether this changes the behavior.

    Looking forward for your reply.

    Regards,
    Radoslav
    Telerik
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael
    Michael avatar
    43 posts
    Member since:
    Mar 2013

    Posted 28 May 2013 Link to this post

    I tried both of those suggestions. No change.

    Michael
  5. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 31 May 2013 Link to this post

    Hello Michael,

    Another thing I can suggest you is to temporarily disable ViewState compression just to ensure it is not interfering with the AppFabric SessionState caching and see if you still get exceptions.
    Also if you have set runAllManagedModulesForAllRequests property to true, could you please try removing it and add preCondition="managedHandler"  and let me know if the issue still persist.
    <modules>
            <addname="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="managedHandler"/>
    </modules>
    Also is the exception is thrown on all pages which has RadButton on only on some pages? If this is the case I would suggest that you review the following forum thread:

    Stop compression for a separate page

    Regards,
    Radoslav
    Telerik
    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.
Back to Top