Click here to Skip to main content
15,897,518 members
Home / Discussions / WPF
   

WPF

 
QuestionMaintain TextBox selection despite window loosing focus? Pin
FocusedWolf23-Oct-10 11:49
FocusedWolf23-Oct-10 11:49 
AnswerRe: Maintain TextBox selection despite window loosing focus? Pin
Abhinav S23-Oct-10 17:28
Abhinav S23-Oct-10 17:28 
GeneralRe: Maintain TextBox selection despite window loosing focus? [modified] Pin
FocusedWolf23-Oct-10 19:45
FocusedWolf23-Oct-10 19:45 
GeneralRe: Maintain TextBox selection despite window loosing focus? Pin
Abhinav S23-Oct-10 22:32
Abhinav S23-Oct-10 22:32 
GeneralRe: Maintain TextBox selection despite window loosing focus? Pin
Pete O'Hanlon25-Oct-10 5:12
mvePete O'Hanlon25-Oct-10 5:12 
GeneralRe: Maintain TextBox selection despite window loosing focus? [modified] Pin
FocusedWolf26-Oct-10 11:26
FocusedWolf26-Oct-10 11:26 
QuestionWPF TreeView MultiBinding Pin
Valentine Vlasov23-Oct-10 6:47
Valentine Vlasov23-Oct-10 6:47 
QuestionHow can I load gridview using ria service in MVVM ? Pin
kimo code23-Oct-10 3:06
kimo code23-Oct-10 3:06 
hi all i'm new in silverlight ,mvvm,ris services

all what i need a simple example to fill datagrid with MVVM pattern and using ria services

here is my steps and may be i miss any step

note :i just have a one page include datagrid i want to show data on it from employee table in adveture work databas

1-add my entity framework

2-add ria services domain services1

3-in the silverligh project i make a folder name in viewmodel

4-and add a c# class called ViewModelBase

here is the implementation for this class



public event PropertyChangedEventHandler PropertyChanged;

public void RaisePropertyChanged(string propertyName)

{

if (PropertyChanged != null)

{

PropertyChanged(this, new PropertyChangedEventArgs(propertyName));

}

}

5-in the construcor of this above class i call the DomainService1 "RIA service "

6-in the same class i make a property to get the all emplyee to show it in the gridview



private ObservableCollection<employee1> _employees;

public ObservableCollection<employee1> Employees

{

get

{

return _employees;

}

set

{

_employees = value;

RaisePropertyChanged("Employees");

}

}

thats all what i miss ???????????????????

the datagrid dont display any data

please answerd me thanks alot for any help
Kimo Code

QuestionOpion Poll: Pin
ProtoBytes22-Oct-10 11:05
ProtoBytes22-Oct-10 11:05 
QuestionHas any one seen a good video series on the complete proess of going from SketchFlow ProtoType -> Application? Pin
ProtoBytes22-Oct-10 11:02
ProtoBytes22-Oct-10 11:02 
QuestionI should know the answer to this question, how do you create writeablebitmap images in WPF / Silverlight 4 Pin
ProtoBytes22-Oct-10 10:57
ProtoBytes22-Oct-10 10:57 
QuestionI am using Blend Studio 4 - Designer, where is the GPU acceleration? Pin
ProtoBytes22-Oct-10 10:45
ProtoBytes22-Oct-10 10:45 
QuestionSilver Light / WPF .NET 4.0 Pin
ProtoBytes22-Oct-10 10:38
ProtoBytes22-Oct-10 10:38 
QuestionHow using dataform and WCF Pin
Coban_22-Oct-10 2:56
Coban_22-Oct-10 2:56 
AnswerRe: How using dataform and WCF Pin
Abhinav S23-Oct-10 17:57
Abhinav S23-Oct-10 17:57 
QuestionProblem consuming a WCF service + Silverlight 4 Pin
CrafterIt22-Oct-10 2:01
CrafterIt22-Oct-10 2:01 
AnswerRe: Problem consuming a WCF service + Silverlight 4 Pin
SledgeHammer0122-Oct-10 6:41
SledgeHammer0122-Oct-10 6:41 
GeneralRe: Problem consuming a WCF service + Silverlight 4 Pin
CrafterIt26-Oct-10 3:17
CrafterIt26-Oct-10 3:17 
QuestionAssign Datagrid Value From Child Web Page To A Textbox In Parent Webform by silverlight Pin
ya_yayeeh21-Oct-10 22:44
ya_yayeeh21-Oct-10 22:44 
QuestionRowDetailsTemplate - Can't Edit Data [modified] Pin
eddieangel21-Oct-10 14:27
eddieangel21-Oct-10 14:27 
QuestionGridView displaying 2 columns with custom controls Pin
Gareth H20-Oct-10 3:03
Gareth H20-Oct-10 3:03 
AnswerRe: GridView displaying 2 columns with custom controls Pin
Gareth H20-Oct-10 23:08
Gareth H20-Oct-10 23:08 
AnswerRe: GridView displaying 2 columns with custom controls Pin
Gareth H21-Oct-10 6:12
Gareth H21-Oct-10 6:12 
QuestionHow to check if i'm in run-time or design time ? Pin
Yanshof20-Oct-10 3:03
Yanshof20-Oct-10 3:03 
AnswerRe: How to check if i'm in run-time or design time ? Pin
Gareth H20-Oct-10 3:53
Gareth H20-Oct-10 3:53 

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.