469,642 Members | 1,254 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,642 developers. It's quick & easy.

Javascript : pass chkbox value as parameter in to MSRS report

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

Nov 10 '05 #1
1 2024
> 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/
----------------------------------------------
"jaya" <ja********@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com... 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

Nov 10 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Andrew Clark | last post: by
5 posts views Thread by cpnet | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.