radprompt nested function '_functionality is undefined'

2 posts, 0 answers
  1. Brett
    Brett avatar
    42 posts
    Member since:
    Aug 2014

    Posted 14 Nov 2014 Link to this post

    I posted this question on StackOverflow: http://stackoverflow.com/questions/26935565/cannot-read-property-length-of-null-using-sender-set-selectedtogglestateinde

    It would appear that this telerik thread holds some relevance: http://www.telerik.com/forums/radbutton-javascript-error

    Note this issue is in the same project as the RadCombo thread I made: http://www.telerik.com/forums/client-side-eventargs-are-mutable 

    Where 'navigating' the client state (control state or view state) using either sender or the event argument is not an issue.



    If you could answer this question on SO, I would be greatful, but I do have a general question for this thread post. What is the underline mechanics of how telerik uses the client functions 'get_selectedToggleStateIndex()' or 'get_toggleStates()'.. what is '_functionality' and why is it null in my implementation (i.e. nested function as a promptcallback function)?
  2. Brett
    Brett avatar
    42 posts
    Member since:
    Aug 2014

    Posted 14 Nov 2014 in reply to Brett Link to this post

    Ah.. a colleague helped resolved this for me. It was a minor oversight on my part. the Radbutton Autopostback needed to be set to false; Essentially, a postback was occuring regardless of me canceling the changing event while processing and handling the event. 

    Hope this helps others catch that oversight in the future.
Back to Top