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

access reportParameters at ItemDataBinding

1 Answer 121 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter Williams
Top achievements
Rank 1
Peter Williams asked on 21 Apr 2010, 05:26 PM
I have the following code sample in while I want to access the reportparameter name "Data" 's value.  However, it shows up empty at runtime.  If I leave out this subroutine, my DatahtmlTextBox would show value from :

Me

 

.DatahtmlTextBox.Value = "{Parameters.Data.Value}" set inside the Private Sub InitializeComponent()

 


What am I missing here that I don't get any data within my DatahtmlTextBox_ItemDataBinding sub?
Private Sub DatahtmlTextBox_ItemDataBinding(ByVal sender As ObjectByVal e As System.EventArgs) Handles DatahtmlTextBox.ItemDataBinding  
Dim HtmlTextBox As Telerik.Reporting.Processing.HtmlTextBox = DirectCast(sender, Telerik.Reporting.Processing.HtmlTextBox)  
HtmlTextBox.Value = "<b>" & Me.ReportParameters("Data").Value & "I then</b> decided to open the word doc and save it as a .jpg." 
End Sub 
 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Apr 2010, 02:55 PM
Hello Peter Williams,

Your code snippet is correct and we are unable to reproduce the described behavior. To further investigate please send us a sample runnable project in your support thread that illustrates the unexpected behavior. It will help us pinpoint the problem and solve it for you.
 

Kind regards,
Peter
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.
Tags
General Discussions
Asked by
Peter Williams
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or