I use the following code to create button dynamically. Please how can I save the button so that it will appear on next run? I have been looking for a solution and could not find one.
Dim count As Integer = RadLayoutControl.Controls.OfType(Of Button).ToList.Count
Dim button As Button = New Button
button.Size = New System.Drawing.Size(RadSpinEditor1.Value, RadSpinEditor1.Value)
button.Name = "btnDelete_" & (count + 1)
button.Text = "test"