When a user clicks on a report Text component, I want to capture the Text of the original control ({Table.Field}) as well as the actual value of that field for the row the user clicked on.
Is this possible?
I tried with the TextValue but it always comes up blank.
Click Event
Click Event
Please check Text.Value.
Thank you.
Thank you.
Click Event
Here is the code I put in the Click event of the Text1
MessageBox.Show(Text1.Text.Value);
When I click, I get the MessageBox but it's empty.
I did this on the first sample "Simple List" that comes with StimulReport
MessageBox.Show(Text1.Text.Value);
When I click, I get the MessageBox but it's empty.
I did this on the first sample "Simple List" that comes with StimulReport
Click Event
Try following code:
Thank you.
Code: Select all
StiText text = sender as StiText;
MessageBox.Show(text.Text.Value);