This is a migrated thread and some comments may be shown as answers.

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

6 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Daewhan
Top achievements
Rank 1
Daewhan asked on 17 Jun 2015, 06:35 AM

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!!!

 

.

 

 

 

6 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 17 Jun 2015, 01:34 PM
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
0
Daewhan
Top achievements
Rank 1
answered on 22 Jun 2015, 03:18 AM

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!

0
Daewhan
Top achievements
Rank 1
answered on 22 Jun 2015, 03:22 AM

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. 

0
Dimitrina
Telerik team
answered on 22 Jun 2015, 07:50 AM
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
0
Daewhan
Top achievements
Rank 1
answered on 23 Jun 2015, 01:47 AM

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!!

0
Dimitrina
Telerik team
answered on 23 Jun 2015, 07:45 AM
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
Tags
GridView
Asked by
Daewhan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Daewhan
Top achievements
Rank 1
Share this question
or