Javascript : pass chkbox value as parameter in to MSRS report

J

jaya

Hi,
I am using asp.net to pass parameters from .aspx page to my Microsoft
reporting service.
My .aspx page has checkbox. If it is checked it the chekbox should pass
value =0 to my report
<INPUT id="ReviewedBy" style="WIDTH: 16px; HEIGHT: 20px"
type="checkbox" name="ReviewedBy" value = 0>

if the check box is unchecked it should pass value = 1. i.e.
<INPUT id="ReviewedBy" style="WIDTH: 16px; HEIGHT: 20px"
type="checkbox" name="ReviewedBy" value = 1>

Since the reporting service passes value directly i couldn't write any
server side code.

In client side validation i could diplay the value of check box in
alert message but i couldn't pass it as parameter to the report server.


I would really appreciate if i could get solution for this problem.

Thanks,
Jaya
 
T

Teo Lachev [MVP]

Since the reporting service passes value directly i couldn't write any
server side code.

Not sure what this means. If you want to submit the request on the client
side (in JavaScript) use window.open and send the URL report request. If you
want to do it on the server side, you can use Web service addressability.
--
HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
----------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top