Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > ASP.NET 4.5.1 General Discussion
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 24th, 2017, 03:36 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #2 (permalink)  
Old March 25th, 2017, 04:09 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 07: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 01:14 PM
Validation of TextBox Input bpgadhia ASP.NET 1.0 and 1.1 Professional 1 March 16th, 2004 05:07 PM



All times are GMT -4. The time now is 03:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.