ASP.NET - How to get Visual Studio to keep MaxLength on MultiLine TextBox?
I'm currently running Visual Studio Professional 2015 (Update 3), and if I create a Textbox, set TextMode to MultiLine, and MaxLength to 50, the rendered Textarea will remove the MaxLength tag.
I can only assume that this is because the MaxLength tag was not valid in HTML4. However, with the introduction of HTML5,
it is now supported by all modern browsers, so I would prefer not to resort to Javascript keypress event hackery :) Our site currently blocks login if you're not running at least IE10, so I can guarantee that this event will work with the users browser.
So - How do I get Visual Studio to not remove the now-valid tag? Does it still do this in 2017? I suppose I could post-add the tag to the element through C#, but if it didn't remove it in the first place - That'd be ideal :)
I am currently limited to 2015 due to my work environment.
submitted by
Reelix to
dotnet
[help]Keymapping on Sentraq S-65x
Hoping I might be able to get some help with a strange issue I'm having on a new to me Sentraq S-65x that I picked up off of MechMarket.
When the keyboard was delivered, there was some odd mapping stuff going on -- delete key sent the board into DFU and some of the other keys weren't working quite right. I downloaded the default .hex file from the Sentraq site and got it loaded on the board, and now all of the keys work correctly except for Enter and PgUp, both of which do not register at all.
I've tried to get any sort of key detection using simple Javascript keypress detectors but I get nothing on those two switches. Oddly, before I flashed the default .hex on the keyboard, the enter key was working fine as intended so it would seem to me there is something screwy on the software side.
I really like this board so I'd like to figure out a way to get it working. Any ideas on how I might be able to troubleshoot this further in hopes of getting all of the keys fully functional? Thanks in advance for the help.
submitted by
suburban_robot to
MechanicalKeyboards