Click here to Skip to main content
15,847,963 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHttps redirection modifies url path Pin
Member 1547511221-Dec-21 2:10
Member 1547511221-Dec-21 2:10 
AnswerRe: Https redirection modifies url path Pin
Richard Deeming4-Jan-22 1:26
mveRichard Deeming4-Jan-22 1:26 
QuestionHow to fill Foreign Key in a relational database when creating a new row? Pin
Alex Dunlop19-Dec-21 8:12
Alex Dunlop19-Dec-21 8:12 
AnswerRe: How to fill Foreign Key in a relational database when creating a new row? Pin
Alex Dunlop19-Dec-21 9:02
Alex Dunlop19-Dec-21 9:02 
QuestionWhere did i get asp.net project in linux with mysql database.? Pin
Tushar Surve 202115-Dec-21 7:11
Tushar Surve 202115-Dec-21 7:11 
AnswerRe: Where did i get asp.net project in linux with mysql database.? Pin
Richard Deeming15-Dec-21 7:22
mveRichard Deeming15-Dec-21 7:22 
GeneralRe: Where did i get asp.net project in linux with mysql database.? Pin
Mycroft Holmes15-Dec-21 14:31
professionalMycroft Holmes15-Dec-21 14:31 
QuestionTwo ReportViewers on the same project Pin
Member 1077312213-Dec-21 2:01
Member 1077312213-Dec-21 2:01 
I want to have two ReportViewer controls in my VS project. I have two completely different types of reports and I want to split them between two RepportViewers that would be processed in two ReportViewer.aspx.cs. I have create copies of three files:

ReportViewer1.aspx
ReportViewer1.aspx.cs
ReportViewer1.aspx.designer.cs

in ReportViewer1.aspx.designer.cs I changed this line:
protected global::Microsoft.Reporting.WebForms.ReportViewer ReportViewer2;

In ReportViewer1.aspx.cs I name dthe class like this:
public partial class ReportViewer1

Inside of this class I changed all ReportViewer1 to ReportViewer2.

I also modified ReportViewer1.aspx.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportViewer1.aspx.cs" Inherits="PrismWeb.reports.ReportViewer1" EnableEventValidation="false" %>
rsweb:ReportViewer1 ID="ReportViewer2" runat="server" Height="100%" Width="100%">

Call from UI:
/reports/ReportViewer1.aspx crashes somewhere on the server, cannot fine where.

However, if I call /reports/ReportViewer.aspx with same changes I did in ReportViewer1.aspx then it works fine. I just can't figure out why calling ReportViewer1.asx is not working.

Please note, I am not a c# developer, I might be doing something abviously wrong. Please help.

Thanks
QuestionRe: Two ReportViewers on the same project Pin
CHill6013-Dec-21 2:09
mveCHill6013-Dec-21 2:09 
QuestionAn unhandled exception occurred while processing the constructor in ASP.NET Core MVC Pin
Alex Dunlop6-Dec-21 8:51
Alex Dunlop6-Dec-21 8:51 
AnswerRe: An unhandled exception occurred while processing the constructor in ASP.NET Core MVC Pin
Richard Deeming6-Dec-21 22:54
mveRichard Deeming6-Dec-21 22:54 
GeneralRe: An unhandled exception occurred while processing the constructor in ASP.NET Core MVC Pin
Alex Dunlop7-Dec-21 8:09
Alex Dunlop7-Dec-21 8:09 
QuestionUse Active Directory for authentication Pin
Joseline Riker2-Dec-21 6:50
Joseline Riker2-Dec-21 6:50 
QuestionIs this data annotation correct for date and time? Pin
Alex Dunlop25-Nov-21 23:26
Alex Dunlop25-Nov-21 23:26 
AnswerRe: Is this data annotation correct for date and time? Pin
Richard MacCutchan26-Nov-21 1:02
mveRichard MacCutchan26-Nov-21 1:02 
GeneralRe: Is this data annotation correct for date and time? Pin
Alex Dunlop26-Nov-21 1:28
Alex Dunlop26-Nov-21 1:28 
GeneralRe: Is this data annotation correct for date and time? Pin
Richard MacCutchan26-Nov-21 1:39
mveRichard MacCutchan26-Nov-21 1:39 
GeneralRe: Is this data annotation correct for date and time? Pin
Alex Dunlop26-Nov-21 1:45
Alex Dunlop26-Nov-21 1:45 
GeneralRe: Is this data annotation correct for date and time? Pin
Richard MacCutchan26-Nov-21 1:56
mveRichard MacCutchan26-Nov-21 1:56 
AnswerRe: Is this data annotation correct for date and time? Pin
jkirkerx28-Nov-21 10:12
professionaljkirkerx28-Nov-21 10:12 
QuestionCannot establish local connection to SQL SERVER Pin
Alex Dunlop25-Nov-21 0:15
Alex Dunlop25-Nov-21 0:15 
QuestionRe: Cannot establish local connection to SQL SERVER Pin
Richard MacCutchan25-Nov-21 1:37
mveRichard MacCutchan25-Nov-21 1:37 
AnswerRe: Cannot establish local connection to SQL SERVER Pin
Richard Deeming25-Nov-21 2:15
mveRichard Deeming25-Nov-21 2:15 
GeneralRe: Cannot establish local connection to SQL SERVER Pin
Richard MacCutchan25-Nov-21 2:18
mveRichard MacCutchan25-Nov-21 2:18 
AnswerRe: Cannot establish local connection to SQL SERVER Pin
Richard Deeming25-Nov-21 2:19
mveRichard Deeming25-Nov-21 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.