样式表CLASS [英] Style Sheet CLASS
本文介绍了样式表CLASS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在代码behin'的
Page_Load事件中更改服务器控件的CLASS属性?
我可以在属性窗口中看到类属性,但我没有类
(样式表类)作为控件的类(C#类) )属性。
谢谢,
阿里
Hi,
How can I change the CLASS property of a server control inside code behin''s
Page_Load event?
I can see the class property in Properties window, but I don''t have "class"
(the stylesheet class) as control''s class (C# class) properties .
Thanks,
Ali
推荐答案
System.Web .UI.HtmlControls.HtmlTableCell没有!没有cssClass有没有
的方法呢?
" Scott M." < S - *** @ BADSPAMsnet.net>在消息中写道
news:u4 ************* @ TK2MSFTNGP11.phx.gbl ...
System.Web.UI.HtmlControls.HtmlTableCell doesn''t have that !! Is there any
way to do that without cssClass?
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:u4*************@TK2MSFTNGP11.phx.gbl...
应该有一个.CSSClass对照的财产。
A.M < IH ******* @ sapm123.com>在消息中写道
新闻:ux ************** @ TK2MSFTNGP10.phx.gbl ...
There should be a .CSSClass property of the control.
"A.M" <IH*******@sapm123.com> wrote in message
news:ux**************@TK2MSFTNGP10.phx.gbl...
>如何在代码中更改服务器控件的CLASS属性
Hi,
How can I change the CLASS property of a server control inside code
behin'的
behin''s
Page_Load事件?
我可以看到课程属性窗口中的属性,但我没有
Page_Load event?
I can see the class property in Properties window, but I don''t have
" class"
"class"
(样式表类)作为控件的类(C#类)属性。 br />
谢谢,
阿里
(the stylesheet class) as control''s class (C# class) properties .
Thanks,
Ali
我正在使用System.Web.UI.HtmlControls.HtmlTableCell;服务器端
控制,它没有CssClass属性!!
A.M < IH ******* @ sapm123.com>在消息中写道
news:ux ************** @ TK2MSFTNGP10.phx.gbl ...
I am working with "System.Web.UI.HtmlControls.HtmlTableCell" server side
control which doesn''t have CssClass property!!
"A.M" <IH*******@sapm123.com> wrote in message
news:ux**************@TK2MSFTNGP10.phx.gbl...
>
如何在代码
behin'的Page_Load事件中更改服务器控件的CLASS属性?
我可以在属性窗口中看到类属性,但我不知道没有
class (样式表类)作为控件的类(C#类)属性。
谢谢,
Hi,
How can I change the CLASS property of a server control inside code behin''s Page_Load event?
I can see the class property in Properties window, but I don''t have "class" (the stylesheet class) as control''s class (C# class) properties .
Thanks,
Ali
控件应该有一个.CSSClass属性。
" A.M" < IH ******* @ sapm123.com>在消息中写道
news:ux ************** @ TK2MSFTNGP10.phx.gbl ...
There should be a .CSSClass property of the control.
"A.M" <IH*******@sapm123.com> wrote in message
news:ux**************@TK2MSFTNGP10.phx.gbl...
>
如何在代码
behin'的Page_Load事件中更改服务器控件的CLASS属性?
我可以在属性窗口中看到类属性,但我不知道没有
class (样式表类)作为控件的类(C#类)属性。
谢谢,
Hi,
How can I change the CLASS property of a server control inside code behin''s Page_Load event?
I can see the class property in Properties window, but I don''t have "class" (the stylesheet class) as control''s class (C# class) properties .
Thanks,
Ali
这篇关于样式表CLASS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文