- I'm using Expression Blend 3
- I click on "add live datasource", "add new xml datasource"
- copy in a URL
- but the OK button remains blank
我正在使用Expression Blend 3
我点击“添加实时数据源”,“添加新的xml数据源”
复制到URL
但是OK按钮仍为空白
adding a local XML datasource file works fine
添加本地XML数据源文件工作正常
How can I add a URL datasource in expression blend 3?
如何在表达式混合3中添加URL数据源?
does this work for anyone else?
这对其他人有用吗?
The problem is on every Expression Blend 3 I install on any computer, seems to simple be turned off in the beta.
问题在于我在任何计算机上安装的每个Expression Blend 3,似乎在测试版中都很简单。
alt text http://tanguay.info/web/external/blenddataokbutton.png
alt text http://tanguay.info/web/external/blenddataokbutton.png
2 个解决方案
#1
I just tried using blend 1.0. This version also had other options, such as 'infer xml schema'.
我刚尝试使用blend 1.0。此版本还有其他选项,例如“推断xml架构”。
My guess is that there was some check added in later version to ensure that the file pointed to has an extension.
我的猜测是,在更高版本中添加了一些检查以确保指向的文件具有扩展名。
My suggestion is to edit the xaml directly. Note, this is old XAML from blend 1.0:
我的建议是直接编辑xaml。注意,这是来自混合1.0的旧XAML:
<Window.Resources>
<XmlDataProvider x:Key="rssDS" d:IsDataSource="True" Source="http://www.tanguay.info/web/rss/"/>
</Window.Resources>
Hope that helps, let me know.
希望有所帮助,让我知道。
#2
I ran into the same problem when I tried to reimport a sample data from an XML file. The data source already exists or at least Blend thinks it still exists. You should see a warning if you mouse-over the Data Source Name textbox.
当我尝试从XML文件重新导入示例数据时遇到了同样的问题。数据源已经存在,或者至少Blend认为它仍然存在。如果将鼠标悬停在“数据源名称”文本框上,则应该会看到警告。
Delete the data source from the Data tab.
Delete the folder in the project view.
Rebuild the project.
If that doesn't clear it out, restart Blend.
从“数据”选项卡中删除数据源。删除项目视图中的文件夹。重建项目。如果没有清除它,请重新启动Blend。
That's what I had to do. I have Expression 4.0 Ultimate.
这就是我必须要做的。我有Expression 4.0 Ultimate。
#1
I just tried using blend 1.0. This version also had other options, such as 'infer xml schema'.
我刚尝试使用blend 1.0。此版本还有其他选项,例如“推断xml架构”。
My guess is that there was some check added in later version to ensure that the file pointed to has an extension.
我的猜测是,在更高版本中添加了一些检查以确保指向的文件具有扩展名。
My suggestion is to edit the xaml directly. Note, this is old XAML from blend 1.0:
我的建议是直接编辑xaml。注意,这是来自混合1.0的旧XAML:
<Window.Resources>
<XmlDataProvider x:Key="rssDS" d:IsDataSource="True" Source="http://www.tanguay.info/web/rss/"/>
</Window.Resources>
Hope that helps, let me know.
希望有所帮助,让我知道。
#2
I ran into the same problem when I tried to reimport a sample data from an XML file. The data source already exists or at least Blend thinks it still exists. You should see a warning if you mouse-over the Data Source Name textbox.
当我尝试从XML文件重新导入示例数据时遇到了同样的问题。数据源已经存在,或者至少Blend认为它仍然存在。如果将鼠标悬停在“数据源名称”文本框上,则应该会看到警告。
Delete the data source from the Data tab.
Delete the folder in the project view.
Rebuild the project.
If that doesn't clear it out, restart Blend.
从“数据”选项卡中删除数据源。删除项目视图中的文件夹。重建项目。如果没有清除它,请重新启动Blend。
That's what I had to do. I have Expression 4.0 Ultimate.
这就是我必须要做的。我有Expression 4.0 Ultimate。