Quantcast
Channel: port135.com
Browsing all 306 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to Fail on Writing a Book

Writing a technical book is a perfect way to prove your knowledge, improve your skills, and gain more reputation and popularity in your expertise. After writing 3 technical books, I have decided to...

View Article


Image may be NSFW.
Clik here to view.

How to enable Internet Explorer 11 document modes?

Even though you have the latest version of Internet Explorer, you may need to render your web applications in different IE engines in order to test your applications’ compatibility in older browsers....

View Article


Image may be NSFW.
Clik here to view.

How to use Windows Continuum? (No display adapter or dock needed)

Share your Windows phone’s screen with your PC by following simple steps below. You don’t need any display adapter or dock to connect to your PC. However, you will need them if you want to use your...

View Article

Image may be NSFW.
Clik here to view.

How to fix “Declaration expected”, “Syntax error”, and “Statement cannot...

There might be several different reasons for the generic errors below to appear. Declaration expected Syntax error Statement cannot appear outside of a method In my case, Visual Studio IntelliSense...

View Article

Image may be NSFW.
Clik here to view.

How to add captcha to your website? (How to use Google reCAPTCHA?)

Automated applications (bots, robots) can perform brute force attacks to your contact forms or registration pages. These attacks may cause a leakage in confidential information as well as service...

View Article


Image may be NSFW.
Clik here to view.

Solved: Google reCAPTCHA always returns “false” as a response to AJAX call

I have explained how to use Google reCAPTCHA in another post. Google returns “true” or “false” in “success” parameter as a response to your AJAX call. After your implementation, you might be constantly...

View Article

Image may be NSFW.
Clik here to view.

How to disable a DropDownList or ComboBox using JavaScript

It may be tricky depending on the situation. Here is what it works in my case: var objectListCountry = $find("<%= listCountry.ClientID %>"); objectListCountry.set_enabled(false);

View Article

Image may be NSFW.
Clik here to view.

Solved: Error Creating Control – Failed to create designer Telerik.Web.UI

After playing with references in your project, you may end up seeing your beloved Telerik controls in this annoying error box: Error Creating Control – objectName Failed to create designer...

View Article


Image may be NSFW.
Clik here to view.

How to create and configure email addresses in your hosting account (GoDaddy)

Hosting accounts usually come with free email service. It could be tricky to use it you don’t follow a certain order of steps. Here is how you create and configure email accounts in your Godaddy...

View Article


Image may be NSFW.
Clik here to view.

Solved: “An error occurred while signing: SignTool.exe not found”

This issue may come up when you try to publish your project in Visual Studio: An error occurred while signing: SignTool.exe not found Solution The main cause is that you are missing ClickOnce...

View Article

How to allow European characters in text fields by using regular expression?

You need input validation in your forms to keep your application secure. The best and easiest way to implement input validation is that using regular expressions (regex). Here is a simple regex to make...

View Article

Image may be NSFW.
Clik here to view.

Why is your website rendered in IE5 (Quirky) Mode?

If you see your Internet Explorer showing that it’s using IE5 (Quirky) mode for a particular website, you might be wondering why? F12 Developer Mode in IE As of the date this post has been written,...

View Article

Image may be NSFW.
Clik here to view.

How to Create a Report of Browser Versions from IIS Logs?

You may wonder what type of browsers your visitors have. The best way to collect this information is using an analytics service such as Google Analytics. What if you don’t use any analytics service but...

View Article


Image may be NSFW.
Clik here to view.

Solved: “Validation of viewstate MAC failed”

You may come across this error message when you get around in pages of your ASP.NET website: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that...

View Article

Solved: ASP.NET application generates a new session ID after every postbacks

You need to keep the same session ID for the same visitor in the same connection. If session ID changes in between page redirection, It will probably break your code especially if you are using session...

View Article


Solved: Alexa says “Sorry, I’m having trouble understanding you right now....

Amazon’s voice-controlled personal assistant, Alexa, isn’t perfect just like us, human beings. She hadn’t been able to understand me for a few days. All she’d been saying was (in a red light): “Sorry,...

View Article

Image may be NSFW.
Clik here to view.

SQL query for retrieving the last record of a group

Imagine that you have a table with multiple rows for the same entity. How to pick up the latest record for each entity? By using the query below, you can retrieve only the latest record based on a...

View Article


How to use static values (parameters) from web.config file

If you have static values that you use across your .NET application, one place to store these values is the web.config file. Let’s say you use your application’s name in several pages in your...

View Article

How to simulate keyboard key press in JavaScript using jQuery?

You may need your user to press a certain key as part of your application flow. Use the line below if you want to automatize this action. In this example, “77” is the character code for the letter “m”....

View Article

How to set focus into Telerik RadListBox control?

If user clicks a RadListBox control, control won’t be automatically in focus even though you can make selections in the control (I know, it’s unexpected). It may get tricky to set focus into control....

View Article
Browsing all 306 articles
Browse latest View live