Session variables return null values in the example.

Thread is closed for posting
2 posts, 0 answers
  1. Canis Lupus
    Canis Lupus avatar
    9 posts
    Member since:
    Aug 2012

    Posted 29 Jan 2011 Link to this post

    I am trying to implement your demo . With debug I can see that in default.aspx.vb codebehind, proper values are being assigned to the custom session variables in custom class (e.g.: config.userID). However, I realized that the custom session variables in ashx handlers always returns null values. When I hardcode those variables in the ashx handlers, demo works just fine. I am using VS2010 premiun (visual basic) and Telerik 2010.3.1215.40

    How can I make those custom class variables return correct values instead of null values?

    Thank you.
  2. Genady Sergeev
    Genady Sergeev avatar
    1595 posts

    Posted 02 Feb 2011 Link to this post

    Hello Canis Lupus,

    Such issue might pop up if there is no Silverlight installed on the client machine and the async upload is using its Flash module. There are two solutions to this problem. Either install Silverlight, so that RadAsyncUpload can use its Silvelright module, either disable flash using the following script:

    Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; }

    Please place the mentioned script after the ScriptManager declaration.

    Best wishes,
    Genady Sergeev
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. DevCraft R3 2016 release webinar banner
Back to Top