CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

dynamically create textboxand raise events dynamically topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2010, 01:10 AM
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sekhar_ddk is on a distinguished road
| More
dynamically create textboxand raise events dynamically

Hi, i am raj
how to create a textbox dynamically and what ever you enter in that textbox that will apper in lablel dynamically?
how raise text change event at run time?
Reply With Quote
  #2  
Old 09-02-2010, 01:28 AM
shabbir's Avatar
Administrator
 
Join Date: Sep 2006
Posts: 1,158
Thanks: 48
Thanked 62 Times in 43 Posts
shabbir has a spectacular aura aboutshabbir has a spectacular aura about
| More
Re: dynamically create textboxand raise events dynamically

There are some events which you do like PerformClick but for editing of control I think the best way to do this is either use RaisePostBackEvent or you can use the PostMessage Windows API to send the control the needed message.

Yes one more way is to just call the event handler directly.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Textchanged event for dynamically create textbox scothy C# Programming 0 08-28-2010 03:11 AM
Need To Create A Folder meyup C Programming 2 03-30-2010 08:34 PM
Create window e_pech MFC Programming 1 07-25-2008 02:09 AM
Difference between events and delegates coderzone C# Programming 1 03-11-2008 11:29 PM
Tutorial for creating dialog controls dynamically? ajcrm125 Win32 Programming 0 09-30-2006 06:46 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:47 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board