A Alexey Smirnov May 24, 2007 #2 Can any one tell me how an html server control can be used in .CS Click to expand... for example for <table id=Table1 runat=server> you can reference the control by its unique id Table1.visible = false;
Can any one tell me how an html server control can be used in .CS Click to expand... for example for <table id=Table1 runat=server> you can reference the control by its unique id Table1.visible = false;
E Eliyahu Goldin May 24, 2007 #3 If you add "runat=server" to any html control, asp.net will create a server-side object for the control. The type of the object depends on the type of the control. You can refer to the object by its id -- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
If you add "runat=server" to any html control, asp.net will create a server-side object for the control. The type of the object depends on the type of the control. You can refer to the object by its id -- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net