Questions




Answers
0
How can i display title or label on polygons on google map?

I want to display the title or label on loctions on the google map,it works on markers,but not within polygons.

   

   if (CurrData.Shape == "Circle" )
{

   marker = new google.maps.Marker({
   position: CurrLatlong,
   map: gMap,
   title: CurrData.Bhname,
  label:

   {
    color: 'white',
    fontWeight: 'normal',
    text: CurrData.Bhname,
  },
  icon:

{
   path: google.maps.SymbolPath.CIRCLE,
   scale: 8.5,
   fillColor: colour,
   fillOpacity: 0.8,
   strokeWeight: 1
  },
   hover: CurrData.Bhname
  });
  }
  else

{
  marker = new google.maps.Polygon
  ({
    map: gMap,//edited by anjaly
    paths: pathShape,
   scale: 8.5,
   strokeOpacity: 0.3,
   title: CurrData.Bhname,
   label: CurrData.Bhname,
   strokeWeight: 1,
   fillColor: colour,
   fillOpacity: 0.8,
  position: CurrLatlong,
  hover: CurrData.Bhname,
});
 

...
Read More
Javascript C# jquery
Answers
1
Is it possible to call single usercontrol in Aspx page with multiple data and how?

i want to display multiple data in aspx page using single user control.data can be taken like dataset from database.

...
Read More
javascript jquery
Answers
1
Login to a website without using username and password

I want login to my project website without asking username and password  from a specified computer in javascript or. Net

 

...
Read More
Javascript Html Asp. Net
Answers
1
How to convert a positive number to negative number and negative to positive in C#?

Hello, I would like to know, How can I convert a positive number ( int type) to a negative number in C# and vice-versa ( negative to positive number using C#)?

 

 

...
Read More
C# positive-to-negative-int negative-to-positive-int
Answers
1
How to right-align button inside Flex div?

How can I right align a button which is index div using CSS flex?

I cannot use float:right or posoition:absolute/relative, so please let me know how can I do this using Flex in CSS.

...
Read More
CSS right-align-using-flex css-flex
Answers
1
How to show date time with am/pm using C# in ASP.NET?

I have datetime saved in the database as "2019-04-06 15:22:23.150" now, how can show this date time value to user with am/pm using C# or Razor syntax in MVC View?

Sample output : 09/04/2019 03:52 PM

Thanks

...
Read More
ASP.NET MVC C# datetime-format
Answers
1
How to check or uncheck checkbox using jQuery?

I have some filters on page so when clicking on "x" button of a selected filter, need to remove the filter and uncheck the checkbox using jQuery, so How can I do that on dynamically created element using jQuery?

...
Read More
jQuery HTML check-uncheck-checkbox
Answers
1
Error "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication." in SQL server

I was trying to run my amazon RDS account using MS SQL server management studio, and was able to login succesfully but when using that values in web.config and loading page in browser, I am getting error as below

"Login failed. The login is from an untrusted domain and cannot be used with Windows authentication."

How Can I resolve this issue, here is my Connection string

...
Read More
SQL SQL-Server
Answers
1
Not able to start SQL server browser in windows

Today, I was trying to Start my SQL server browser using SQL server configuration manager in windows 10, but I cannot see any option to start it as it is blurred and not clickable, so cannot start SQL server browser, here is the screenshot of my pc

...

Read More
SQL SQL-server sql-server-browser
Answers
1
How do I update .edmx file to get new columns in Visual Studio 2017 (ASP.NET MVC)?

I was trying to update my .edmx (ADO.NET) file to get updated or you can say newly added columns, but I wasn't able to get it, what is the proper way to update  or refresh the model to get new database table columns, when the database changes.

I do not want the process of deleting the complete Models and again adding them from database.

...
Read More
ASP.NET entity-framework ado-net-edmx-file

Page 1 of 42