Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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
  #1 (permalink)  
Old November 26th, 2004, 12:36 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default AcceptsReturn multiline textbox

Hi.
I'm using vb.net..
How can I set my multiline textbox to AcceptsReturn ..?
in vb..the textbox has its own properties..
how could I do that in vb.net..

thank you

:D Suzila
__________________
Suzila
  #2 (permalink)  
Old November 26th, 2004, 01:11 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

what do u mean by "AcceptsReturn"??

Regards
Ganesh
  #3 (permalink)  
Old November 26th, 2004, 01:33 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default

I mean..user can enter when they type within multiline textbox..



:D Suzila
  #4 (permalink)  
Old November 26th, 2004, 02:31 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

So what do you mean. You want a new line to be entered when you press Enter in the multiline-textbox. If I am not wrong that is the default behaviour of the multiline-textbox.

Regards
Ganesh
  #5 (permalink)  
Old November 26th, 2004, 02:53 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default

Thanks 4 reply...
Yes, I want a new line to be entered when I press Enter in the multiline-textbox.
I don't think multiline textbox can be Enter.
I've try it, but not working..
Maybe I've wrong somewhere ?


:D Suzila
  #6 (permalink)  
Old November 26th, 2004, 03:14 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

Can you send the HTML code in ur aspx page??

Regards
Ganesh
  #7 (permalink)  
Old November 26th, 2004, 03:31 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default

You're right..
multiline textbox can be Enter..

Maybe I placed it within pop-up dialog so it can work properly...
but I still don't have the solution..
I can't give you the code, because there are no code at all..
I think..I must set something..somewhere..but I don't know..

:D Suzila
  #8 (permalink)  
Old November 26th, 2004, 04:03 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

I was asking for the HTML not the code

Regards
Ganesh
  #9 (permalink)  
Old November 26th, 2004, 04:20 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default

my textbox :txtaddress

<TABLE class="hwd" id="Table1" style="Z-INDEX: 101; LEFT: 16px; WIDTH: 704px; POSITION: absolute; TOP: 8px; HEIGHT: 384px"
cellSpacing="0" cellPadding="0" width="704" border="0">
<TR class="hwd">
<TD style="WIDTH: 152px; HEIGHT: 29px" vAlign="top">Address :</TD>
<TD style="WIDTH: 289px; HEIGHT: 29px"><asp:textbox id="txtaddress" runat="server" CssClass="lbl" TextMode="MultiLine" Width="228px"
Height="66px" Rows="4"></asp:textbox></TD>
</TR>
</TABLE>

:D Suzila
  #10 (permalink)  
Old November 26th, 2004, 04:55 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

This piece seems to be okey. Can you check the properties of the popup..are you using a Modal dialog??

Regards
Ganesh




Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing Multiline Textbox value. rupen Classic ASP Basics 7 July 20th, 2005 02:21 PM
Regular Expression for Multiline TextBox Dilip Nagle General .NET 3 January 6th, 2005 02:22 AM
How to make an uneditable multiline textbox ltdanp21 VS.NET 2002/2003 2 June 16th, 2004 06:19 PM
Multiline Text in Rich TextBox Niaz Pro VB 6 3 March 1st, 2004 07:57 AM





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