|
Check if you have the appropriate versions of the framework on the Vista machine.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
I need to create table that all ListViewItem of this table will be build hold
1. Image
2. Text
3. Button
How can i do it ?
|
|
|
|
|
This[^] article is not Silverlight but it might just help you.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Its not in WPF - its in simple winform !
|
|
|
|
|
Use a DataTemplate for the ListViewItem, and populate it with the the items you are interested in. Obviously, these items would have to be bound items.
|
|
|
|
|
I am having serious problems with the inconsistency of the development environment and want to know if it is just me. Some of the symptoms during development are;
An async call will work perfectly and then return server not found.
A method that worked 5 minutes ago fails with a spurious message then works when I restart the app again. This is a waste of endless hours as I cannot trust the IDE to be consistent.
An Async/completed pair will work if I follow through the structure of the app, then the completed method does not get hit when I shortcut the path. This one is really weird!
The WCF service will not update the reference, occasionally I have to delete the service from the SL app just to get a new method to reflect into the reference
Debugging is just insane - I either need a third party app or a winforms client to debug an asynch service.
Combo boxes are a complete PITA, I am astonished we have reached release 4 and these are such a disaster.
The combination of the above means that productivity is about 10% of what I can do with winforms, even with a WCF service. I have the feeling I may have made a complete blunder recommending Silverlight.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Yes, it's just you...
No, seriously, I have exactly the opposite problem - working with winforms is a torture for me, while SL and WPF seems to go smoothly. I guess it's just the matter of personal preference - everybody has to find at least 1 technology to hate.
|
|
|
|
|
Mycroft Holmes wrote: Debugging is just insane - I either need a third party app or a winforms client to debug an asynch service.
*Cough*Use Attach to running process to debug - it's a lot easier.
|
|
|
|
|
Well....things are not this bad.
It's just you.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
modified on Monday, October 11, 2010 11:52 PM
|
|
|
|
|
Abhinav S wrote: Well....things are not this bad.
Oh yes they are, and then we have some stellar decisions from IT, they have decided that remote sites will have to access the systems via citrix.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: they have decided that remote sites will have to access the systems via citrix.
Intersting. We too had a similar issue with a client.
The client had to run SL apps on citrix.
Still not found a workaround.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Mycroft Holmes wrote: The WCF service will not update the reference, occasionally I have to delete the service from the SL app just to get a new method to reflect into the reference
Yeah, that happens to me a lot as well - more so in WPF, but occasionally in Silverlight as well.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
I yet to create a WPF app, working with SL is slowly getting better as I start to find the gotchas. Figured out another one today, where the completed event is not being hit, it is just AFTER the other events have been completed.
I was impressed by the SL out of the browser, right click on the app in the browser and install, it copies the xbap to the local drive and it look good without the browser visual overhead.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I have two comboboxes on my view. One is for categories,and one is for subcategories belonging to categories.
So the data might look like this:
Category-
Fruit
Vegetable
SubCategory-
Apple
Orange
Carrot
So what I want is the second combobox to display only carrot when the user chooses vegetable, and apple, etc when they choose fruit.
The relationships are set up in the database and my only issue is the event driven binding. When the window loads the view model I load the categories, but not the subcategories because I don't know which ones to load until the user selects a record from a listview.
So my question is twofold:
1. From the view how do I trigger the databinding of the subcategory combobox in the event that the listbox item is changed.
2. From the view how do I trigger the databinding of the subcategory combobox in the event that the category combobox selecteditem is changed.
This is the datasource for the subcategory combobox.
public ObservableCollection<Defect> AllSubCategories { get; private set; }
private void CreateAllSubCategories(int categoryId)
{
var query = _dc.subCategories.Where(subcategory => subcategory.categoryId == categoryId);
var allDefects = query.ToList();
AllSubCategories = new ObservableCollection<SubCategory>(allSubCategories);
}
Cheers, --EA
|
|
|
|
|
This[^] thread how we can achieve this using Element binding and the selectedvalue.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Thanks for the link, it was not exactly what I was looking for but it did lead me to a lot of interesting reading. As it turns out, all I really needed to do was invoke the OnPropertyChanged event for my Subcategory Observeable collection to update the UI after updating the Category observeablecollection selected item.
Cheers, --EA
|
|
|
|
|
i am mca fresher student please give information about silverlight in asp.net
|
|
|
|
|
Buy a book, read some articles, read some white papers, bloody hell do some research. With that attitude (ask someone to spoon feed you) I suggest a change of career/study.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It's a client-side web application, much like Flash.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
The answer is in this[^] thread.
|
|
|
|
|
You can always check out www.msdn.com.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi
I am using SilverLight. I want to run/execute an exe on server with passing some commandLine when user click on a button.
Please help.
Thanks in advance
|
|
|
|
|
You can try this blog entry (google is your friend):
http://www.xdevsoftware.com/blog/post/Run-Server-Side-Code-from-Silverlight-objects.aspx[^]
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Hi
I am working on silverlight
I have binded a list box with ItemsSource="{Binding LstStrings, Mode=OneWay}" and inside that I have a button for downloading file from server. Now in binding I have a path of file for download. Please help me how to Implement when user click on download button it start download the file from binding path corresponding in the list from the server.
Thanks
|
|
|
|
|
Use the WebClient class to download the file.
See here[^].
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|