how to access public methods of a class in telerik reporting

3 posts, 0 answers
  1. M
    M avatar
    7 posts
    Member since:
    Mar 2012

    Posted 07 Mar 2012 Link to this post

    I am using q2 2011 telerik reporting for silverlight apps.
    in access to data by object data source I can only access to properties of my main class(that defined by set and get) and I can not access to other public methos, why?I have a created class with some public method(c#) and no any property(set get ...) , when I connect to the "list" type class of this class I can not see the public methods but if I create a property(by set and get) I can see that properties! .Is any way for accessing to public methods? Thanks.maniaqrzep@yahoo.com
  2. Squall
    Squall avatar
    174 posts
    Member since:
    Feb 2011

    Posted 07 Mar 2012 Link to this post

    Hi,
    you can access methods return data only if you set the method as ObjectDataSouce.DataMemember. 
    SN
  3. DevCraft banner
  4. M
    M avatar
    7 posts
    Member since:
    Mar 2012

    Posted 11 Mar 2012 Link to this post

    Hi and Thanks for your reply. Supose you have a pre defined class with 50 methods (that have not created with set and get ...) . We have this class previously and we have not any permission for editing of this class. We must only use this class for other porposes. We want to use data returning of methods of this class. If we inherit a new class and redefine the new properties, this is dificalt and it take a long time. Is any easy way for accesing to this predefined methods?
Back to Top