dynamic-controls Questions

6

Solved

I have dynamically generated controls on the panels of windows form and i have also generated a button for removing the controls, all in rows. int c = 0; private void button1_Click(object sender, ...
Rhabdomancy asked 15/12, 2012 at 1:48

1

Solved

I have a formarray with certain fields one of which is input. In this field, on user input, we search in the API's and return some data. The problem is, it is working only for first dynamic contro...
Clathrate asked 29/4, 2020 at 13:51

3

Investigating the new strongly-typed, model-binding approach within ASP.NET 4.5 WebForms: In Scott Hanselman's example of WebForms model binding (amongst others) I've seen the use of a FormView th...
Barbarossa asked 8/11, 2012 at 5:16

3

Solved

I am working on an ASP.NET VB.NET web form - a reservation web application, in which only one aspx page and rest are user-control page. At run-time of aspx page, user controls load as per step an...
Mclellan asked 14/5, 2015 at 11:58

2

Solved

In a windows form, I can add control dynamically by doing this: for (int i = 0; i < 5; i++) { Button button = new Button(); button.Location = new Point(160, 30 * i + 10); button.Tag = i; t...
Khalkha asked 3/6, 2013 at 15:36

3

Solved

I want to create control that will allow user to design his own website structure. I imagined that inside UpdatePanel is control(s) with TextBox ( for page name) and Button 'add below'. It would lo...
Clere asked 3/11, 2010 at 10:56

2

Solved

I want to create an amount of controls dynamically based on a number the user enters into a textbox. This part I have working fine, but I also need the dynamically created textboxes to have event h...

1

Solved

I have a flowlayout control in winforms, i have set its flow direction to TopDown but it keeps adding controls from left to right, autoscroll is also set to true. flowLayoutPanel1.Controls.Clear()...
Rabblerouser asked 12/10, 2011 at 14:7

4

Solved

Anyone know how I can dynamically load a control inside of a shared/static function? The function itself is inside of a mustinherit/abstract class. (It's an ASP.NET project in VB) I want to do some...
Benn asked 30/12, 2009 at 17:17

4

Solved

I'm trying to create a web page that will display an appropriate user control based on the selected value of a drop down list. Basically the page layout is this: Drop Down Selection < User Con...
Abib asked 12/6, 2009 at 16:34

3

Solved

I have user control named DateTimeUC which has two textboxes on its markup: <asp:TextBox ID="dateTextBox" runat="server"></asp:TextBox> <asp:TextBox ID="timeTextBox" runat="server"&...
Radon asked 24/9, 2008 at 14:15
1

© 2022 - 2024 — McMap. All rights reserved.