asp.net telerik radWindow 图标大小
我在使用 Telerik 图书馆的 RadWindow 时遇到了麻烦。我通过 DLL 在我的 asp.net 项目中添加 Telerik,当我尝试加载窗口左上角的图标时,它不显示任何内容。
经过一番搜索后,我发现我的图标大小是我痛苦的根源。我正在尝试加载 128x128 图标,其中 RawWindow 图标的宽度和高度在 css 文件中设置为 16x16。
现在我的问题是:如何更改RadWindow 图标的宽度和高度?我已经对 RadWindow 进行了子类化,这样我就可以在我的代码隐藏中编写一些 CSS,但是在尝试了一段时间之后,我无法找到一种方法来做到这一点!
我还尝试在我的网站默认 css 文件中编写一些 css 代码,但也没有成功!
有人可以为我提供解决方案吗?
I'm facing a trouble with a RadWindow, from the Telerik Library. I'm adding Telerik in my asp.net project through DLLs and when I try to load an icon in the top left part of the window, it doesn't display anything.
After searching for a bit, I found that the size of my icon was the source of my miseries. I'm trying to load 128x128 icons where the width and height of my RawWindow icon is set to 16x16 in the css file.
Now my question : How can I manage to change the width and height of my RadWindow's icon ? I have subclassed RadWindow so I could write some CSS in my code-behind, but after trying for a while, I can't manage to find a way to do it !
I also tried to write some css code in my website default css file, without much success neither!
Can somebody provide me a solution to this please ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的标题似乎表明您在设置图标大小时遇到问题;然而你的问题似乎表明你的问题实际上是如何设置窗口大小。如果是后者,那么应该这样做:
客户端,您可以使用
setSize
和 服务器端可以使用宽度、高度等。
Your title seems to indicate that you have an issue setting the icon size; however your question seems to indicate that your issue is really how to set the window size. If the latter, then this should do it:
Client-side, you can use
setSize
And server-side you can use Width, Height, etc.