May I create Generic Window

4 posts, 0 answers
  1. Ye
    Ye avatar
    23 posts
    Member since:
    Dec 2010

    Posted 16 Jun 2011 Link to this post

    I want to create a Window with a Generic Parameter.
    Just like public partial class RadWindow1<T>

    What should i do?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Jun 2011 Link to this post

    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
  3. DevCraft banner
  4. Ye
    Ye avatar
    23 posts
    Member since:
    Dec 2010

    Posted 27 Jun 2011 Link to this post

    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.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 29 Jun 2011 Link to this post

    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
Back to Top