RadDataPager Target of Invocation Error

13 posts, 0 answers
  1. jay
    jay avatar
    39 posts
    Member since:
    Jun 2010

    Posted 10 Oct 2011 Link to this post


    I am working on a Silverlight 5 RC solution with RadControls Q2 2011 on IE9.
    RadDataPager always displays an error in design view. Even if i drag the control from the toolbox to the UI i get the Target of Invocation Error. Sometimes it comes up with MissingMethodException.
    I suspect it is not a problem with my solution as i cannot even load any of the UIs in the  \Telerik\RadControls for Silverlight Q2 2011\Demos\Examples\DataPageri n design view, even though the solution compiles and runs ok.

    Anyone has an explanation for this?

    Thanks
  2. Jeremy
    Jeremy avatar
    5 posts
    Member since:
    Oct 2012

    Posted 20 Oct 2011 Link to this post

    I'm running into the same problem. The July version (v2011.2 712) works, but the September one (v2011.2 920) doesn't. I'm still on the SL 5 beta because I had too many issues with SL 5 RC. Looking at the change notes for 920, there were two bug fixes for RadDataPager. 

    • Fixed: DataPagerAutomationPeer GetChildren().
    • Fixed: RadDataPager does not properly dispose its PagedSource.
  3. DevCraft banner
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Oct 2011 Link to this post

    Hi,

     This design-time error was reported to Microsoft and already fixed in latest versions of Silverlight 5. 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Omer
    Omer avatar
    14 posts
    Member since:
    Nov 2011

    Posted 23 Nov 2011 Link to this post

    I am running into the same problem using version 2011.2.920.1040. What version should I be using and where can I get it?

    Omer
  6. jay
    jay avatar
    39 posts
    Member since:
    Jun 2010

    Posted 09 Dec 2011 Link to this post

    Invocation error still shows up after upgrading to the Released version of Silverlight 5
  7. Chris
    Chris avatar
    5 posts
    Member since:
    Aug 2012

    Posted 19 Dec 2011 Link to this post

    I'm getting the same error still too with SL 5 rockin. Pretty much makes it so I can't use the designer...
  8. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 20 Dec 2011 Link to this post

    Hello,

     Unfortunately they've not included fix for this in the official Silverlight 5 - you can cast your vote here and hopefully the bug will be fixed in some of the future patches.  

    The only thing we can do for now is to try/catch the Count call in our QueryableCollectionView. This change will be included in our upcoming service pack this week. 

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  9. Henky Wibowo
    Henky Wibowo avatar
    5 posts
    Member since:
    Jan 2010

    Posted 29 Jan 2012 Link to this post

    Hi,

    I am running into the same problem with the Q3 2011 Silverlight RadDataPager and released version of SL5. How do I fix this issue?

    TIA.
  10. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 30 Jan 2012 Link to this post

    Hi,

     Are you getting the same with our SIlverlight 5 assemblies? 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Henky Wibowo
    Henky Wibowo avatar
    5 posts
    Member since:
    Jan 2010

    Posted 31 Jan 2012 Link to this post

    I downloaded the RadControls_for_Silverlight5_2011_3_1220_DEV_hotfix. Replaced the binaries folder in installation folder. Same thing.
  12. Vera
    Admin
    Vera avatar
    263 posts

    Posted 31 Jan 2012 Link to this post

    Hi Henky,

    You need to reset the toolbox and load the new binaries again. I tested you scenario and I didn't get any errors in design time. 

    Greetings,
    Vera
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  13. Henky Wibowo
    Henky Wibowo avatar
    5 posts
    Member since:
    Jan 2010

    Posted 31 Jan 2012 Link to this post

    Hi,

    It seemed to work at the beginning, but it errored out after a successful compile. I have not tried it on a new project after the update. Will that make a difference?

    Thanks.
  14. Henky Wibowo
    Henky Wibowo avatar
    5 posts
    Member since:
    Jan 2010

    Posted 31 Jan 2012 Link to this post

    Figured out the issue. The DLLs were not copied since they were being used. I had to close down VS and copied them manually. All is working now.

    Thanks.

    Henky
Back to Top
DevCraft banner