|
|
I had created an exe file using set up project for my WPF application. I had published it on the server.
My question how can make it auto update when ever client run it on his local box. i did not use click once deployment because of some issues.
Please help
|
|
|
|
|
See here[^], might help.
psdeepu wrote: because of some issues
ClickOnce is your best bet. Can you share what kind of issues ?
|
|
|
|
|
i need all the installation screens like license agreement etc. change some registry entries. etc.
|
|
|
|
|
Can Search engines index silverlight content?
What SEO tecnics can be used to help indexing?
Miguel Barros - Developer
t3k.pt
|
|
|
|
|
Search engines cannot parse text that is within the silverlight app (.xap). There are a couple ideas floating out there to help with seo and silverlight however, I don't know how effective they are. One ideas is to dynamically generate text into the <object> tags that render the silverlight. The idea behind this is that if "something" in this case a search engine cannot render silverlight, it will go after what ever is in the object tags. Just to be more clear, this is not a search engine thing, it's a silverlight thing. If a browser that did not have silverlight installed, it also would see what you had between the object tags.
|
|
|
|
|
Well... first answer Silverlight SEO... NO, something like flash.
Second response... there are some ways (not as good as the old HTML text based stuff ).
http://www.nikhilk.net/AjaxSEO.aspx[^]
/// -------------------------
Braulio Díez
DBSchemaEditor.com
Free Silverlight Based DB Schema Modeling tool
/// -------------------------
|
|
|
|
|
Hi,
I'm new to WPF, so please bear with me.
I have a tree of objects. For every item on the tree, I'd like to have a delete button that is right-aligned.
Here's my best text-based representation:
[----------------------------]
scene
entity 1 x
entity 2 x
child entity 1 x
child entity 2 x
entity 3 x
[----------------------------]
The 'x' represents a delete button, or a small x icon.
What's the best way to do this?
Thanks!
|
|
|
|
|
You can override the TreeViewItem template ?
<Style TargetType="TreeViewItem">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TreeViewItem">
<StackPanel Orientation="Horizontal">
<TextBox></Button>
<Button>X</Button>
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
|
|
|
|
|
Hi there,
I'm new to WPF, so bear with me.
I'm trying to make something like a class browser. I have a tree of objects, but each child in the tree is based on whether the object has variables of a certain type.
For example, say I have an Entity class for my game engine. I can have any number of variables in the class, or any derived classes, but I'm only interested in all the variables of type Vector. So for a hypothetical scene, I'd like to show a tree like:
scene
entity 1
vector worldposition
entity 2
vector worldposition
vector lookat
vector orientation
(I hope that was clear enough)
[Edit]
An additional challenge is if an entity has a variable of type Entity. So another hypothetical scene might look like:
entity 1
vector worldposition
entity 2
vector worldposition
vector lookat
vector orientation
entity 3
vector worldposition
entity child
vector worldposition
vector lookat
The scene could theoretically keep going like this, covering every child entity.
What's the best way to display this in a TreeView?
Thanks!
|
|
|
|
|
If you provide a DataTemplate for each of the types, it should pick it up automatically. Check this post[^] from Mark. It should give you an idea.
|
|
|
|
|
I am interested in writing a few Silverlight components to put on an aspx page, using them kind of like web parts. They would need to be able to fire events and take properties though.
Has anyone else out there done this?
|
|
|
|
|
|
Thanks. I will check it out.
|
|
|
|
|
Hello,
I am trying to bind a variable in the code behind to the visibility property of an element. Here is what I have:
xaml:
<groupbox visibility="{Binding CarrierPreviewVisibility}" grid.row="1" header="Carriers">
code behind:
//Property
private System.Windows.UIElement carrierPreviewVisibility;
public System.Windows.UIElement CarrierPreviewVisibility
{
get
{
return carrierPreviewVisibility;
}
set
{
carrierPreviewVisibility = value;
NotifyPropertyChanged("CarrierPreviewVisibility");
}
}
/* code in constructor. THE BELOW CODE IS WRONG. The error is "Cannot implicity convert string to System.Windows.UIElement. */
this.CarrierPreviewVisibility = "Hidden"
Am I totally off base here? Does anyone know how to do this?
Any ideas
|
|
|
|
|
nikotromus11 wrote: "Cannot implicity convert string to System.Windows.UIElement. *
You cannot assign a type string to an object of type UIElement. What are you trying to do ?
I would suggest you change your property to have a type System.Windows.Visibility[^]. If you are confused in the way we set visibility in XAML, like in XAML we specify a string then, I would point out that XAML automatically does a conversion of the string value to the specified type. But, if you do it in code, you would require to handle it on your own.
|
|
|
|
|
When page loads with silverlight plugin control, and clicked on silverlight object, it opens javscript alert popup.
This works fine in IE, FireFox and Safari also.
But in Chrome, it causes to make silverlight plugin unresponsive.
What could be the possible workaround for this..
I am using silverlight 2 and chrome 0.2.149.27
Any help/clue is welcome.
|
|
|
|
|
I have a combobox which loads and displays exactly how I want it to, it is in a view and I am able to retrieve the pieces from this view without any problem. The problem I have is when I throw the object back at the view the combobox(which is bound to a collection of objects) the combobox doesn't show the information. What am I missing?
Here is the combobox XAML:
<ComboBox x:Name="cboParameterName"
IsSynchronizedWithCurrentItem="True"
TabIndex="10"
Grid.Column="1"
Grid.ColumnSpan="4"
ItemsSource="{Binding Path=ParameterNameCollection, Mode=Default}"
SelectedValue="{Binding SelectedParameter.Name}"
Style="{DynamicResource BaseComboBox}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding ParameterDisplayName}"/>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
|
|
|
|
|
Did you try with Two-way binding ? Or else refer to this[^], Eslam has provided a sample with INotifyPropertyChanged.
|
|
|
|
|
I have tried TwoWay, but that didn't fix the problem, any other ideas?
|
|
|
|
|
Well, did you try the INotifyPropertyChanged suggestion from Eslam that I shared? Or this[^]
|
|
|
|
|
Yes the all of my base classes implement INotifyProperyChanged
|
|
|
|
|
Can you share how you are updating the object in code ? Try calling the property change notification explicitly using SendPropertyChanged("ParameterNameCollection").
|
|
|
|
|
There are four different view models since there is are parent child relationships in this scenario.
Here is an attempt to explain
TabParameterViewModel
has a DP of ParameterCollection (which is of Type ObservableCollection)
has a DP of Parameter (bound to the selected item in a ListView)
ParameterViewModel
has a DP of Parameter which is set to a clone of TabParameterViewModel.Parameter
has a DP of ParameterDefaultCollection (again an ObservableCollection) this.Parameter.Defaults
ParameterDefaultsViewModel
has a DP of ParameterDefaultCollection bound to a ListView
has a DP of ParameterDefault bound to the selectedItem in the ListView
ParameterDefaultViewModel
has a DP of ParameterDefault which is set to a clone of ParameterDefaultsViewModel.ParameterDefault
The Parameter Model has a Name property which is a class of ParameterName, which contains other attributes that are needed for the ParameterName. It also has a string property called ParameterLabel which I have bound to a textbox, when I change the SelectedItem in the listbox int TabParameterView the corresponding attributes change in the ParameterView, but any item bound to an object (in this case a Combobox) that attribute is not populated.
|
|
|
|
|
Your orignal post had the ComboBox bound to "ParameterNameCollection" which doesn't appear in your description. What collection is it ?
|
|
|
|