I'm trying to create an ASP.NET/C# page that allows the user to edit a table of data, add rows to it, and save the data back to the database. For the table of data, I'm using a DataGrid whose cells contain TextBoxes or CheckBoxes. I have a button for adding rows (which works) and a button for saving the data. However, I'm quite stuck on ...
Hey, recently I started working on a webpage that has a datagrid. I understand how to add datasources and that sort of thing, or at least I am starting to get it. But my question is about manipulating individual rows or cells. Is that only possible during the databind event handler, that is the only place I have been able to do it so far...
i have a datagrid. which display some values which is already inserted and that is fetched from database.but from the datagrid i need to insert the values to database. how to find in which row a new record get inserted and to pass all the values to database
any idea???
How to get the row before last row index or any identification..
...
Hi,
I am having a DataGrid in one usercontrol which is getting filled with some data when I press some button(ouside it). This Datagrid is filled by one linkbutton also. When I click this LinkButton then OnItemCommand or SelectedIndexChanged should fire, but both the events are not firng. While the control's PageLoad event is firing.
P...
hi... I have a datagrid with some data in three datacolumns. I have to apply sorting to two of the datacolumns. Is it possible without any datasource.... I will be more thankful if I could get the solution asap... pls help.... thanx :-)
...
I have an application that can dynamically load data into a DataGrid. What's needed is an object of IEnumerable<IDictionary>, and a List<Dictionary<string,object>> is supplied (each Dictionary in the list has exactly the same keys).
The data is loaded into the DataGrid and shown, but now I want to retrieve the data the user has clicked ...
Hello,
I'm following flex tutorials but i'm not doing exactly as they do, so :
What i want
I have an input text, with a button 'search'.
I want when this button is clicked that the data returned by the function search are displayed in the datagrid.
What i have :
The text input :
<s:TextInput includeIn="DetailServeurs" x="58" y="3...
I have a bool field in a cell of a datagrid. What I want to do is to color the row with red for true and green for false.
How can I do this with the C# Datagrid?
...
Boy did I get an education looking into this. I guess I've been spoiled by Powerbuilder, which has fantastic functionality for this out of the box.
Does anyone seriously write custom documentpaginator objects to handle reporting needs for their LOB apps? I want to be able to print "for free" and not have to code like crazy just to tak...
Ive noticed this a couple of times when using menus with commands, they are not very dynamic, check this out. I am creating a menu from a collection of colours, I use it to colour a column in a datagrid. Anyway when i first bring up the menu (its a context menu) the command parameter binding happens and it binds to the column that the co...
i have this code
<mx:DataGrid id="tempListDG" itemDoubleClick="doubleClickHandler(event)" width="100%" height="100%" rowHeight="110"
draggableColumns="false" sortableColumns="false" allowMultipleSelection="false">
<mx:columns>
<mx:DataGridColumn id="chkSel" headerText=" " width="15" sortable="fa...
I am using wpf data grid which has template columns.
i just want to give facility of zoom in/out to users.
any way to achieve this?
...
Ok this is driving me mad, I feel like a total Newbie.
I'm using WPF's DataGrid control from WPF Toolkit with .NET 3.5.
Link on Codeplex here
I want an equivalent to the classic GridView's RowDataBound event, and I can't find any. I tried working with LoadingRow, but it fires every time I scroll.
I'm trying to change the background co...
Hello
I've a grid in my winforms application and i bind a huge dataset to the grid. Will the dataset be stored in the memory by the grid after calling DataBind(). How does it operate on the data binded to the grid?
Update
I wrote the following code
DataTable dt = new DataTable();
using (SqlConnection con = new SqlConnection("...
I am using a data grid and has bound a data source with it.
I am trying to get the total number of records in the grid in overriden InitializePager method from pagedDataSource DataSourceCount.
I thought DataSourceCount returns number of records from SelectCountMethod of ObjectDataSource, but DataSourceCount is giving me the page size...
Hi, after some google around, I just figured out that there is no one that is using 100% MvvM pattern to get the ToolKit DataGrid events !
Is that impossible or what ? I see too much people using the code-behind...
How can I get the SelectedRow or dblClick events using mvvm ?
cheers
...
I'm using MVVM in a Silverlight application. So I use a PagedCollectionView as property of my View Model to bind it to a DataGrid ItemSource. But I have this requirement: "all groups in the Grid should be collapse when the user control is loaded.". As I'm using a Page collection View I used this code:
this.PinesView = new PagedColl...
I have a datagrid whose itemsSource is bound to a multiconverter which uses a converter.
<toolkit:DataGrid AutoGenerateColumns="False">
<toolkit:DataGrid.ItemsSource>
<MultiBinding Converter="{StaticResource ProfileConverter}">
<Binding ElementName="ComboBoxProfiles" Path="SelectedValue" />
...
I have wpf datagrid with number of template columns. some of them have textbox in them in edit mode and some combobox.
i need to give cut/copy/paste facility to user from main menu (ribbon) buttons of my application.
when i select some text from textbox and press copy button from main menu. copy button becomes active control so i loo...
Here is the problem:
I have datagrid binded with data acquired from web service which, as you may suspect, retrieves data from some db. Datagrid has some editable columns and I want to update db through appropriate web service call without adding button "Update" as a last column in datagrid.
How can I do this? Is there any event which...