Questions




Answers
2
How to auto hide bootstrap date-picker after selecting date?

I am using Bootstrap datepicker in my web-application, but once I have selected date, date-picker is not hiding, how can I auto-hide date-picker once date is selected? Here is the date-picker Javascript code, which I am  using

...
Read More
Answers
2
Console error "Syntax error Unexpected token 'export' popper.min.js"

I am using below scripts in my page and have included popper.min.js using CDN but getting an error, "Syntax error Unexpected token 'export' popper.min.js"

    <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.full.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/popper.min.js"></script>

Here is the error image, take a look

...

Read More
Answers
1
How to pass Model to Partial View in ASP.NET MVC?

I have created Bootstrap tabs inside ASP.NET MVC razor view and calling Partial View from inside bootstrap, but I would like to know how can I pass Model to partial view while rendering it?

...
Read More
Answers
2
How to add / remove class in jQuery dynamically on click?

I am trying to create a list of anchor tags, and want to add or remove CSS class on a button click, Suppose this is my sample code

...
Read More
Answers
1
How do I create object for IQueryable in C#?

I am trying to create and Instantiate IQueryable<T> object in my C# MVC project, but I am not able to create it, I would like to use it instead of List<T> = new List<T>, so how can I do it? I am trying this

...
Read More
Answers
1
How to check if File exists in C#? (Inside folder)

I am trying to download a file from a url, and there are many files, but I don't want to download files that already exists in my drive. So I want to implement to check if file already exists in a folder using C#?

...
Read More
Answers
2
How to check the total number of object stored in S3 bucket in AWS?

I am searching my s3 bucket and I would like to know how can I check total number of objects (files) I have uploaded inside particular S3 Bucket on amazon web server? I am looking for easy solution here.

...
Read More
Answers
3
How to check if string is number (IsNumeric) in C#?

I have a string "123" and another string "Test", now I want to identify from which you these string conatins number, so How can i check if string is a number or not in C#, is there any method in C# or we need to create custom method for it?

Example :

"11" = true

"Hello"= false

...
Read More
Answers
2
What is the visual studio 2019 download size, complete Community Edition?

I am trying to download Visual Studio 2019 Community edition for offline or Visual Studio 2022 community edition for offline, but I would like to know what is the total size for Visual Studio 2019 / 2022 Community Edition? I have downloaded 20GB of VS 2019, but it is still not complete, so I would like to know how long I will have to wait.

...
Read More
Answers
2
Format any number to two place of decimal using JavaScript?

I am getting data from the server using jQuery data table, now I want to format all the price or numbers getting from the server to two decimal places using javascript.

How can I do it?

For example:

...
Read More

Page 7 of 51