creating properties to the dyanically created controls in browser

Posted by Snvrk1985 under ASP.NET on 7/23/2012 | Points: 10 | Views : 775 | Status : [Member] | Replies : 0
i want to set the properties to the dynamically created control which is in browser.
I want in such a way the the end user can change the appearance which his choice.
like height, background, font, etc.

i have written the code like.

Button btn = new Button();
btn.Name = "dynbtn";
btn.Content = "Button";
btn.Click += new RoutedEventHandler (dynbtn_click);
btn.AllowDrop = true;
btn.Height = 25;
btn.Width = 50;
Brush blue = new SolidColorBrush(Colors.Green);

which is not end user choice. i want these porperties to be end user choice.


(No response found.)

Login to post response