Questions




Answers
3
on click not working on dynamically created element

As i know and understand that for dynamically created element, we need to write jquery function like

...
Read More
Answers
4
how to upload image in C# MVC

I have a new question, I would like to save image in my .NET MVC application from razor view, but as i am new mvc C# developer i don't have much knowledge in it.
As i understand till now, i need to send form with method post and enctype ="multipart/form-data"

...
Read More
Answers
1
how to catch all error in C# MVC (error handling)

I have a website in C# MVC and I want to add a feature to it, i.e, to save all the errors in database using one function only, I can place try/catch block in every method of the web applications but it would be lengthy process, so is it possible to place a method/code in one place from where I can save each and every error in database??
I have no idea

 

 

...
Read More
Answers
1
DataTables breaks on last “Next” or any “Previous” paginate button

I have the following DataTable which calls status_icons() function for replacing 0 & 1 values with icons.

At first results page (on initComplete) I call status_icons() for the replacement and then I make a trigger out of DataTables scope in order to have my function re-executed for next paginated results due to DataTable DOM reconstruction behavior for each pagination.

The error I get is that re-adds the status icons over the current ones when you click on the "Previous" button on any pagination or the numbered pagination boxes.

My function for replacing values with icons

...
Read More
Answers
2
DbArithmeticExpression arguments must have a numeric common type

When I am trying to run this command using Entity framework in controller of my project

...
Read More
Answers
2
Cannot convert null to a value type JSON error

I am getting error 'Cannot convert null to a value type' when trying to deserialize JSON response into class object
I have the following code in C#

...
Read More
Answers
3
How to convert JSON String into C# class object

I am trying to convert JSON object into C# class object, Using a really simple test case:

...
Read More
Answers
2
how to create login with facebook button using php

I am creating a web application using PHP and I would like to add login with facebook button in it's login page , how can i do it?

 

...
Read More

Page 53 of 54