| Thread | Last Post | Replies |
|
| GridView does not show updated Records | 26 Nov 2006 19:49 GMT | 3 |
This should be dirt simple... but clearly I am missing something. I have a GridView on an ASP Page. There are 5 fields on the page (2 of which can be updated), the user clicks edit, they go into edit mode, the user changes the data clicks updated... their old data is still
|
| Persistence DataGrid | 26 Nov 2006 08:42 GMT | 1 |
I have a C# .NET 1.1 Winforms application. My users can customize its datagrids: change column width, height, font, colors etc. I want that DataGrid automatically saves and restores changed settings
|
| Auto Scroll DataGrid? | 24 Nov 2006 11:26 GMT | 1 |
i have a datagrid within div tags. the datagrid displays details about appointments past and present for current calendar month ordered by date. (worst case - a couple of hundred rows) The datagrid scrolls properly to show the rows that aren't on screen but i would also like to
|
| Formatting result from a database query | 22 Nov 2006 14:44 GMT | 1 |
From my database query I get the following: Text Number Albert 12 Albert 14
|
| Determine Cell Index from Column Name | 21 Nov 2006 15:41 GMT | 3 |
I have a gridview and I call RowDataBound to change the backcolor of a cell in the Status colomn based on the contents of a field. I do that below by specifying the column's index by number (4 on my grid) -- but I'd like to specify it by using the column's name ("Status" in my ...
|
| Hiding a column | 20 Nov 2006 06:02 GMT | 2 |
I do my updating in the code-behind (long story). I need an ID field in my DtatGrid to pass to my Stored Proceedure but I do not want that column to show up on the screen. If I set the GridView column to Visible="false" then in the code behind when I need to retrieve the ID the ...
|
| Alert to confirm deletes in the new GridView control | 20 Nov 2006 03:48 GMT | 2 |
I want to have an alert to confirm deletes in the GridView. I have seen posting for doing it in DataGrid but I can not get it to work in the new GridView. I tried in GridView1_RowCommand I tried something like: ((LinkButton)GridView1.SelectedRow.FindControl("lbDelete")).Attributes ...
|
| Which button was clicked and on which row? | 17 Nov 2006 16:46 GMT | 1 |
I have GridView with several text columns and 2 buttons. How do I determine which button on which row was clicked. I am able to detect a button clicked if I set the CommandText to "Select". All I have to do is write an event handler for the SelectedIndexChanged
|
| RowCancelingEdit and RowEditing take two mouse-clicks to work? | 17 Nov 2006 01:21 GMT | 3 |
I have a simple GridView. I need to do the Select and Edit in the code behind because I have to change schema prefix in the sql statement depending on the current user. I have the data grid and I have event handlers for edit and cancel but an
|
| how to get selectedvalue of radiobuttonlist in Javascript? | 12 Nov 2006 15:51 GMT | 5 |
I need the SelectedValue of a radiobuttonlist in a Javascript variable. The radiobuttonlist is only used in a form for inputting data into a database. Before sending it to the database, i check the inputted values in Javascript.
|
| Sorting with datasource ArrayList | 10 Nov 2006 22:07 GMT | 1 |
I have a GridView control where my datasource is an ArrayList, I would like to be able to sort the grid, therefore I set the AllowSorting to true, so far so good. The ArrayList consist of a collection of Customer-objects, where the "Title" (a string) is the name of the Customer.
|
| styling Columns when using AutoGenerateColumns | 09 Nov 2006 16:23 GMT | 5 |
i have an extended Datagrid class, it does nice automatic things like providing an excel export feature, sorting, paging etc. i would like it to automatically right-align any numeric columns, but i have run into a problem where the 'DataGrid.Columns' collection is empty when the
|
| Programmatically cancel an update | 07 Nov 2006 03:41 GMT | 1 |
Hi -- I have two gridviews -- one dependent on the other (ehen I select from GridView1 then GridView2 populates). Scenario:
|
| Populate a drop down list with a blank entry | 06 Nov 2006 09:36 GMT | 4 |
How can I populate a drop down list with a blank entry so that it is the first item in the list? I tried: ddl.Items.Add(New ListItem(" ", 0))
|