Action in processing

3 posts, 0 answers
  1. Karolis
    Karolis avatar
    2 posts
    Member since:
    May 2015

    Posted 08 May 2015 Link to this post

    Hello, i would like to get action (in mine case it is NavigateToReport) object on textbox databound event.

     As i see in VS watch there is parameter which gives action object. But its visible only in runtime.

     public void textboxdatabound(object sender, EventArgs e)
    {
        var tbox = (Telerik.Reporting.Processing.TextBox)sender;
        var action = ((Telerik.Reporting.Processing.ReportItemBase)(tbox)).Action;  <--- Gives unknown member error.
    }

  2. Karolis
    Karolis avatar
    2 posts
    Member since:
    May 2015

    Posted 08 May 2015 in reply to Karolis Link to this post

    Adding screen
  3. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 12 May 2015 Link to this post

    Hi Karolis,

    The processing TextBox item does not give you access to the Action. Instead you can use a custom function to set the target report, or use a binding using a custom function again. Thus you will be able to see the running value.

    We will appreciate it if you elaborate on the reason to access the processing item's Action.

    Regards,
    Stef
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top