Generate code on SetFocus

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2008
Posts: 15
Reputation: menelaussa is an unknown quantity at this point 
Solved Threads: 0
menelaussa menelaussa is offline Offline
Newbie Poster

Generate code on SetFocus

 
0
  #1
May 19th, 2008
Hello everybody,
I have a problem regarding setfocus.
I have a datagrid with 3 columns: MinAge, MaxAge and Code.
In Code column I need to generate a code on set focus event. I mean ... when you click on Code textbox (in edit mode) to appear automatically the code.
Can anybody help me?
Than you!
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 43
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz

Re: Generate code on SetFocus

 
0
  #2
May 19th, 2008
I mean ... when you click on Code textbox (in edit mode) to appear automatically the code.
I think it's not of focus event it's a click event, right? I'm sorry but can you please rephrase your question....it's hard to understand what you really want.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 15
Reputation: menelaussa is an unknown quantity at this point 
Solved Threads: 0
menelaussa menelaussa is offline Offline
Newbie Poster

Re: Generate code on SetFocus

 
0
  #3
May 20th, 2008
When I have the grid in edit mode and I click in Code's textbox I want to appear the value of Code automatically
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 15
Reputation: menelaussa is an unknown quantity at this point 
Solved Threads: 0
menelaussa menelaussa is offline Offline
Newbie Poster

WebApp DataGrid

 
0
  #4
May 20th, 2008
I will detailed more the problem:
I have a datagrid in a WebApp which contains a dropdownlist named ddlGroup, and 3 bounded columns MinAge, MaxAge and Code. In the datagrid I can Edit, Update, Delete and Add a new row. In Edit mode, Code is generated in accordance with ddlGroup, MinAge and MaxAge. For this I need an event or I don't know what to catch the moment when text is changed in MinAge, MaxAge textboxes or the selectedvalue from ddlGroup.



Can someone help me, pls?
Thank you!
Attached Thumbnails
datagrid.JPG  
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum


Views: 1449 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC