ASP.NET Wizard Control and textarea

Hi,

I'm using the Wizard control in my ASP.NET C# website and I placed an HTML TEXTAREA object inside one of the pages in my wizard.  I'm having two issues with this:

1.  When the user presses "Next" and then presses "Back" all the control populate except for the textarea object.
2.  When the user presses "Finished", I insert the data into a SQL 2005 DB and I can't get access to the textarea data.

Can anyone help me with this?

Thanks in advance,

Craig
ichikumaAsked:
Who is Participating?
 
PAR6Commented:
Try <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"></asp:TextBox>

HTML Textarea no viewstate (?).
0
 
ichikumaAuthor Commented:
That seemed to work fine but now I'm having an issue with the TextBox.  When I created the textarea, I had some javascript attached to it so that when the user typed something in it, it would count how many characters are in the textarea and subtract that number from 500 to let the user know how many characters they have left in the textarea.  I was trying to duplicate the same behaviour with the TextBox and it doesn't allow me to catch the keypress event like the textarea does.

Is there a way around this?

Thanks again,

Craig
0
 
PAR6Commented:
Found this: http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21636273.html

If it works, I'd sure like to use a similar one for my forms.
Not sure how real-time server-sides work with javascript.  Will probably be featured on asp.net ATLAS/ajax somewhere.

Good luck.
0
 
ichikumaAuthor Commented:
I actually found another solution, which seems to work but I think is IE specific.

http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/ASP_DOT_NET/Q_21110735.html?query=textbox+TextChanged&clearTAFilter=true

Thanks for your help,

Craig
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.