RadGridView run well in wpf app. But threw exception in vspackage!

7 posts, 1 answers
  1. Daewhan
    Daewhan avatar
    10 posts
    Member since:
    Nov 2013

    Posted 17 Jun 2015 Link to this post

    Hi~

    I made some control which use radgridview.

    And this control runs well in an application project. But threw an exception when it used in vspackage project.

     The exception threw in control constructor

    and the exception is system.window.markup.staticresourcehilder.

    And inner exception is typeinitializationexception of  telerik.windows.input.touchmanager.

    And inner exception of above is system.window.markup.staticresourcehilder again.

     And inner of above is system.notimplementedexception.

     

    plz, some body give me hint!!!

     

    .

     

     

     

  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 17 Jun 2015 Link to this post

    Hi,

    As it turns out we are not aware of such an issue. Would you please share what version of the controls do you use? Do you benefit from touch in your application,  or is it enabled by default?
    Is it possible for you to isolate the problem in a demo project and send it to us via a support ticket?

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Daewhan
    Daewhan avatar
    10 posts
    Member since:
    Nov 2013

    Posted 21 Jun 2015 in reply to Dimitrina Link to this post

    hi! Dimitirna~

    1. my telerik version is 2014 q3

    2. Touch is not need to my project

        and I don't know how to disable touch.

        let me know the way to disable touch.

    3. There is some problems in making demo.

        But project condition is simple.

        1. Create UserControl

        2. That control has a RadGridView

        3. Create Visual Studio Extention Package

            Project (VS Package)

        4. Add ToolWindow into VSPackage 

        5. That ToolWindow has above

            UserControl.

     And this VSPackage project make run.

    Then you will see the problem.

    If you sucess to run it, please send your demo to me.

     

    Thanks!

  4. Daewhan
    Daewhan avatar
    10 posts
    Member since:
    Nov 2013

    Posted 21 Jun 2015 in reply to Daewhan Link to this post

    ah! Some more thing!

    My Control use VisualStudio2013 Theme.

    And I applied theme by implicit way.

    So My all project are referencing the DLL in WPF40. 

  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Jun 2015 Link to this post

    Hi,

    Would you try disabling touch?
    For example:
    public partial class App : Application
    {
        public App()
        {
            TouchManager.IsTouchEnabled = false;
        }
    }

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Daewhan
    Daewhan avatar
    10 posts
    Member since:
    Nov 2013

    Posted 22 Jun 2015 in reply to Dimitrina Link to this post

    OK! I fiund a solution!

    in case of vspackage, devene.exe is an application and dependant dlls will be searched in the path of devenv.exe.

    copy dlls to be referenced into this path!

    then you can clear it!!

  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 23 Jun 2015 Link to this post

    Hi,

    Thank you so much for sharing the solution with the community.

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top