Newsgrupos.com  

Retroceder   Newsgrupos.com > Forum > Newsgroup microsoft.public.es.* 1 Foro > Newsgroup microsoft.public.es.dotnet.aspnet
Registrarse Preguntas Frecuentes Lista de Foreros Calendario Buscar Temas de Hoy Marcar Foros Como Leídos




Respuesta
 
LinkBack Herramientas Desplegado
  #1 (permalink)  
Antiguo 28-08-2008, 22:29:00
Sandro Sanchez
 
Mensajes: n/a
Predeterminado Report Viewer y SQL Reports

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();


}
Responder Con Cita
Alt Today
Advertising
Google Adsense
 
This advertising will not be shown
in this way to registered members.
Register your free account today
and become a member on
Newsgrupos.com
Standard Sponsored Links

Respuesta


Herramientas
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Trackbacks are habilitado
Pingbacks are habilitado
Refbacks are habilitado


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





Powered by: vBulletin, Versión 3.6.8
Derechos de Autor ©2000 - 2008, Jelsoft Enterprises Ltd.

LinkBacks Enabled by vBSEO 3.1.0 © 2007, Crawlability, Inc.