dynamic button

  1. P

    Question Save dynamically created button permanently to the form.

    Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'some code Dim MyButton As New Button() With MyButton .Location = New Point(12, 12) .Size = New Size(75, 30) .TabIndex = 0 .Text = TextBox1.Text...
  2. J

    dynamically add and remove controls?

    I have search internet for quit a while, but can't find the solution for my coding. What I want to do is I first add 3 buttons on the form with coding. If I press the first button, all the 3 buttons will be removed and another 3 new buttons will be added: Here is my code, I don't know where do...
  3. PatelNehal4u

    Dynamic Contrl Generation Problem

    Hello Everyone, I am new to asp.net and i had created a form with a button, which create a new button dynamically, i bind that button with an event but when i press newly created button it again got deleted and no response from it. Here is the coding. Protected Sub Button1_Click(ByVal sender...
Back
Top