Geeks With Blogs
Sonam Singh October 2009 Entries
Adding controls dynamically in ASP.Net?
The Problem scenario is like this: I have a button and a textbox on a asp.net page: <asp:Panel ID="Panel1" runat="server" <asp:TextBox ID="GroupName" runat="server" Width="352px” /> <asp:Button ID="CreateGroup" runat="server" Text="Create" onclick="CreateGroup_Click" /> </asp:Panel> <asp:PlaceHolder ID="PlaceHolder1" runat="server" /> When I click the button a label should be added dynamically to the placeholder located in the page: The code in click event handler is as: ......

Posted On Sunday, October 4, 2009 10:58 PM

Copyright © sonam | Powered by: GeeksWithBlogs.net | Join free