ASP.NET 2.0主题不是WYSIWYG [英] ASP.NET 2.0 Themes are not WYSIWYG

查看:78
本文介绍了ASP.NET 2.0主题不是WYSIWYG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我开始使用主题。我设置了一些Web控件,比如WebPart和

CatalogPart。在浏览我的网页时,我可以看到主题是

工作,在VS 2005中,在设计视图中,我没有看到主题样式是

已应用。属性窗口中没有反映属性。


我做错了什么?皮肤属性是否应反映在

属性窗口和设计视图中。我希望如此,因为否则我认为这是一个大问题。可能让主题对我来说没用。


谢谢。

Michael

解决方案

我不知道有什么方法可以做到这一点 - 它总是显示控件

然而它们在页面上,没有应用特定的主题。


主题非常适合客户端演示 - 怎么看不到

相关字体/颜色让这个概念对你没用,我想知道吗?


迈克尔 <无**** @ nospam.com>在消息中写道

新闻:uW ************** @ TK2MSFTNGP11.phx.gbl ...

你好,
我开始使用主题了。我修改了一些Web控件,比如WebPart和
CatalogPart。在浏览我的网页时,我可以看到主题正在工作,在VS 2005中,在设计视图中,我没有看到主题样式被应用。属性窗口中也没有反映属性。

我做错了什么?皮肤属性是否应反映在属性窗口和设计视图中。我希望如此,因为否则
我认为这是一个大问题。可能让主题对我没用。

谢谢。
Michael



听起来你做错了。

控件格式属性在外观文件中定义。

内容页面,包含显示控件,引用skinid和skinid。格式化。

在设计视图的属性中,你应该指定要应用的skinid。


---------- ---------------------------------

我宁愿在锡箔上咀嚼而不是尝试用C#编码。


你好Jon,


我没有指定SkinID,因为我是从默认皮肤。


谢谢,

Michael

" Jon Paal" < Jon nospam Paal @ everywhere dot com>在消息中写道

新闻:ua ************* @ TK2MSFTNGP15.phx.gbl ...

听起来你在做这个错误。
控件格式属性在皮肤文件中定义。

内容页面,包含显示控件,引用
skinid。格式化。
在设计视图的属性中,您应指定要应用的skinid。

-------------- -----------------------------
我宁愿在锡纸上咀嚼而不是尝试在C#中编码。


Hello,

I''m starting to use Themes. I skin some Web controls, like a WebPart and a
CatalogPart. While browsing my Web page, I can see that the Theme is
working, in VS 2005, in design view, I don''t see the Theme styles being
applied. Neither are the properties reflected in the Properties window.

Am I doing something wrong? Should the skin properties be reflected in the
Properties Window and in the Design view. I do hope so, because otherwise I
see this as a big problem. Probably making Themes useless for me.

Thanks.
Michael

解决方案

I don''t know of any way to make that work - it always displays controls
however they are on a page, without applying a specific theme.

Themes are really for client-side presentation - how could not-seeing the
corrent fonts/colors make this concept useless to you, I wonder?

"Michael" <no****@nospam.com> wrote in message
news:uW**************@TK2MSFTNGP11.phx.gbl...

Hello,

I''m starting to use Themes. I skin some Web controls, like a WebPart and a
CatalogPart. While browsing my Web page, I can see that the Theme is
working, in VS 2005, in design view, I don''t see the Theme styles being
applied. Neither are the properties reflected in the Properties window.

Am I doing something wrong? Should the skin properties be reflected in the
Properties Window and in the Design view. I do hope so, because otherwise
I see this as a big problem. Probably making Themes useless for me.

Thanks.
Michael



Sounds like you are doing this incorrectly.
The control formatting properties are defined in the skin file.
The content pages, holding the controls for display, reference the "skinid" for formatting.
In the properties for the design view, you should specify the skinid to be applied.

-------------------------------------------
I would much rather chew on tinfoil than try to code in C#.


Hi Jon,

I''m not specifying the SkinID because I''m pulling from the default skin.

Thanks,
Michael
"Jon Paal" <Jon nospam Paal @ everywhere dot com> wrote in message
news:ua*************@TK2MSFTNGP15.phx.gbl...

Sounds like you are doing this incorrectly.
The control formatting properties are defined in the skin file.
The content pages, holding the controls for display, reference the
"skinid" for formatting.
In the properties for the design view, you should specify the skinid to be
applied.

-------------------------------------------
I would much rather chew on tinfoil than try to code in C#.



这篇关于ASP.NET 2.0主题不是WYSIWYG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