Questions tagged [dynamic-controls]
310 questions
-1
votes
2 answers
Cannot create textboxes dynamically
I've to create three textboxes when clicked on Add button. Initially I tried to generate a single textbox but can not do the same. I took help from this forum as well as ,
http://csharp.net-informations.com/gui/dynamic-controls-cs.htm.
I can not…

user4221591
- 2,084
- 7
- 34
- 68
-1
votes
2 answers
How do I read the selections from Dynamically created combo boxes? in c#
I am trying to create a forms application in C# that will create several comboboxes, populate them with selectable items and then be able to detect what items were selected. I have the first two parts working: I can create the combo boxes, add the…

WilliamAPerry
- 1
- 1
-1
votes
1 answer
Replacing a text box with DateChooserCombo in org.eclipse.swt.layout.GridData
I had dialog created in SWT using GridData having:
Label1: ComboBox
Label2: TextBox1
Label3: TextBox2
checkbox1 Label4
checkbox2 Label5
Based on the ComoBox selected value, I need to replace TextBox2 with DateChooserCombo or DateChooserCombo…

Mohammed Hakimi
- 29
- 5
-1
votes
1 answer
How can i create dynamic button click event on dynamic button - VB.net
I am creating a button on page dynamically. now i want to use button click event on that button. How can i do this in VB.net & asp.net?
My code:
Page Load:
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Try
…

Amarnath Balasubramanian
- 9,300
- 8
- 34
- 62
-1
votes
1 answer
How to create dynamic controls and store the values in sqlite?
Iam doing an android application. In that i want to create dynamic controls(edittext) like android core contacts application. After entering data in the ediitext i want to save the data to sqlite database by clicking a button named save. As Iam new…

sundar
- 27
- 6
-1
votes
1 answer
Adding dynamic content on page such as Sitefinity or Dotnetnuke
How can i create dynamic content on page such as Sitefinity or Dotnetnuke?How can i manage user controls with drag and drop?

user2282567
- 781
- 1
- 7
- 14
-1
votes
0 answers
Dynamic textfields does not retain data on postback
I created a webform that allows the user to dynamically add more textboxes. Right now, as the button is clicked to add another field, it postbacks to itself. The controls are added in the Pre_Init. However when the page reconstructs itself the…

Dan
- 1,041
- 1
- 12
- 32
-2
votes
2 answers
How can I place dynamic controls on dynamic forms?
I am trying to make custom forms with unique sets of controls on each form... I can create the dynamic form, but I can't seem to put any controls on it..
using (Form formA = new Form())
{
Button btn = new Button();
formA.Text = "Form A";
…

william_perry
- 1
- 4
-2
votes
1 answer
C# How to remove dynamically created controls in switch
ok so in my switch(comboBox1.SelectedIndex) in case 1 it creates some Labels and comboBoxes dynamically and adds them to tabPage1, but I want those dynamically created controls to be removed when case 2 is selected
public void…

MiRaN
- 641
- 1
- 6
- 11
-3
votes
1 answer
Dynamicaly add 2nd control after 1st control
In c# I have a dynamic control on my flowlayoutpanel. I want another control to be placed exactly after the 1st control on the click of a button.

Uttam
- 35
- 1
- 9