Tab in RTB
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngrichtextbox' list.


Anand Rajagopal - CTD, Chennai.
Hi,
I am using RichTextBox control in my C#.NET page.
I want to insert tab spaces(white spaces) when the user presses the TAB key
inside the RTB control.
Right now the focus moves to the next control.
Is it possible?

Thanks & Regards,
Anand Rajagopal

Reply to this message...
 
    
Ollie Cornes

Hi Anand,

The control doesn't support that directly, but I see no reason why you
couldn't implement some client-side script to trap that keypress and
insert tabs into the document. I haven't done this myself so I would be
interested to know how you get on.

Ollie
--
http://www.richtextbox.com/
The no. 1 content editor for ASP.NET

[Original message clipped]

Reply to this message...
 
    
Norman J. Nolasco
Would be interested to see if you can make that work. I've tried to
trap the tab keypress, but focus still keeps shifting to the next
input element.

-Norm

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Tuesday, July 23, 2002 2:49 AM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Tab in RTB

Hi Anand,

The control doesn't support that directly, but I see no reason why you
couldn't implement some client-side script to trap that keypress and
insert tabs into the document. I haven't done this myself so I would be
interested to know how you get on.

Ollie
--
http://www.richtextbox.com/
The no. 1 content editor for ASP.NET

Reply to this message...
 
 
System.Windows.Forms.RichTextBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com