Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to open new form from rdlc report in windows application.
Posted
Comments
PrissySC 12-Jun-13 15:39pm    
Using bookmark / URL.

Add a textbox. Right click and go to properties. Go to "action". Set either.
Mohd Laiq Beg 13-Jun-13 1:05am    
but how can we open new form using action property in windows application.
bluesathish 13-Jun-13 1:47am    
you asking how to display the rdlc report to another(new) form, isn't it?
Mohd Laiq Beg 13-Jun-13 2:05am    
no i want to open a new form when user click on texbox inside rdlc.
Mohd Laiq Beg 17-Jun-13 1:52am    
I have done this task.

1 solution

Solution,
C#
private void reportViewer1_Drillthrough(object sender, DrillthroughEventArgs e)
        {
            Form1 obj = new Form1();
            obj.ShowDialog();
            e.Cancel = true;
        }
 
Share this answer
 
Comments
ErBhati 18-Jul-13 8:37am    
i have same problem what i set in expression if Action -> gotourl proprty of that textbox...Please reply
ErBhati 18-Jul-13 8:38am    
The drillThrrough event of Reportviewer is not fire when i click on hyper lnk of rdlc file.... in my case...How i solve it plz tell me
Mohd Laiq Beg 24-Jul-13 4:35am    
drillthrough event will not fire with GoToURL proprty. if you want to fire drillthrough event you can use GoToReport property.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900