| Thread | Last Post | Replies |
|
| DropDownList in DataGrid EditItemTemplate Return Error | 28 Nov 2003 15:55 GMT | 2 |
I have a dropdown list in the edititem template of a data grid. I have no problems populating the dropdown box when I click edit. However, if I edit and select a different item in the dropdown list I always get the top value in the list returned in my UpdateCommand
|
| Data grid question | 28 Nov 2003 09:24 GMT | 1 |
I have for example SQL statement: SELECT categoryID,categoryName FROM categories I can get products like this: Select productId,productName from products where categoryId=@catID
|
| User Server control nested in DataGrid | 28 Nov 2003 09:04 GMT | 1 |
Hi all, I am trying to create a web page where im displaying some information in a datagrid and use a nested custom control in EditItemTemplate. In Normal Modus it shows my Data as Label. If i go to Edit Modus it shows
|
| Paging a datagrid | 28 Nov 2003 08:49 GMT | 1 |
Please, i've created a datagrid that allow numbered paging. But when i click over a page that must be called, i get this error: System.Web.HttpException: Invalid CurrentPageIndex value. It must be >= 0
|
| datagrid10.aspx sample. | 27 Nov 2003 17:10 GMT | 1 |
I'm testing the QuickStart's datagrid10.aspx. I add paging property to the grid. private void MyDataGrid_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
|
| How can I do this?!?!?!?! | 27 Nov 2003 17:09 GMT | 1 |
I have a datagrid that will page with one record at a time. Instead of showing the record and all the fields that go with it. How can I put a user control in its place (ie an ascx file)?????? This way I can page like one would in an access database. I read the
|
| Find what checkbox is checked in javascript | 27 Nov 2003 05:35 GMT | 1 |
I have to sets of checkboxes. The second is to delete the row. So when I click that checkbox I want to add it to an array. I also need to take it out of that array when if click it again. I need to do this clientside Dave
|
| Datagrid to Excel Question | 26 Nov 2003 18:56 GMT | 2 |
I have it working by the following code: Response.Clear() Response.Buffer = True Response.ContentType = "application/vnd.ms-excel"
|
| Disable causesvalidation in DataGrid | 26 Nov 2003 13:04 GMT | 1 |
Using VB.NET: I would like to disable causesvalidation (of a textbox and a dbcombo) when the user clicks the update button in the grid control of the editcommandcolumn. Please help. Thanks in advance,
|
| TemplateColumn | 26 Nov 2003 12:54 GMT | 1 |
Using C# code I would like to find out the Controls a user places in a TemplateColumn. Is there a way to loop through all the items in a TemplateColumn? Thanks.
|
| Dynamically Adding Bound Columns Won't Sort | 26 Nov 2003 12:15 GMT | 2 |
All- I'm basically creating a user control which contains a datagrid that will be used throughout our application by all pages. My user control contains a datagrid control and I expose methods to add a
|
| How to sort a String column as Numeric? | 25 Nov 2003 14:21 GMT | 1 |
I have a datagrid (dgResults) that I am populating from a SQL stored procedure. After I fill my dataset (ds), I cache the dataset this way: Session("ds") = ds.Tables("Table1").Defaultview. After this I set the Grid's datasource to the dataset and bind the Grid.
|
| Paging in a dg - current row? | 25 Nov 2003 14:01 GMT | 2 |
I have a datagrid in which I change the color of the row, based on a value in a particular column. My problem is that I need to know the current row number in the data set after I page from the
|
| Problem with Update & Cancel buttons not showing up | 25 Nov 2003 09:31 GMT | 1 |
I've got a data grid that has a column for the Edit/Update/Cancel button. The grid loads and all the appropriate data loads as expected. But, when I click in the edit button, the docs say that an Update and Cancel button should appear, but they don't. Only the edit button is
|
| Helper function inside template column | 25 Nov 2003 08:52 GMT | 1 |
I need help with some c# syntax. I'm trying to call a helper function from within a datagrid template column. In VB.NET i'd do: <%# Helper(Container.DataItem("item")) %>
|