| Thread | Last Post | Replies |
|
| LinkButton works but PushButton does not | 20 Apr 2004 18:56 GMT | 3 |
I have a datagrid with a LinkButton. When user clicks the hyperlink, the ItemCommand event handler gets callled. I used Property Builder to change the Button Type to ButtonCommand, and refreshed the we page. Clicking the button does not fire the ItemCommand handler.
|
| how to set datagrid column width ? | 20 Apr 2004 17:29 GMT | 2 |
why this doesn't work ? Dim c1 As New System.Web.UI.WebControls.BoundColumn c1.HeaderText = "ID" c1.DataField = "customerid"
|
| DataGrid does not display? | 19 Apr 2004 21:59 GMT | 1 |
I placed a datagrid on my webform, set the datasource to a datareader, and bound the reader to the datagrid. However, my datagrid does not display. Here is my code from the Page_Load method: ====================================
|
| Keeping DataGrid Columns through Postback | 19 Apr 2004 17:52 GMT | 3 |
I have a Datagrid that has programmatically added columns, as well as columns added through the VS.NET DataGrid Control Editor. Everything is fine the first time around when the page loads, but when I do a postback, the columns that I programmatically added disappear. The columns ...
|
| style-attribute problem | 19 Apr 2004 16:42 GMT | 1 |
I'm wondering if there's a way to get the style-attribute removed from the <table>-tag that is generated from the DataGrid control. -------------------------------- /Hannah Stelling
|
| recover value from datagrid w/template columns | 19 Apr 2004 15:48 GMT | 2 |
Hi, a time before i have asked about how to recover a sigle field value when editing a row in a datagrid. you answer me that i can use the datakey property, but this property only can store a sigle field, can anybody tellme how is the better solution for
|
| Accessing the value of a cell in a datagrid | 19 Apr 2004 15:19 GMT | 1 |
I've been researching in how to do this for 3 days now. I'm displaying a datagrid, DATAGRID1, that has for instance 3 columns and 5 rows. The column headers are Employee, Day1, and Day2. Each column may or may not have string data in them. ------DATAGRID1-----------------
|
| Editing a datagrid nested within another datagrid | 19 Apr 2004 15:18 GMT | 2 |
I am trying to nest three datagrids within one larger grid, showing who is working in each unit for each given shift. The final layout looks kinda like this. ==================================================================
|
| multiple data items in each column | 18 Apr 2004 21:59 GMT | 2 |
How can I display more than one field in a column of a datagrid? i.e. doing this with old asp and looping thru a recordset it would be something like: <table>
|
| datagrid - dropdownlist - checkbox problem | 17 Apr 2004 12:18 GMT | 2 |
Dear ASP.NET Programmers, I have the following problem. I have a datagrid (ID: grdAllActions). This datagrid has two template columns: one column with the dropdownlist control (ID: ddlPS) and another with a checkbox control (ID: cbPS). My goal is to
|
| System.InvalidCastException: Specified cast is not valid. error when updating datagrid | 16 Apr 2004 07:27 GMT | 1 |
I am trying to update a record using a data grid. I Have a footer column in my data grid that allows users to add a new record. However, I am unable to update any record. I am getting the following error:
|
| DataFormatString on boundcolumn not working | 16 Apr 2004 07:14 GMT | 1 |
Why doesn't the following code display a ten-digit number in the format 123-456-7890? How can I format a ten-digit number as a telephone number? <asp:BoundColumn DataFormatString="{0:###-###-####}"
|
| Swapping columns in a DataGrid | 16 Apr 2004 02:03 GMT | 1 |
The DataGrid.Bind() below works fine as is. Now, I want to swap the 1st and 2nd columns of the DataGrid (see the commented out section): DataSet ds = new DataSet(); ds.Tables.Add(this.GetTable(dr));
|
| UpdateCommand not seeing value | 15 Apr 2004 22:17 GMT | 1 |
I've used the datagrid to update data quite extensively without a problem. However, I've run into a situation where it isn't working and either I'm missing something terribly obvious or there is some sort of bug causing it not to work.
|
| resize textbox | 15 Apr 2004 17:02 GMT | 2 |
how can i resize the textbox control in a datagrid thanks
|