Programmer's Click

Programmer's Click Post your queries about jQuery, .Net, CSS, HTML5, Javascript, Bootstrape, Smart TV's we will happy to answer

20/06/2020

Learn Online Computer Courses with Certificate and Diploma:-Android, NodeJs, ReactJs, PHP, ASP.NET-MVC, Computer Basic and other courses (Contact:- 9697203067)

14/03/2017

Basic HTML meta tag





























03/08/2016

Custom Error While Accessing ASP.NET Site Remotely From Server

I hosted my ASP.NET application on Server Machine and tried to access it from the remote machine. I got the error in web.config file :-

Reason for the Error
When you access the page from the server (remote machine), IIS assumes that you could handle the error by yourself and it did not show the default error pages.

How to Resolve This Error

1 Go to Web.config file
2. Under and a new line
3

Expected Result:-


14/10/2015

ASP.NET

Every web page is a custom class that inherits from System.Web.UI.Page.

Property Description

IsPostBack Boolean property
indicates whether this is the first time the page is being run(false) or
whether the page is being resubmitted in response to a control event.

EnableViewState When set to false, this overrides the EnableViewState property of the
contained controls, thereby ensuring that no controls will maintain state information.

Application This collection holds information that's shared between all users in your website.
You can use the Application collection to count the number of times a page has been visited.

Session This collection holds information for a single user.
Uou can use it to store the items in the current user's shopping basket on an e-commerce website.

Cache This collection stores objects that are time-consuming to create

Request This refers to an HttpRequest object.
You can use the HttpRequest object to get information about the user's browser

Response This refers to an HttpResponse object

Server This refers to an HttpServerUtility object

User If the user has been authenticated, this property will be initialized with user information.

23/09/2015

High Performance Web Site Tips

• Make fewer HTTP requests to reduce object overhead.
• Use a content delivery network.
• Add an Expiresheader.
• Gzip/compress text components.
• Put stylesheets at the top in the head.
• Put scripts at the bottom of the body.
• Avoid CSS expressions which are CPU-intensive and can be evaluated frequently.
• Make JavaScript and CSS files external.
• Reduce Domain Name System (DNS) lookups to reduce the overhead of DNS
delay by splitting lookups between two to four unique host names.
• Minify JavaScript.
• Avoid redirects which slow performance. It’s better to CNAME or alias.
• Remove duplicate scripts to eliminate extra HTTP requests in Internet Explorer.
• Configure ETags for sites hosted on multiple servers. File ETag nonein Apache
removes Etags to avoid improper cache validation.
• Make Ajax cacheable and small to avoid unnecessary HTTP requests.

08/09/2015

Load Popup in asp.net
__________________


function basicPopup() {
popupWindow = window.open("popup.aspx", 'popUpWindow', 'height=300,width=600,left=100,top=30,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No, closebutton=No');
}


05/08/2015

Windows 10 keyboard shortcuts

1)Task View / Window Management

Windows Key + Tab
Alt + Tab

2)Window Snapping
Windows Key + Left – Snap current window to the left side of the screen.
Windows Key + Right – Snap current window the right side of the screen.
Windows Key + Up – Snap current window to the top of the screen.
Windows Key + Down – Snap current window to the bottom of the screen.

3)Virtual Desktops
Windows Key + Ctrl + D – Create a new virtual desktop and switch to it.
Windows Key + Ctrl + F4 – Close the current virtual desktop.
Windows Key + Ctrl + Left / Right – Switch to the virtual desktop on the left or right.

4)Command Prompt
First Open Command Prompt then try

Ctrl + V or Shift + Insert – Pastes text at the cursor.

Ctrl + C or Ctrl + Insert – Copies the selected text to the clipboard.

Ctrl + A – Select all text in the current line if the line contains text. If it’s an empty line, select all text in the Command Prompt.

Shift + Left / Right / Up / Down – Moves the cursor left a character, right a character, up a line, or down a line, selecting the text along the way. Continue pressing arrow keys to select more text.

Ctrl + Shift + Left / Right – Moves the cursor one word to the left or right, selecting that word along the way.

Shift + Home / End – Moves the cursor to the beginning or end of the current line, selecting text along the way.

Shift + Page Up / Page Down – Moves the cursor up or down a screen, selecting text.

