Hi, I think if u are assigning a Observable collection to a datagrid, & the binding are 2 way mode then changes done on any object will be reflected on both. so need the cell value. its like this ObservableCollection s = new ObservableCollectio(); datagrid1.ItemSource = s; s[0].Columnname 0 will be the row, in this way u can access the cell value. Regads, Satish Pai
Satish Pai
Posts
-
how can i get cell value from wpf datagrid? -
jagged array error messageHi, You have the answer. It is what you have said. We need to specify the array size. Regards, Satish Pai
-
how to close wpf window if i click outside the wpf windowHi, Does the Window has a MDI form or such ?
-
Auto Pilot script in C#Hi, Use a flag variables such as Boolean type. If the Register button is already clicked then, our boolean will have a true value saying this is already registered. & it won't execute the code again. Regards, Satish
-
Opening context menu just above item in win 8 metro appDear friend, Better way is use a context menu for the list & click on the list. Onn click event of the list ContextMenuService.GetContextMenu(listname).IsOpen = true; List_MouseRightButtonDown e.Handled = true; Hope this may help u Regards, Satish
-
User must not be able to open same site again in other browser or tabHello Experts, I want the user to use the address only once in the browser. For ex - if www.Xtree.com is the website name, then the user uses it in the address bar & it loads the page.Now if the user opens the page again in another tab of the browser it must throw Message that is already been used. This applies even if he browses it with other browser.. Please help me with this... Regards, Satish
-
AgDataGrid Date column for Custom Date format [modified]Hi everyone, I am using Silverlight to create DashBoard. In one of my Dashboard i am using AgDataGrid(DevExpress.AgDataGrid) where it has datecolumn. <grid:AgDataGridDateColumn FieldName="fldSODate" HeaderContent="Sales Order Date" PrepareCellDisplayElement="AgDataGridDateColumn_PrepareCellDisplayElement" > grid:AgDataGridDateColumn.CellDisplayTemplate <DataTemplate> <TextBlock Text="{Binding CellValue, Converter={StaticResource DateConverter}, ConverterParameter=D}" /> </DataTemplate> </grid:AgDataGridDateColumn.CellDisplayTemplate> </grid:AgDataGridDateColumn> </grid:AgDataGrid.Columns> i have done the above thing but still this is not working when i view the grid. The reason to use this AgDataGrid for Grouping purpose. Please help me .
modified on Thursday, March 4, 2010 11:33 PM
-
Genericsya i saw your Program sir. now i understood thank u very much :)
-
Genericshi sir, Thank u that u replied soon sir But what happens in Memory. List is of Object type & if i specify Int is of Value type. Then what exactly happens ? Thank u once again
-
GenericsHi Friends I would i like question u all abt Generics. I have read abt Generics but there is a doubt & i would i like to question u using simple program. public class Student<T> { private string name = "satish"; private Int16 RollNo = 12; public void displayStudent() { Console.WriteLine(name); Console.WriteLine(RollNo); Console.ReadLine(); } } class Program { static void Main(string[] args) { Student<int> s1 = new Student<int>(); s1.displayStudent(); } } If i am right then the above Student class is called Generic class. What is the use of creating a class like this if we are using a method & we are just specifying the Type in angle bracket. so Please help me :)
-
DirectUIHWNDHi Is there any way to replace DirectUIHWND Class of a Window by Usercontrol. Please help
-
left paneNo i am talking abt Window, Like if u open a Drive it should have Left pane Just has same in M-Files.
-
left paneHi Experts, Can anybody tell me how can i add left pane in Windows. The left pane should be my usercontrol. You can take this example http://i.d.com.com/i/dl/media/dlimage/14/91/06/149106_large.jpeg[^]
-
Add myuserControl to WindowThank u But i need to insert a usercontrol just has they have done for M-files. u can see this http://i.d.com.com/i/dl/media/dlimage/14/91/06/149106_large.jpeg[^]
-
Add myuserControl to WindowHi Experts, I would like to add a usercontrol to Window.ie to Operating systems Window. when ever i open a MyComputer or MyDocuments, Mine usercontrol should be displayed on it Thanks
-
openfiledilaogNamaste Bill Ji, My problem is, i have customized open file dialag by adding some picture box & it works fine in my application.Now i would like to implement it in my Operating System. that is if i open notepad Or Mspaint when i click on File->open menu then it should show my open file dialog . Thanks
-
openfiledilaogHi, I have customized my openfiledilaog. & i would like to replace it with windows OS standard openfiledialog.
-
VC++Hi Experts I want to Create a Virtual Dive same as M-files (http://www.m-files.com/eng/res/flashoverview/intro.swf[^]) My problem is i am new to this Hooking,Win32 Projects etc . I would like to know how can i get my Window when i go to my virtual Drive & that window has my usercontrol Thanks
-
VC++ win32 projectsthank very much
-
VC++ win32 projectsHi sir, When i Explore it or i go to the Drive thru Open File dilog or double click on the Drive(Virtual Drive) i want mine own window with mine own Properties . Just as M-Files. Help me Sir...