Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 7th, 2007, 07:47 AM
Authorized User
 
Join Date: Nov 2006
Location: Bangalore, Karnataka, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Somesh
Default How to get control in runtime.

Hi All
I have a page in which the controls (Checkboxes, Textboxes, and Dropdown List) are created programmatically. There is a Button, by clicking it I need to separate the Textboxes and the conditions from the Dropdown List.

My problem is that is why whenever the program is not running then there is no existence of the above said controls that is why when ever I am trying to run the code, the compiler is sending some errors like this: - The CheckBox1 does not exist in the current context.

How can I over come this problem?

I shall be highly obliged if I get any type of suggestion from any one.

With Regards.
Somesh Chatterjee


someshchaterjee
__________________
somesh chaterjee
  #2 (permalink)  
Old March 24th, 2007, 02:23 PM
Friend of Wrox
 
Join Date: Dec 2006
Location: , , .
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi
what you writen to generating control at runtime?
i think you write missing code
i can help you if you write your code here
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
runtime instatiation of form control Baby_programmer C# 2005 1 November 29th, 2007 05:05 AM
How to get control in runtime. Somesh .NET Framework 2.0 1 March 7th, 2007 03:42 PM
add control at runtime, pls HELP jimmyfrank Pro VB 6 3 February 4th, 2005 03:39 PM
Create Control, Runtime jimmyfrank Access VBA 1 January 29th, 2005 10:40 PM



All times are GMT -4. The time now is 04:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.