473,320 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2178
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andrew Clark | last post by:
*** post for FREE via your newsreader at post.newsfeed.com *** hello, i am trying to create a login page to my website. there are the usual fields for name and password, but i want 2 more: a...
0
by: Michael | last post by:
I followed the solution document at the http://support.businessobjects.com/library/kbase/articles/c2015079.asp?ref=devzone_netzone_howto .. However, the Crystal Report prompt is still showing. The...
5
by: deko | last post by:
I'd like to use a bit of code in the OnOpen event of a report: =rptOpen(Me.ReportName), (Me.Tag) --this doesn't work This does work: Private Sub Report_Open(Cancel As Integer)...
1
by: CR1 | last post by:
I found a great cookie script below, but don't know how to make it also pass the values sent to the cookie, to a querystring as well for tracking purposes. Can anyone help? If there was a way to...
2
by: Roger | last post by:
Anyone know how to pass a parameter to a query via a report in Access 2003?
5
by: cpnet | last post by:
I'm able to pass string parameters with no problems to a LocalReport being displayed by the ASP.NET ReportViewer control. However, my report also has a DateTime parameter. ...
1
by: ajaykhedekar | last post by:
I am Showing Mulitple MSRS Reports on Single ASP.Net WEB Page using Mulitple ReportViewer Controls. If User wants to Print the Reports, then user has to click Print button provided by ReportViewer...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.