I'm trying selecting multiple check edit boxes when added as a repository item in a grid control, but at the moment it only allows me to select one at a time. So far I've seen that one need to unbound the checkedit's. But I don't know how to do this.
Does anyone have good examples or links of how I can get this working.
Because what I need to do is select certain option in the beginning of a process and then late display the exact same selections but still with the unselected ones
Thanks
The functionality you are asking about is the default one for XtraGrid, DXGrid (WPF). I believe that you are using XtraGrid and do not understand the problem you ran into. Everything should work properly and should not require additional adjustments. Could you please explain the problem in greater details. If the XtraGrid does not allow the end-user to edit its data, we need to know which DataSource you are using.
Related
i have a Listview with big ListViewItems. I can show two items at the most and if the user wants to see more he has to scroll/swipe. However, this is a rare case.
The problem is, the user has no hint if there are more items and has to swipe for trial. I wonder if there is a best practice to indicate that there is more (hidden) content. My first simple approach would be a Textbox and show it if the ObservableCollection consists of more than two items but i doubt that this is the best way to do it.
What would be your approach?
Regards,
Nils
My question might be little strange but I am new to web - based programming. In windows based application, if I need to let the user to edit and view the table then I am using the datagrid. In web - based, there is GridView but it is read only tool. I want to see if there is any tool like this in asp.net. Can you please help?
Thanks
Have a look on the ListView control, basically, It lets you specify methods to show, update, edit and delete records from your datasource.
There are a lot of examples for it. Here's a nice article
If you want your end users to have a little bit better experience then you should consider the alternative to use a javascript based grid, which is a more modern way to build a grid. Then everything executes smoothly in the web browser without the need to post back and reload the page, and the server will only be called when it's really necessary (loading data, saving data) but not when you change a row when it´s being edited, or if you do incremental searches.
My favorite is the Slickgrid. And here is a cool Slickgrid example with Async post rendering.
If you choose the server control way (ListView etc) you will have a lot of postbacks every time you sort, change editing mode in cell or edit data.
Look at this question if you want some more examples of javascript grids.
I got the requirement to implement this excel-like feature in the existing xamDataGrid in the application. For those who don't know what it is, they want to drag a cell (using rclick) and by doing so copy original cell value across the selected cells. Before I start digging in the code, maybe I can save myself some trouble.
Is the feature maybe available "out-of-the-box" for xamDataGrid? I couldn't find anything in docs or the web, but maybe I searched wrong.
If not, any recommendation on how this would be doable by custom code.
I am still rather new to xamDataGrid object model and requirement is rather urgent.
Drag fill behavior for the XamDataGrid would be a feature request as it isn't built into the control. For this you should reach out to Infragistics through either the forums or a support case. You can find links to each from the get help page:
http://www.infragistics.com/support/get-help.aspx
I've got a table from an existing LabView VI (ewww!) that I need to replicate in C#. The table is shown in the image below. Each field will be populated with data returned by status queries to an external device, likely from within a dedicated status thread (when I implement it...). Is there any control, or direction I should take when extending an existing control for the table-like display of my query results? DataGridView seems like overkill for this, but the table layout container populated with TextBox controls seems inelegant. I'd like some insight, if anyone can offer it. Also, please feel free to shut me down if this has been asked already (though my search turned up nothing I could relate to...). Thanks.
DataGridView is the only suitable control here. Anything else either doesn't have enough grid editing capabilities (like ListView) or is fugly-slow like individual controls in a TLP.
Do you have any idea how to present all rows from let's say table with the possibility to click on particular row and open that way another window to edit?
I've got no idea how to create this. I would like to avoid access like creation by built-in wizards in Microsoft Visual Studio 2008.
Perhaps you know where I can find more information.
Execute a query which retrieves an overview of the records that you want to display.
When you double-click a row, you retrieve the records that represent that entity, and display it in another window...
That's in a nutshell how you could do it.
For a web application you may want to look at this Walkthrough as MSDN. You can find a winform walkthrough at MSDN as well. Though you say that you prefer doing it without the designers, I suggest that you go through the walkthrough using the designer and look at the code that it produces as a sample of how you could do it by hand. You could then adapt the example as needed for your purposes. For more references try googling "master detail view."
well i would use wpf with a stackpanel of listboxes
the rows are dynamically added to the stackpanel.
the listboxes contain textfields that are databind -ed to mouseclickevents and onchanged events.
http://dotnetslackers.com/articles/silverlight/WPFTutorial.aspx