![]() |
| |||||||
| Registrarse | Preguntas Frecuentes | Lista de Foreros | Calendario | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
| | LinkBack | Herramientas | Desplegado |
| |||
| Hola Amigos tengo un problema Tengo un reporte en sql report 2005 (el reporte tiene una tabla, un pie chart y un bar char).Lo trato de mostrar en una pagina aspx y trabaja bien pero aveces me muestra solo dos de los graficos (casi siempre solo muestra la x roja en lugar del bar chart). Me podrian ayudar como resolver este problema. Ahi esta el codigo que uso. Estube cambiando varias opciones pero ninguna funciono. Muchas gracias adelantadas por su ayuda. <rsweb:reportviewer id="rvQuestionDetails" runat="server" BackColor="#2496c7" Height="26cm" ShowParameterPrompts="False" ToolBarItemBorderStyle="Double" Width="967px" DocumentMapCollapsed="True" ShowRefreshButton="False" Font-Bold="False" Font-Names="Verdana" Font-Size="8pt" LinkDisabledColor="White" LinkActiveColor="White" InternalBorderColor="White" LinkActiveHoverColor="White" ShowCredentialPrompts="False" ShowDocumentMapButton="False" ShowPageNavigationControls="False" AsyncRendering="False" ShowPrintButton="False" OnInit="rvQuestionDetails_Init" OnLoad="rvQuestionDetails_Load"> </rsweb:reportviewer> protected void rvQuestionDetails_Load(object sender, EventArgs e) { //setup report ReportParameter[] param = new ReportParameter[3]; param[0] = new ReportParameter("SurveyID", surveyID.ToString()); param[1] = new ReportParameter("QuestionID", questionID.ToString()); param[2] = new ReportParameter("UserID", participantID.ToString()); rvQuestionDetails.ShowCredentialPrompts = false; rvQuestionDetails.ServerReport.ReportServerCredent ials = new ReportCredentials("wpservice", "Tag!5926", "witnet"); rvQuestionDetails.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote ; rvQuestionDetails.ServerReport.ReportServerUrl = new System.Uri("http://reports.aphl.org/Reportserver/"); //Get type from Database QuestionDB qDB = new QuestionDB(); string questionType = qDB.GetQuestionType(questionID); //Get the correct report to the QuestionType switch (questionType) { case "Single Choice": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/SingleChoice"; break; case "Multiple Choice": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/MultipleChoice"; break; case "Text": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/TextAnswer"; break; case "Double": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/NumberAnswer"; break; case "Long": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/NumberAnswer"; break; case "Single Grid": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/MatrixSingleChoice"; break; case "Multiple Grid": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/MatrixMultipleChoice"; break; case "Double Grid": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/NumberAnswer"; break; case "Long Grid": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/NumberAnswer"; break; case "Admin": rvQuestionDetails.ServerReport.ReportPath = "/mrInterviewReports/Admin"; break; default: break; } rvQuestionDetails.ServerReport.SetParameters(param ); //Render the Report rvQuestionDetails.ServerReport.Refresh(); } |
| | ||||
| ||||
| |
![]() |
| Herramientas | |
| Desplegado | |
| |
Temas Similares | ||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Lentidud en Windows Vista (5 minutos) para cargar una pantalla con Crystal Report Viewer y un Report | M.Genol | Newsgroup microsoft.public.es.csharp | 6 | 02-04-2008 13:26:44 |
| Lentitud en Windows Vista (5 minutos) en cargar una pantalla con Crystal Report Viewer y un Report | M.Genol | Newsgroup microsoft.public.es.dotnet.vb | 4 | 27-03-2008 19:39:47 |
| Lentitud en Windows Vista (5 minutos) en cargar una pantalla con Crystal Report Viewer y un Report | M.Genol | Newsgroup microsoft.public.es.vb | 2 | 27-03-2008 18:42:17 |
| Report Viewer | Javier | Newsgroup microsoft.public.es.dotnet.aspnet | 3 | 11-10-2007 11:07:03 |
| Report Viewer | Alfredo Hidalgo | Newsgroup microsoft.public.es.vba | 8 | 28-08-2007 21:02:11 |