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