Click here to Skip to main content
15,891,951 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0115-May-13 6:57
SledgeHammer0115-May-13 6:57 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-May-13 7:54
professionalKevin Marois15-May-13 7:54 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0115-May-13 8:41
SledgeHammer0115-May-13 8:41 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-May-13 9:00
professionalKevin Marois15-May-13 9:00 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois20-May-13 14:00
professionalKevin Marois20-May-13 14:00 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0120-May-13 16:16
SledgeHammer0120-May-13 16:16 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-Jun-13 10:37
professionalKevin Marois15-Jun-13 10:37 
Questionweb services Pin
picasso212-May-13 12:54
picasso212-May-13 12:54 
Hello Listeners,
Working on a silverlight application. The data that needs to be returned is very small (1-4 rows)
My domainservice includes following code to populate a datagrid

public IQueryable<products> GetProductsFiltered(int vendorId)

{
return this.ObjectContext.Products.Where(P => P.VendId == vendorId);

}

When the correct value is provided via a “GetProductsFilteredQuery(2)”, the server returns the data and datagird is properly populated.

Now I need to return data based on a column named SiteID so I added another method
public IQueryable<products> GetProductsFilteredSite(int siteId)

{
return this.ObjectContext.Products.Where(P => P.SiteID == siteId);

}
And call it by something like this “GetProductsFilterSiteQuery(5)” . Compiles fine but but error is generated when running the application:
“Local operation failed for query “ GetProductsFilterSite”. The remote server returned an error: NotFound”.

Run the query manually –OK
Fiddler also logs an 504 error “ReadResponse() failed: The server did not return a response for this request.”
But also shows a valid argument passed to GetProductsFilterSiteQuery() method
Any idea is greatly appreciated
AnswerRe: web services Pin
Abhinav S12-May-13 18:29
Abhinav S12-May-13 18:29 
GeneralRe: web services Pin
picasso212-May-13 20:21
picasso212-May-13 20:21 
QuestionHow to acheive the given layout in Silverlight? Pin
New Coder1239-May-13 22:55
New Coder1239-May-13 22:55 
AnswerRe: How to acheive the given layout in Silverlight? Pin
Abhinav S12-May-13 7:47
Abhinav S12-May-13 7:47 
QuestionSL application does not works-nothing change Pin
picasso28-May-13 18:48
picasso28-May-13 18:48 
AnswerRe: SL application does not works-nothing change Pin
Abhinav S12-May-13 7:45
Abhinav S12-May-13 7:45 
QuestionBinding issues with Treeview C# WPF Pin
bartbartb2-May-13 11:41
bartbartb2-May-13 11:41 
AnswerRe: Binding issues with Treeview C# WPF Pin
Kenneth Haugland3-May-13 2:22
mvaKenneth Haugland3-May-13 2:22 
AnswerRe: Binding issues with Treeview C# WPF Pin
Mycroft Holmes9-May-13 12:23
professionalMycroft Holmes9-May-13 12:23 
QuestionVisualTreeHelper.HitTest / RectangleGeometry not working... Pin
SledgeHammer012-May-13 7:26
SledgeHammer012-May-13 7:26 
AnswerRe: VisualTreeHelper.HitTest / RectangleGeometry not working... Pin
Kenneth Haugland2-May-13 7:38
mvaKenneth Haugland2-May-13 7:38 
QuestionTab Closing Problem Pin
Kevin Marois1-May-13 20:14
professionalKevin Marois1-May-13 20:14 
AnswerRe: Tab Closing Problem Pin
AlphaDeltaTheta3-May-13 4:49
AlphaDeltaTheta3-May-13 4:49 
QuestionAsynchronous Call Using MVVM Pin
jonkjon29-Apr-13 10:21
jonkjon29-Apr-13 10:21 
AnswerRe: Asynchronous Call Using MVVM Pin
SledgeHammer0129-Apr-13 10:32
SledgeHammer0129-Apr-13 10:32 
GeneralRe: Asynchronous Call Using MVVM Pin
jonkjon29-Apr-13 10:48
jonkjon29-Apr-13 10:48 
Questionwin32 window as c# wpf control Pin
mkusnjer29-Apr-13 8:58
mkusnjer29-Apr-13 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.