Click here to Skip to main content
15,118,172 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBinding combox in gridview with selected value of another comboBox Pin
BikerMonkey14-Feb-20 10:01
professionalBikerMonkey14-Feb-20 10:01 
QuestionHow to get a field's value from a linq query Pin
ElenaRez12-Feb-20 4:09
MemberElenaRez12-Feb-20 4:09 
AnswerRe: How to get a field's value from a linq query Pin
Richard Deeming12-Feb-20 5:45
mveRichard Deeming12-Feb-20 5:45 
QuestionStill having some display problems Pin
samflex7-Feb-20 6:36
Membersamflex7-Feb-20 6:36 
QuestionHow to set starting page or controller method of a web application when we are deploying the React or Angular or Ember applications Pin
simpledeveloper6-Feb-20 15:35
Membersimpledeveloper6-Feb-20 15:35 
AnswerRe: How to set starting page or controller method of a web application when we are deploying the React or Angular or Ember applications Pin
jkirkerx7-Feb-20 11:01
professionaljkirkerx7-Feb-20 11:01 
GeneralRe: How to set starting page or controller method of a web application when we are deploying the React or Angular or Ember applications Pin
simpledeveloper7-Feb-20 13:50
Membersimpledeveloper7-Feb-20 13:50 
QuestionHow do I solve InvalidCaseUserControl.Dispose(bool) no suitable method found to override Pin
Member 114033043-Feb-20 8:36
MemberMember 114033043-Feb-20 8:36 
I am creating a usercontrol named InvalidCaseUserControl in web forms for a web app. When I run the code in debug mode I am getting the following errors CS0079 The event 'Control.Disposed' can only appear on the left hand side of += or -=
Error CS7036 There is no argument given that corresponds to the required formal parameter 'e' of 'EventHandler'
Error CS0115 'InvalidCaseUserControl.Dispose(bool)': no suitable method found to override

How do I solve this?

C#
public partial class InvalidCaseUserControl : System.Web.UI.UserControl
{
    private int _batchNumber;
    private System.ComponentModel.IContainer components = null;
    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected override void Dispose(bool disposing)//Getting 'InvalidCaseUserControl.Dispose(bool)':no suitable method found to override
    {
        if (disposing && (components != null))
        {
            components.Dispose();
        }
        base.Disposed(disposing);
    }
}


modified 3-Feb-20 13:46pm.

AnswerRe: How do I solve InvalidCaseUserControl.Dispose(bool) no suitable method found to override Pin
Richard Deeming3-Feb-20 8:46
mveRichard Deeming3-Feb-20 8:46 
GeneralRe: How do I solve InvalidCaseUserControl.Dispose(bool) no suitable method found to override Pin
Member 114033043-Feb-20 9:11
MemberMember 114033043-Feb-20 9:11 
QuestionIn need of direction for project Pin
led3-Feb-20 8:31
Memberled3-Feb-20 8:31 
AnswerRe: In need of direction for project Pin
phil.o4-Feb-20 0:14
mvephil.o4-Feb-20 0:14 
GeneralRe: In need of direction for project Pin
led4-Feb-20 7:21
Memberled4-Feb-20 7:21 
GeneralRe: In need of direction for project Pin
phil.o4-Feb-20 7:38
mvephil.o4-Feb-20 7:38 
Question.net core Swagger code gen Pin
manoj62931-Jan-20 15:28
Membermanoj62931-Jan-20 15:28 
QuestionIIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site Pin
holdorf31-Jan-20 6:30
Memberholdorf31-Jan-20 6:30 
AnswerRe: IIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site Pin
Richard Deeming31-Jan-20 6:49
mveRichard Deeming31-Jan-20 6:49 
GeneralRe: IIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site Pin
holdorf31-Jan-20 7:51
Memberholdorf31-Jan-20 7:51 
GeneralRe: IIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site Pin
Richard Deeming31-Jan-20 8:13
mveRichard Deeming31-Jan-20 8:13 
GeneralRe: IIS changing the IE11 document mode from 11 (Default) to 7 (Default) when browsing to a site Pin
holdorf31-Jan-20 8:50
Memberholdorf31-Jan-20 8:50 
QuestionSQL and IIS error when publish an ASP .NET application to IIS Pin
holdorf30-Jan-20 13:54
Memberholdorf30-Jan-20 13:54 
AnswerRe: SQL and IIS error when publish an ASP .NET application to IIS Pin
phil.o30-Jan-20 14:07
mvephil.o30-Jan-20 14:07 
QuestionHow do I solve error StatusCode: 500? Pin
Member 1140330430-Jan-20 5:01
MemberMember 1140330430-Jan-20 5:01 
AnswerRe: How do I solve error StatusCode: 500? Pin
Richard Deeming30-Jan-20 5:10
mveRichard Deeming30-Jan-20 5:10 
GeneralRe: How do I solve error StatusCode: 500? Pin
Member 1140330430-Jan-20 5:44
MemberMember 1140330430-Jan-20 5:44 

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.