deleting white sapces - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » deleting white sapces deleting white sapces Last post 02-11-2007 09:07 PM by K.Ramana Reddy. 4 replies. Page 1 of 1 (5 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 02-08-2007 04:03 AM basescu Joined on 09-27-2006 Posts 32 deleting white sapces Reply Contact hyI write c# code and whant to do the following thing:When the textbox "Name" is completed with" John ", a function will write in the textbox"John".I am capable of writeing such a function in C#.But i don't know how to use an event handler for a textbox.Should i write just name.onafterchange{}or must i use a wizard witch will shaow me where to write the code?i am very confused 02-08-2007 04:42 AM In reply to K.Ramana Reddy Joined on 04-27-2005 India Posts 195 Re: deleting white sapces Mark as Not AnswerMark as Answer... Reply Contact Hi,As my understand, You want call a function after entering the something in the text box? If it is right, you can use OnAfterChange event.I hope this will help for you.Thanks. K.Ramana Reddy / http://www.ggktech.comIndia. 02-09-2007 02:40 AM In reply to basescu Joined on 09-27-2006 Posts 32 Re: deleting white sapces Mark as Not AnswerMark as Answer... Reply Contact thanksis it ok if i click on the textbox(in design mode), then on "Data validation",then on "Events" drop down list i choose "OnAfterChange", then "Edit"?Or will this make something else happen? 02-09-2007 06:27 AM In reply to nukkumatti Joined on 12-08-2005 Germany Posts 349 Re: deleting white sapces Mark as Not AnswerMark as Answer... Reply Contact This is exactely what you have to do. Listen to Motörhead cos they play Rock'n Roll :) 02-11-2007 09:07 PM In reply to K.Ramana Reddy Joined on 04-27-2005 India Posts 195 Re: deleting white sapces Mark as Not AnswerMark as Answer... Reply Contact Hi,Yes, samething i said in previous post, in that OnAfterchange event, write the code, what you want to do.If you are getting any problems, feel free to ask.Thanks. K.Ramana Reddy / http://www.ggktech.comIndia. Page 1 of 1 (5 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.