Posts

Showing posts from December, 2011

call webuser control dynamically

Image
Introduction: Hello friends, in this article i will explain that how we can call webuser control at the .cs page dynamically using sapx.cs code. The webuser control is very useful control in asp.net. with the help of the webuser control the part of the code can be seprated from the .aspx.cs page. According to my experience , we can use webuser control where some designning issues are created, then you can create webuser control and call that webuser control at the part of the .aspx page. Implementation: create a new website abb a page named table_call_web_user_control.aspx.   and a webuser control named talble_user_control.ascx.   Below   i am giving the complete code for the html page and .cs page and the ascx page and ascx.cs page.  Code for talble_user_control.ascx: <% @ Control Language ="C#" AutoEventWireup ="true" CodeFile ="talble_user_control.ascx.cs" Inherits ="talble_user_control" %> < table >       ...