Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net datagrid control > october 2003 > threads for october 29 - 31, 2003

Filter by week: 1 2 3 4 5

Get Data from one Grid to another
Posted by Karl Napp at 10/31/2003 10:47:11 PM
I have two tables: The first is "house" with the columns "house_id" and "house_name". The second is "room" with "house_id", "room_id", "room_name". Now, I have two DataGrids. The first should only show the "house_name" and OnClick it should be able to send the "house_id" to a method that will ...more >>

IsPostBack issues??
Posted by Josh Behl at 10/31/2003 4:52:40 PM
I have a datagrid in my development environment and it works just fine. I am able to edit and so forth. I moved it to my production environment and it does not work properly when I try to edit. The data grid just disappears but my tool bar is still visible. I then tried creating a new dat...more >>

What does this error mean?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 10/31/2003 2:01:47 PM
Parser Error Message: Could not load type System.Web.UI.WebControls.Template from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. The code in question is: <asp:Template ColumnHeaderText="Completed" ItemStyle-HorizontalAlign="Center"> Thanks....more >>

AllowPaging and AutoGenerateColumns = false
Posted by coyotes1 NO[at]SPAM yahoo.com at 10/31/2003 12:17:53 PM
I have read that in order for paging to work, on a dg that you dynamically create the columns, you must create your columns in Page_Init. If this is true, how am I to create the columns in the Page_Init if the dg does not get created until a button is clicked? Please help. This has been dri...more >>

URGENT question about binding collection to a datagrid onitemdatabound
Posted by ITnerd at 10/30/2003 8:23:48 PM
The following code works to hide specific columns before they are bound to a datagrid that has "autogeneratecolumns=true" enabled. My question is: is there any way to do the same from a bindable user defined collection? I have a "message" class that I don't want to have to munge into a DataT...more >>

Updating DataFormatString programmatically
Posted by Cathie at 10/30/2003 6:11:26 PM
Hi All, I have a situation where I read a string format from a resource file. I would like this format to be used to format a BoundColumn in the datagrid I'm displaying. Can I update the DataFormatString at run-time? If so how? Thanks in advance, Cathie ...more >>

Datagrid editing
Posted by kai at 10/30/2003 4:43:50 PM
Hi, All I use ASP.NET 1.1 on Win2K3 server. I created datagrid and with the editing, delete and update feature. I deploy this application on IIS. When it runs on the server, it is very fast, but when access through the Internet on different computer, it runs very slow because it downlo...more >>

Refreshing DataGrid in page_load
Posted by A.M at 10/30/2003 3:36:57 PM
Hi, I want to refresh my DataGrid data on every postback. I have following code in Page_Load event, but after first page load, the DataGrid never gets refresh. Here is the code i have in Page_load (it works at first page_load): Dim DS As DataSet Dim MyConnection As System.Data.SqlClient....more >>



Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset
Posted by Nedu N at 10/30/2003 2:36:12 PM
Hi All, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data into typed dataset in order to ease the further processing using typed references. DataSet ds = getDataFromDB(); - i am getting the dataset ds f...more >>

ItemCreate event handler changes wrong DataGridItem
Posted by Chris Smith at 10/30/2003 2:25:16 PM
I am changing the EditText in a EditCommandColumn in a DataGrid in an ItemCreate event handler . The only problem I am having is that instead of changing the text in the current row it changes the next row. I watch the value in the debugger, and I see it change at what appears to be the right...more >>

Aspx - how to add dynamic controls
Posted by Neel at 10/30/2003 1:29:59 PM
All, How can add a control dynamically in a html table on an aspx page? here is the scenario User selects a dropdown for car make, then based on car make the next dropdown fills with list of models. then i am putting a button add another car, when user clicks it should show new row wit...more >>

datagrid10.aspx sample.
Posted by LL at 10/30/2003 11:25:44 AM
Hi, 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) { MyDataGrid.CurrentPageIndex = e.NewPageIndex; BindGrid(); } I found that when ...more >>

How can I do this?!?!?!?!
Posted by coyotes1 NO[at]SPAM yahoo.com at 10/30/2003 5:40:12 AM
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 article @ microsoft about somethi...more >>

How do I add a Textbox to my DataGrid?
Posted by B Holt at 10/29/2003 8:11:09 PM
Here's the problem: I am using WebMatrix and although I have a lot of IDE experience, I am a newbie at Web-based apps. How Do I get a TextBox into (each row of) my DataGrid to allow the user to edit the value of one column? I have seen a lot of "sample code", but all of it contains syntax t...more >>

How can I hide a column in my Datagrid
Posted by George Viveiros at 10/29/2003 2:22:48 PM
I have a datagrid I am populating programmatically, creating the rows and columns. I need to hide one column. How can I do this? I have seen another posting on this but the solution was not communicated well. George *** Sent via Developersdex http://www.developersdex.com *** Don't just...more >>

Header Controls
Posted by JemPower at 10/29/2003 9:20:29 AM
Hi All, Can someone help me with what I believe could be a simple answer. I've created a datagrid, of which I have a template column containing checkboxes. What I want to achieve is a checkbox in the header, so that when clicked, checks all the checkboxes in the grid. I'm having a lot of d...more >>


DevelopmentNow Blog