Can't get values out of return object

2 posts, 0 answers
  1. Ron
    Ron avatar
    2 posts
    Member since:
    Oct 2011

    Posted 05 Aug 2013 Link to this post

    I am using Q1 2011 RadWindow. The value being returned from the RadWindow is a string array. However, the ajaxRequest method being called on the parent page is changing the string array to [object Object] as the argument of the AjaxRequestEventArgs in the c# code.

    This used to work fine when using the Q1 2008 version when using ClientCallBackFunction, but have now had to change to OnClientClose.

    How do I get my values out of this object in my c# code?

  2. Marin Bratanov
    Marin Bratanov avatar
    5454 posts

    Posted 06 Aug 2013 Link to this post

    Hello Ron,

    Could you explain the case in more details? From what I can gather you are having issues with passing the data to the server which is not a task related to the RadWindow control. Getting the object from the argument should not differ from the logic from this demo and should work fine both in the latest and in the Q1 2011 versions:
    For your convenience I am adding here a simple page that shows one way data can be passed and edited like this. I hope you find it helpful.

    Marin Bratanov
    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 the blog feed now.
Back to Top