I came accross an issue a few days ago which I'd completely forgotten about, and noticed it wasn't mentioned on SO.
In an ASP.Net document, a datagrid was created dynamically as part of a business intellgience tool. The data format string was being set in the code behind, but was not being shown correctly on the rendered page.
As it t...
I have a custom ASPX search page for a CRM 4.0 solution I am working on. I want to be able to clear out the asp.net datagrid I have on the search page. Right now if a person does a search it returns the results in the datagrid but if they do another search and there are no results for the new search the old search results are still in ...
I am using Xceed's Datagrid, bound to a dataset. I want to update the database when the datagrid's RowEditEnd is called. The problem is that in order to avoid concurrency violations when updating, I have to clear the dataset after update and refill it, like this:
public void UpdateDatabaseFromDataSet()
{
adapter.Update(exampleDataSe...
My form looks like this with a DataGridView:
http://sites.google.com/site/shadchanproject/Home/Untitled.jpg?attredirects=0
I would like to make it look more professional. Can someone recommend a "makeover" for it? Perhaps there is a more attractive way to display this data.
...
I've got a silverlight 2 app with a Datagrid and a button for exporting it to Excel by making a trip back to the server.
I can create an HTML string representing the datagrid. I'd like to attach this string to an html element, setting MIME type=application/vnd.ms-excel and have a prompt show up asking if I'd like to open or save the xl...
I have an AutoCompleteBox inside the CellEditingTemplate for a DataGridTemplateColumn and I am trying to auto-focus on it after a certain number of characters have been entered in a previous column.
I have been able to get the focus to shift and the caret to set appropriately using the BeginInvoke method (described here) but only if the...
Hi,
I think I am stupid. I searched now for 15 minutes, and found several different solutions for scrolling on datagrids, but none seems to work for me.
I am using WPF with .NET 3.5 and the WPF Toolkit DataGrid. My grid gets updated when my observable collection changes, works perfectly. Now, my DataGrid is located inside a normal Grid ...
Hello there! I'm hoping that one of your WPF/DataGrid/Binding gurus can help me out here. I've done a bunch of searching on the subject and while datagrid binding tutorials and tips are plentiful (and I feel like I've read every single one of them), I'm still stumped on this piece.
My setup is this: I have an application that has a b...
Hi,
Has anybody been successful or can find an example of using nested grids in the WPF 3.5 SP1 toolkit Datagrid? Does anybody know if this is even supported? Thanks.
...
Hi I wanted to ask if there is a possibility to have both strings and radiobuttons in one column depending on the value of another column perhaps
|column1 | column 2 |
|r | radiobutton|
|s | string |
If there is an r in column 1 in column2 should appear a radiobutton, otherwise column 2 just shows a string.
Thanks ...
I have an issue similar to the following post:
http://stackoverflow.com/questions/983272/silverlight-datagridtextcolumn-binding-visibility
I need to have a Column within a Silverlight DataGrid be visibile/collapsed based on a value within a ViewModel. To accomplish this I am attempting to Bind the Visibility property to a ViewModel. ...
Hello,
I’m relatively new to ASP.NET and SQL, so what I’m asking maybe a simple question for some, but not for me. What I have is a Grid View that I’m trying to populate softball hitting statistics with. In it I’ve stacked statistics yearly statistics on top of career totals at the very bottom of it. I’ve accomplished this by doing a...
I'm having problems trying to adjust the width of a column of a datagrid. I used the answer posted here, but I can't solve it.
I'm using a List of objects as a datasource. In this simple example, I have just created a smart device application, and just added a datagrid. Then my code is this one:
public Form1()
{
...
I am making a RIA application using silverlight and web services the method of a web service returns a DataSet (a classic asp.net dataset which is find in system.data) . Now my problem is:
How to bind a DataGrid of Silverlight with that Dataset which is returned by the Web service
If i am going wrong way do correct me.
If i am right t...
HI,
I have a datagrid with 6 columns, each with its own item renderer. In the first column i want to be able do a check and see if the column contains some valid data, if not then i want to skip this row and go to the next. In other words i want a way to tell my datagrid to stop processing the rest of the item renderers for the current ...
Hi,
Does anyone know how to set the Corner-Color of a WPF Toolkit DataGrids Scrollbar?
It would be nice if the upper Corner would use the same Style as the ColumnHeaderStyle and the lower Corner would be transparent.
Image
Thanks in advance!
...
I have a WPF toolkit DataGrid as the dropdown in a ComboBox template.
<toolkit:DataGrid x:Name="InnerGrid"
ItemsSource="{TemplateBinding ItemsSource}"
CanUserReorderColumns="False" CanUserResizeColumns="True"
CanUserSortColumns="False" CanUserResizeRows="False"
A...
How to make a column in WPFToolkit:DataGrid PasswordBox like?
...
I got a DataGrid with 6 column, each column is a RadioButton so that user can select 1 in 6 option. There are about 100 row. I make a custom class with 6 bool datamember, then bind the datagrid with a list of about 100 custom class object. There are 2 problem:
The binding time is very slow
When I scroll the data grid, sometime the chec...
I've retemplated the DataGridRow in the Microsoft WPF DataGrid to the below, the problem I'm having is if the user clicks on the border elements of the template the Row(s) don't get selected. Is there a way to make the click on the border cause a row selection.
<Grid x:Name="LayoutRoot" Margin="0,0,0,-1">
<Border x:Name="DGR_Bor...