Questions tagged [dynamic-controls]

310 questions
0
votes
1 answer

Adding extra submit function to dynamically populated jquery .submit

Background Okay, I have a unique web application, and after reading around on SO and some great other questions, I am still scratching my head as to how I can accomplish this feat. The end result: I must add a cancel button to a form which has…
hawkhorrow
  • 475
  • 2
  • 7
  • 18
0
votes
1 answer

ViewState error: Concurrent users modifying dynamic controls

Have a page that adds controls dynamically. Control state is being retrieved from database and controls are re-added to page on postback. User can add/delete controls through UI. When two users are on the same page and one adds/removes controls the…
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
0
votes
1 answer

Getting Text property of dynamic created ASPxTextBox with reflection c#

In an ASPxPageControl i have added some labels and textboxs dynamically created. Initially the Text property of the text box is empty until the end user fills the text box according to the information necessary. The next step is to press the Save…
Nahum Fabian
  • 180
  • 1
  • 2
  • 15
0
votes
2 answers

Dynamically change the content/layout/flow controlled via server

I am new to android development, and we have a very specific requirement. We need to change the content/layout/flow of the app on the fly. For e.g. we have a layout which consists of some images, textarea and textboxes. There might be a request…
nipun
  • 103
  • 1
  • 11
0
votes
1 answer

Dynamically changing multiple check boxes ID with C#

Whats the best way for me to change the ID's of the check boxes, like as in using a loop, the problem I'm having is with the current control ID CheckBox1.ID, i cant seem to change the 1 to be used as a variable CheckBox1.ID =…
Lappies
  • 903
  • 2
  • 11
  • 29
0
votes
2 answers

Controls are empty after submit

I have a checkboxlist and textbox controls on my asp.net page and the are dynamically created and added to the page. When I populate the values and submit the form, the values are empty by the time it hits the server. Any help?
Brandon Michael Hunter
  • 1,179
  • 3
  • 20
  • 48
0
votes
1 answer

How To handle Dynamic textBoxes within dynamic table?

I want to SUM UP(add) values from textboxes in same columns and display SUM to last row Textboxes respectively on click of "Calculate" Button All the textboxes are generated dynamically on click of “Create table” button. I am not getting how to…
Nishant SB
  • 67
  • 2
  • 16
0
votes
1 answer

After dynamically adding TextBox and Label, then the DropDownList control's SelectedIndexChanged event is not working

I have three DropdownList named drpUniversity drpFaculty drpSupervisor in my page. In drpUniversity has a list of University and in last index has Others if the listed Universities are not sufficient for users. Like as: American University,…
0
votes
2 answers

Dynamic controls - Alternative to clear all control in the container

I'm doing some test with dynamic controls. Here the code: ASPX page
chenny
  • 769
  • 2
  • 17
  • 44
0
votes
1 answer

Dynamically added checkboxs are not working in asp.net using c#?

i am adding multiple checkboxes in my asp.net page by doing this: public static CheckBox[] chck; on pageload: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { con.Open(); SqlCommand cmd = new…
Arindam Das
  • 699
  • 4
  • 20
  • 39
0
votes
2 answers

Dynamic adding of checkboxes in asp.net using c#?

I am trying to add two sets of checkboxes in my asp.net project. There I am doing this: on page load: public static CheckBox[] chck = new CheckBox[100]; public static CheckBox[] chckbx = new CheckBox[100]; and i have a functions: public void…
Arindam Das
  • 699
  • 4
  • 20
  • 39
0
votes
3 answers

Creating Dynamic Controls in Asp.net C#, and caching the controls and binding the Data

I am creating dynamic controls like textbox, dropdowns in Page_Init. After creating control I am binding data to the controls. When page postback happens I have to recreate the controls and rebind the data. Is there any way I can cache the…
Don Yogesh
  • 35
  • 2
  • 6
0
votes
2 answers

Accessing multiple dynamic controls values

I am adding multiple controls dynamically based on a dropdownlist that the user selects. i.e. if the user selects 3 then 3 sets of the controls are added. My problem is not in adding the controls, I can add them fine, I haven't added all my code but…
user1475479
  • 103
  • 1
  • 14
0
votes
1 answer

How to add controls programatically on button click?

I have a website form (c#) that sits inside a multiview control. The muliview control has 4 steps, so the first 3 steps gather information and if valid move to the next view on button click. I want to dynamically build the form based on previous…
dotnetnoob
  • 10,783
  • 20
  • 57
  • 103
0
votes
1 answer

Retrieving data on dynamic controls

I am using dynamically created controls and need to retrieve information about the control at runtime. If IsLoaded <> "free" Then flow_display.Controls.Clear() For x As Integer = 0 To populate.Count - 1 If…
spkelly86
  • 97
  • 2
  • 10