Forum  Commercial Foru...  Commercial Foru...  [6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire
Previous Previous
 
Next Next
New Post 4/9/2012 2:53 PM
  dmcgrail
283 posts
4th Level Poster


[6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire 
Modified By dmcgrail  on 4/9/2012 6:04:16 PM)

Create a new project.  On this project put one TextBox and a Button.  For the TextBox wire-up a KeyPress event.  For the Button wire-up a Click event.

Here's what the code should look like:

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string s = "TextBox1 Text = " + textBox1.Text;
            MessageBox.Show(s);
        }

        private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {

        }
    }

Set the Speicifc Page to Form1.wgx, save, build, run.

Now, do the following:

1. Type "abc" (no quotes) followed by typing Enter.  So, four keystrokes.  Then, follow that by clicking the button, you will see this:

TextBox1 Text =

Notice that the Text is blank.  It should say abc.

2. Click OK on the MessageBox, focus into the TextBox, append "de" to "abc" (again, no quotes).  This time don't press Enter.  Follow that by clicking the button, you will see this:

TextBox1 Text = abcde

OK. Good.  But,

3. Click OK on the MessageBox, focus into the TextBox, append "fg" to "abcde" (agin, no quotes).  This time press Enter.  Follow that by clicking the button, you will see this:

TextBox1 Text = abcde

In other words, if you press Enter, you see what was there before you started typing.

I just upgraded to 6.4d and we have a log-in page to the app.  Our textboxes (username and password) have the "EnterKeyDown" event wired-up.  I went to log-in how I normally do, type username, tab, type password, enter.

1. The EnterKeyDown event did not fire.  This may be another bug.

2. I moved my mouse cursor to the log-in button, clicked it, my log-in failed.  This is because I pressed enter while in the Password TextBox, so it thought I entered a password of *blank* (no text).

6.4d has just ruined my log-in page!  Please help.

EDIT: And think about all my dialogs, with all the different textboxes I use throughout.  This is a major issue I think.

 
New Post 4/10/2012 10:28 AM
  palli
14416 posts
1st Level Poster




Re: [6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire 

Hi Dan,

Thanks for the report.

I opened a new tracker entry on the subject. Please view it here and follow up on our progress.

Your other problem is almost certainly caused by the same problem, but to make sure, I also opened a tracker entry for it. Please view it here and follow up on our progress.

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/14/2012 3:00 AM
  eini
23 posts
No Ranking


Re: [6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire 

Hi,

We've also experienced the same bug - and for us this issue is critical. As going back to c is for us impossible (too much effort on switching to ToolStrip and other new controls) I would like to know when exactly can we expect the release e (even Q&A).

Best regards,
Marcin

 
New Post 6/14/2012 11:07 AM
  palli
14416 posts
1st Level Poster




Re: [6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire 

 Hi Marcin,

Release e was actually nearly released, but QA discovered some last minute problems. The best I have for you at the moment is that it will be released at the same time the .NETHTML5 beta, which is currently planned to end of Q2 (June). See roadmap here

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/26/2012 1:37 AM
  eini
23 posts
No Ranking


Re: [6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire 

Hello Palli,
Any news on the release date? It's almost the end of the Q2 and there is nothing new on your download page. BTW: I wonder how come the QA hadn't discovered those bugs in version d as I see more and more serious bugs appearing on this forum...
Anyway - we keep on waiting impatiently...
Best regards,
Marcin

 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  [6.4d] TextBox + KeyPress Event + Enter Key - Text wont be accurate; Plus, EnterKeyDown doesn't fire
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS