3181 2
Can anyone explain difference between a virtual and abstract function with example in C#?

Can anyone help me to understand the difference between virtual functions and abstract functions with the example in C#, I would like to understand it in easy languages as I am not able to get it reading books etc, so I can understand in which situation I should use which function(abstract/virtual)?

Thanks

...
Type
Question
6910 1
How to validate TinyMCE textarea in ASP.NET MVC?

How can i validate TinyMCE using asp.net MVC and razor? Currently, i was trying to validate it using Model validations but it is not working and not showing any errors even when TinyMCE textarea is blank, so how can i validate it? here is my javascript code

...
Type
Question
4385 2
How to send mail from Domain server in Asp.net c#?

How to send mail from Domain server in Asp.net c#?

...
Type
Question
6368 1
How to get Current page number of IPagedList Razor View in MVC?

Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.

...
Type
Question
12031 1
Error : An asynchronous operation cannot be started at this time

When I am trying to call async method in Class from controller, I am getting the error as below

An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>

How can I resolve this error, here is my Current code

...
Type
Question


11992 3
Multiple actions were found that match the request: in web api C# ?

HI, I am trying to work with the Web API in C#, and when calling it using jquery I am getting the error "Multiple actions were found that match the request: in web API C#", so how to resolve this issue, here is my current code

...
Type
Question
5932 2
How to return multiple parameters using web method (web service) in C#?

How can I return multiple parameters of string type using web method (web service) in asp.net C#, here is my current code

...
Type
Question
28027 3
How to remove or replace all special characters from a string in C#?

I want to send an XML data to server, and to make the XML valid i have to remove all the special characters(@,#,%..) etc from the string of address and send it to server , as it accpets XML data without it, otherwise it throws error

So how can remove special characters from string using C# in ASP.NET?

Suppose my String has

...
Type
Question
3590 1
Generic type array get and set in C# , how to make it work?

getting error While executing the code below in C#

...
Type
Question
4890 1
How to resolve Class, struct, or interface method must have a return type?

C# error, when trying to execute the code as below

...
Type
Question

Page 20 of 24