Send value from ASPX to a textbox in RDLC file.  
Author Message
PedroCGD





PostPosted: Visual Studio Report Controls, Send value from ASPX to a textbox in RDLC file. Top

Dear Friend,

I have e report file and an aspx file.

I have a textbox created inside the report file, and I want to send the value of this textbox from the aspx page. How can I do it

And how can I format a field in EURO

Thanks!!




Visual Studio25  
 
 
Long Xue





PostPosted: Visual Studio Report Controls, Send value from ASPX to a textbox in RDLC file. Top

You can created a parameter and refer the value of the textbox to the parameter, and send the value of the parameter from the aspx page.

Good luck,

Long


 
 
PedroCGD





PostPosted: Visual Studio Report Controls, Send value from ASPX to a textbox in RDLC file. Top

Dear friend,

Thanks for the support. But do you have an example to invoke the report parameter

I have created the parameter inside the report, but how can I invoke it from ASPX page

Thanks!



 
 
PedroCGD





PostPosted: Visual Studio Report Controls, Send value from ASPX to a textbox in RDLC file. Top

Dear friends,

I found the answer! Thanks.

Dim params(0) As Microsoft.Reporting.WebForms.ReportParameter

params(0) = New Microsoft.Reporting.WebForms.ReportParameter("rptParam_DirNomeCompleto", "TESTE DIR COMPLETO")

ReportViewer1.LocalReport.SetParameters(params)

ReportViewer1.LocalReport.Refresh()