Ctrl + Shift + Home / End – Moves the cursor to the beginning or end of the “screen buffer,” selecting all text between the cursor and the beginning or end of the Command Prompt’s output.

Ctrl + Up / Down – Moves one line up or down in the Command Prompt’s history — it’s like using the scroll bar.

Ctrl + Page Up / Page Down – Moves one page up or down in the Command Prompt’s history — it’s like scrolling even farther.

Ctrl + M – Enter “mark mode,” which helps for selecting text. Previously, the only way to do this was by right-clicking in the Command Prompt and selecting Mark. Thanks to the new Shift key shortcuts, this mode is no longer as important.

Ctrl + F – Opens a Find dialog for searching the Command Prompt’s output.

Alt + F4 – Closes the Command Prompt window.

15/07/2015

VISAUL STUDIO SHORTCUTS
Solution Explorer Search = Ctrl+;
Quick Launch = Ctrl+Q

22/05/2015

Visual Studio Safe Mode

Some time Visual Studio might not start up correctly or at all.
Using Visual Studio in SAFE MODE, you can load only the default environment, services, and shipped version of third- party

Steps:-

run Visual Studio command prompt and type command:

devenv.exe /safemode

21/05/2015

Auto RECOVER IN VISUAL STUDIO 2010

Auto recover is a feature of visual studio to create a backup of particular project. But it's create backup when your visual studio crashed instantialy and you don't save your work. If you already saved all work it's not work

STEP:-
1. Just go to TOOLS

2. Select Options

3. Select Environment

4. Select AutoRecover

Turn this feature off by clear the Save AutoRecover Information
Every CheckBox.

minutes:-
select minutes for how much time take for create backup

day:-
Determines how lone VS keeps AUTORecover files in the Backup Files directory.

Where it get save:-
My Documents\Visual Studio \Backup Files

Now when you run next time visual studio it's ask you for repairing

13/02/2015

Internet.org Launches Free Mobile Internet

Facebook’s Internet.org project launches free mobile internet in India (For Reliance Users in Tamil Nadu, Maharashtra, Andhra Pradesh, Gujarat, Kerala and Mumbai), Ghana (For Airtel users), Kenya (For Airtel users), Zambia (For Airtel users), Colombia (For Tigo users) and Tanzania (For Tigo users).

How you can access free internet using Internet.org?

There are two requirements for accessing free Internet via Internet.org. First is an smart phone and second is Internet.org’s smart phone application.

You just have to install Internet.org’s app in your smartphone and start browsing up to 38 essential websites for free.
Which services you can access/browse via Internet.org?

You can only browse few essential services/websites via internet.org because they are in there starting phase may be they will able to give you full internet access in near future.

List of services you can browse in India:

Aaj Tak – Read news in Hindi
AccuWeather – Get updated weather information
amarujala.com – Read news in Hindi
AP Speaks – Engage with local government
Babajob – Search for jobs
BabyCenter & MAMA – Learn about pregnancy and children
BBC News – Read news from around the world
Bing Search – Find information
Cleartrip – Check train and flight schedules & buy tickets
Daily Bhaskar – Read local news
Dictionary.com – Search for meanings of words
ESPN Cricinfo – Get cricket updates
Facebook – Communicate with friends and family
Facts for Life – Find health and hygiene information
Girl Effect – Read articles and tips for girls
HungamaPlay – Listen to music
IBNLive – Read news
iLearn – Learn from Women Entrepreneurs
India Today – Read local news
Internet Basics – Learn about the basics of the Internet
Jagran – Read local news
Jagran Josh – Get education and career information
Maalai Malar – Read news in Tamil
Maharashtra Times – Read news in Marathi
Malaria No More – Learn about malaria
manoramanews.com – Read local news
Messenger – Send messages to friends and family
NDTV – Read news
Newshunt – Read news in English
OLX – Buy and sell products and services
Reliance Astrology – Read your horoscope
Reuters Market Lite – Get farming and crop information
Socialblood – Register to donate blood
Times of India – Read news
TimesJobs – Search for jobs
Translator – Translate words and phrases
Wikipedia – Find information
wikiHow – Find information

Internet.org — Every one of us. Everywhere. Connected.

Address

Jammu
180010

Alerts

Be the first to know and let us send you an email when Programmer's Click posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share