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

Action in processing

2 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karolis
Top achievements
Rank 1
Karolis asked on 08 May 2015, 09:42 AM

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 Answers, 1 is accepted

Sort by
0
Karolis
Top achievements
Rank 1
answered on 08 May 2015, 09:50 AM
Adding screen
0
Stef
Telerik team
answered on 12 May 2015, 01:07 PM
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.

 
Tags
General Discussions
Asked by
Karolis
Top achievements
Rank 1
Answers by
Karolis
Top achievements
Rank 1
Stef
Telerik team
Share this question
or