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

RadWindow in UserControl

1 Answer 132 Views
Window
This is a migrated thread and some comments may be shown as answers.
Messias
Top achievements
Rank 1
Messias asked on 06 May 2013, 07:22 PM
Good afternoon.

Are trying to run an event in instaciado RadWindow inside a usercontrol, but returns me an error: Object reference not set to an instance of an object.

what could be the cause?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 07 May 2013, 07:51 AM
Hello Messias,

RadWindow cannot be declared as a visual element inside a UserControl. It should be either created in code-behind as explained here or used as a UserControl as demonstrated here.

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Window
Asked by
Messias
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or