Questions




Answers
1
how can i disable anchor link using jQuery or HTML?

I would like to disable anchor link (<a>)in my HTML, making it non-clickable?

It doesn't have any URL, but It is clickable and redirect to same to the page, here is code.

...
Read More
Answers
2
Error "Entity Framework: Store update, insert, or delete statement affected an unexpected number of rows (0)"

Hello, I am using Entity framework in my asp.net MVC project, when I try to delete any row using Entity framework, I am getting following error

...
Read More
Answers
1
500 Internal Server Error when calling .NET web service from android in Java

When i'm trying to invoke my web service(in.NET asmx) from Android Java ... I'm getting

this error ->  500 Internal Server Error.

              -> Response{protocol=http/1.1, code=500, message=Internal Server Error, url=http://example.in/webservice/login.asmx}

 

here is my Login Activity..

...
Read More
Answers
3
Bootstrap modal appearing below back-drop (in background) ??Why?

Hello, can anyone help me know, why my bootstrap pop-up modal is appearing on the background and not clickable?

here is my HTML code

<div class="container">
    
    
<div class="Fixdiv">
 
<div class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">Modal title</h4>
      </div>
      <div class="modal-body">
        <p>  modal pop-up Body part</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
    
</div>
</div>

CSS

.Fixdiv
{
position:fixed;
top:10px;
left:10px;
}

jquery/javascript

$(document).ready(function()
 { 
    $('.modal').modal("show"); //showing pop-up when page is loaded for example
 }
);

Here is the error image

...

Read More
Answers
1
Clicking on browser back button after login shows login page again??

How can I maintain the session of the user in ASP.NET MVC? Here is the login case for the user. (Only authenticated users are allowed to login in the system.) But once the user gets logged in and press the back button then the user needs to login again. I want to solve this issue. Can anyone have idea about it?

...
Read More
Answers
1
Can we use Nested switch case in C# or switch case under if else case in ASP.NET C#?

Hello,Can we use Nested switch case in C# or switch case under if else case in ASP.NET C#? If yes, can anyone provide an example? I have been successfully able to redirect users to certain pages depending on the basis of the ratings. Now I want to redirect them depending on the basis of the ratings as well as DestinationID. I have attached the code for redirecting users depending on the ratings done by them.

...
Read More
Answers
1
Query doesn't work with AVG function, how to use AVG in SQL?

I am trying to run the below query which works fine without AVG function, but when using AVG it doesn't work, here is the query

...
Read More
Answers
3
Check if list contains a value using lambda and EF in MVC

I have an array of string values, now what I need is to filter the list of data based on matching each element of array with list, means need to select those list items which has typeId == SomeValueInTypeArray

Something like this

...
Read More
Answers
2
how to disable "Chrome script debugging in Visual Studio is enabled" in Visual Studio 2017?

How can I disable this debugging(image below), I'm using Visual Studio 2017 Community edition and don't like the new chrome window whenever I click Debug in Visual Studio using Chrome browser

...

Read More
Answers
2
console error "Cannot read property mData of undefined"..??

Hello, I am using jQuery datatable (little bit modified as in theme) in my project and getting error as below

...
Read More

Page 34 of 54