Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > ASP.NET 4.5.1 General Discussion
|
ASP.NET 4.5.1 General Discussion For ASP.NET 4.5.1 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5.1 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 24th, 2017, 02:36 PM
Registered User
 
Join Date: Sep 2016
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Default How to prevent textbox/input controls from being synced?

So I have an ASP.NET 4.6 website using C# via visual studios 2015. Say I have a page with a textbox control and I open the same page on a browser twice, either on different tabs or windows.

When I type into one input box, say on browser tab 1 or window 1, the same input on the other tab/window immediately contains the same text. How can I stop this from happening without programmatically changing the ID on page load to something random?

I've tried changing the session but that did nothing for me. This is also happening on a brand new website I made just to test with and all browsers I've tried.

See example here
 
Old March 25th, 2017, 03:09 PM
Registered User
 
Join Date: Sep 2016
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Lightbulb Solution

I'm an idiot, the solution was browser link in visual studio had "Enable Browser Sync" turned on which was the issue.

See more here: https://marketplace.visualstudio.com...en.BrowserSync





Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent converting empty textbox string to date. fizzerchris ASP.NET 2.0 Basics 2 May 18th, 2007 06:52 PM
Prevent user input while JS executes matty1stop BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 November 17th, 2005 10:35 AM
Prevent SQL from crashing on user input arcuza Classic ASP Databases 1 April 15th, 2005 12:14 PM
Validation of TextBox Input bpgadhia ASP.NET 1.0 and 1.1 Professional 1 March 16th, 2004 05:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.