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

May I create Generic Window

3 Answers 38 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ye
Top achievements
Rank 1
Ye asked on 16 Jun 2011, 02:06 PM
I want to create a Window with a Generic Parameter.
Just like public partial class RadWindow1<T>

What should i do?

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 21 Jun 2011, 09:42 AM
Hi Ye,

Could you please share with us some more details about your scenario - why do you need to create window with generic parameter? If you can elaborate more on what you are trying to achieve, we will be able to provide you with the best solution for your case.

Looking forward to your reply.

Regards,
Konstantina
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Ye
Top achievements
Rank 1
answered on 27 Jun 2011, 05:03 AM
I will get a List use generic type in the window just like GetList<T>().
But now i have to determine what type of the paramter is, then use the GetList<CadLine>(), if the type is CadLine, or GetList<CadPolygon>() if the type is CadPolygon.

So I want to have a more parameter for the generic type.
0
Konstantina
Telerik team
answered on 29 Jun 2011, 12:17 PM
Hello Ye,

I am afraid I still cannot understand fully what are you trying to achieve. Please give us detailed information about your scenario and we will do our best to provide you with the best solution for your case.

Greetings,
Konstantina
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Ye
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Ye
Top achievements
Rank 1
Share this question
or