Click here to Skip to main content
15,116,654 members
Home / Discussions / C#
   

C#

 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
Calla17-Sep-09 5:20
MemberCalla17-Sep-09 5:20 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
coolsharath17-Sep-09 5:26
Membercoolsharath17-Sep-09 5:26 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
OriginalGriff17-Sep-09 5:36
mveOriginalGriff17-Sep-09 5:36 
Questionhow one can programatically send keystroke, mouse move, mouse click Pin
Tridip Bhattacharjee17-Sep-09 3:18
professionalTridip Bhattacharjee17-Sep-09 3:18 
Questionhow to see datagrid print printpriview in c# windows. Pin
Ramesh Reddy1111117-Sep-09 3:17
MemberRamesh Reddy1111117-Sep-09 3:17 
AnswerRe: how to see datagrid print printpriview in c# windows. Pin
Henry Minute17-Sep-09 3:48
MemberHenry Minute17-Sep-09 3:48 
QuestionWindows Service Credentials Pin
Sangioo17-Sep-09 3:09
MemberSangioo17-Sep-09 3:09 
QuestionContext menu for a text box. Pin
Pavan Navali17-Sep-09 2:45
MemberPavan Navali17-Sep-09 2:45 
Hi,

I have a scenario where I'm validating the data in a text box for special character.

The user can enter the data through keyboard, Copy & paste data using Ctrl+C and Ctrl+V from keyboard, or right click and paste using mouse.

I have to validate the data before it is pasted to the textbox. I'm validating the data for first two scenarios, i.e., validating while user enteres the data, or pasting the data using Ctrl+C and Ctrl+V from keyboard.

I'm not able to find any events which triggers contextmenu_paste_click event.

I'm not allowed to create a context menu for the textbox, that is I have to use the default context menu and I cannot create a new class which inherits the textBox class.

How can I implement this?

Any suggestion is appreciated.

Thank you.
AnswerRe: Context menu for a text box. Pin
Not Active17-Sep-09 2:49
mentorNot Active17-Sep-09 2:49 
GeneralRe: Context menu for a text box. Pin
Pavan Navali17-Sep-09 19:26
MemberPavan Navali17-Sep-09 19:26 
GeneralRe: Context menu for a text box. Pin
Not Active18-Sep-09 2:43
mentorNot Active18-Sep-09 2:43 
Questiondisabled hyperlink and write arrow cursor Pin
Idoshhh17-Sep-09 2:17
MemberIdoshhh17-Sep-09 2:17 
AnswerRe: disabled hyperlink and write arrow cursor Pin
Not Active17-Sep-09 2:53
mentorNot Active17-Sep-09 2:53 
Questionmeasure received data/s for an udp multicast address [modified] Pin
collapo17-Sep-09 2:08
Membercollapo17-Sep-09 2:08 
AnswerRe: measure received data/s for an udp multicast address Pin
Luc Pattyn17-Sep-09 3:32
sitebuilderLuc Pattyn17-Sep-09 3:32 
GeneralRe: measure received data/s for an udp multicast address Pin
collapo17-Sep-09 4:16
Membercollapo17-Sep-09 4:16 
GeneralRe: measure received data/s for an udp multicast address Pin
Luc Pattyn17-Sep-09 4:23
sitebuilderLuc Pattyn17-Sep-09 4:23 
GeneralRe: measure received data/s for an udp multicast address Pin
collapo17-Sep-09 5:17
Membercollapo17-Sep-09 5:17 
QuestionAPI in C# Pin
vahid_erad17-Sep-09 1:54
Membervahid_erad17-Sep-09 1:54 
AnswerRe: API in C# Pin
Calla17-Sep-09 2:11
MemberCalla17-Sep-09 2:11 
AnswerRe: API in C# Pin
Arun Jacob17-Sep-09 2:21
MemberArun Jacob17-Sep-09 2:21 
AnswerRe: API in C# Pin
Harvey Saayman17-Sep-09 2:52
MemberHarvey Saayman17-Sep-09 2:52 
QuestionOmitting HTML footer ? Pin
Mohammad Dayyan17-Sep-09 1:47
MemberMohammad Dayyan17-Sep-09 1:47 
AnswerRe: Omitting HTML footer ? Pin
Not Active17-Sep-09 2:45
mentorNot Active17-Sep-09 2:45 
GeneralRe: Omitting HTML footer ? Pin
Mohammad Dayyan17-Sep-09 3:12
MemberMohammad Dayyan17-Sep-09 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.