473,396 Members | 1,797 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,396 software developers and data experts.

How to add DropDownList Control inside ReportViewer Control.

I am working with ASP.NET.I am using ReportViwer Control to show my
report.I like to add dropdownlist with in the reportviewer control. (
Not top to the control some thing like that).I need to place dropdown
near to Export link ( Excel and PDF Export).Is it possible to add at
the dropdown list with in report viewer control?. I found the property
as ReportViewer.Controls.Add.But its not working.Please help me.

Regards,

S.Sevugan.

Jul 25 '06 #1
4 4455
I don't believe it is possible to do what you want. You have to edit
the report itself to add a dropdown to your report. This is a fairly
simple venture in reporting services. I can say with a certain degree
of certainty that you cannot add things to the report as it renders in
the report viewer control. You can however, pass along parameters to a
reportviewer through other controls on the page, perhaps this is what
you're looking to do?
Sevu wrote:
I am working with ASP.NET.I am using ReportViwer Control to show my
report.I like to add dropdownlist with in the reportviewer control. (
Not top to the control some thing like that).I need to place dropdown
near to Export link ( Excel and PDF Export).Is it possible to add at
the dropdown list with in report viewer control?. I found the property
as ReportViewer.Controls.Add.But its not working.Please help me.

Regards,

S.Sevugan.
Jul 25 '06 #2

Hi tfsmag,

Thanks for your reply.I am not want to have dropdownlist in
page and based on the selection in dropdown,refresh the control and
show the result.Instaed i need to have inside the control iteslf and
show the result based on selection.

You mentioned that we can add dropdownlist inside the
report.Is it possible?But i didnt found dropdown list in toolbox while
edit the report.Then how can we add dropdown list to the report
itself.Please help me in this regard.

If it is possible then my requirement will satisfy.Because i
will call the report in reportviewer control.So it displays the
dropdown inside the control itself.

For your information,I am working with ASP 2.0

Regards,
S.Sevugan
tfsmag wrote:
I don't believe it is possible to do what you want. You have to edit
the report itself to add a dropdown to your report. This is a fairly
simple venture in reporting services. I can say with a certain degree
of certainty that you cannot add things to the report as it renders in
the report viewer control. You can however, pass along parameters to a
reportviewer through other controls on the page, perhaps this is what
you're looking to do?
Sevu wrote:
I am working with ASP.NET.I am using ReportViwer Control to show my
report.I like to add dropdownlist with in the reportviewer control. (
Not top to the control some thing like that).I need to place dropdown
near to Export link ( Excel and PDF Export).Is it possible to add at
the dropdown list with in report viewer control?. I found the property
as ReportViewer.Controls.Add.But its not working.Please help me.

Regards,

S.Sevugan.
Jul 26 '06 #3
to have a dropdown appear in the report you need to add a new parameter
to the report, you will also need to create a new dataset to poulate
the dropdown once your parameter is created.

In your business intelligence studio go to report report parameters.

Once you have the parameters window open click "add" and name your
parameter.
>From there you will need to set the parameter's properties.
The "name" field should contain the name of the parameter.

the datatype will probably almost always be string, unless you're
pulling dates or numbers from the database in the dataset you use to
populate your drop down.

the "prompt" is what you want to appear next to the dropdownlist

if you want people to be able to select mulitiple values, check the
"multi value" checkbox, otherwise I think it's safe to leave the other
checkboxes alone, unless you do not want to allow null/blank values,
then you need to check those corresponding checkboxes.

under "available values", if you've created another dataset via a
query, select "from query" then pick the dataset you created as the
dataset, then you'll need to pick the value and label fields from your
dataset.

I hope this is what you're looking for, otherwise I just spent alot of
time for nothing!
Sevu wrote:
Hi tfsmag,

Thanks for your reply.I am not want to have dropdownlist in
page and based on the selection in dropdown,refresh the control and
show the result.Instaed i need to have inside the control iteslf and
show the result based on selection.

You mentioned that we can add dropdownlist inside the
report.Is it possible?But i didnt found dropdown list in toolbox while
edit the report.Then how can we add dropdown list to the report
itself.Please help me in this regard.

If it is possible then my requirement will satisfy.Because i
will call the report in reportviewer control.So it displays the
dropdown inside the control itself.

For your information,I am working with ASP 2.0

Regards,
S.Sevugan
tfsmag wrote:
I don't believe it is possible to do what you want. You have to edit
the report itself to add a dropdown to your report. This is a fairly
simple venture in reporting services. I can say with a certain degree
of certainty that you cannot add things to the report as it renders in
the report viewer control. You can however, pass along parameters to a
reportviewer through other controls on the page, perhaps this is what
you're looking to do?
Sevu wrote:
I am working with ASP.NET.I am using ReportViwer Control to show my
report.I like to add dropdownlist with in the reportviewer control. (
Not top to the control some thing like that).I need to place dropdown
near to Export link ( Excel and PDF Export).Is it possible to add at
the dropdown list with in report viewer control?. I found the property
as ReportViewer.Controls.Add.But its not working.Please help me.
>
Regards,
>
S.Sevugan.
Jul 26 '06 #4
mmghjjmghmghmghmghmhhhgjhgjghjghjhj

From http://developmentnow.com/g/8_2006_7...r-Control-.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Apr 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dominic | last post by:
Hi guys, I'm not sure if this question belongs to FAQ, but I couldn't find a concrete answer. I created a Datagrid control using ItemTemplate, but it's NOT a in-place editing datagrid. One of...
10
by: Sacha Korell | last post by:
I'm trying to load a drop-down list with all DropDownList control names from another page. How would I be able to find those DropDownList controls? The FindControl method will only find a...
2
by: glenn | last post by:
Hi folks, I am trying to determine which item in a DropDownList Web control has been selected. I have posted an OnSelectedIndexChanged subroutine in my code with a reference to the subroutine...
15
by: glenn | last post by:
Hi folks, I have a DropDownList in a DataGrid that is populated from records in a database. I want to add a value that might be a string such as "Select a Company" for the first item since an...
3
by: Carlos Lozano | last post by:
Hello, I am having a problem getting the selectedValue from a dropdownlist that is populated with a dataReader and just can't see the problem. I did the following: dim dr as DataReader dr...
1
by: Rich | last post by:
Hello, I am trying to use the Reportviewer control. I have been following an example from the web, and the instructions from the help files on set up a ..rdlc and binding it to the reportviewer...
10
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a...
18
by: Redhairs | last post by:
Is it possible to get DropDownList.SelectedValue in Page_PreInit() event during the postback?
2
by: steven | last post by:
i've got a dropDownList that I'm trying to populate from my code behind as follows: uxVehicleColourEdit.DataSource = oDsLookups.Tables; if the dropDown is placed inside a datagrid, i get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.