Groups | Blog | Home


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 > november 2005 > threads for november 22 - 28, 2005

Filter by week: 1 2 3 4 5

Takes two clicks to fire event?? Please help!
Posted by treilly via DotNetMonster.com at 11/28/2005 4:39:56 PM
Hey guys, This is really starting to annoy me. In short, I have a datagrid with a buttoncolumn in the first column. Once a user clicks on a button in this column, it fires the OnItemCommand correctly. In the OnItemCommand function, I then replace the control that fired with a different one ...more >>


Visual design tools and DAL in VS 2005 / .NET 2.0
Posted by Paul Aspinall at 11/27/2005 10:48:40 PM
Hi I wrote quite a few apps with .NET 1.0 and 1.1, which made use of a Data Access Layer, and also used the Microsoft Application Blocks for Data Access (v2). In VS 2005, there is a huge improvement in 'visually' designing the data access, and binding it to the controls on the form. I h...more >>

What is the Equivalent of the CurrentRowIndex Property for a DataGrid Web Control?
Posted by .NETn00b at 11/26/2005 11:46:05 AM
What is the equivalent of CurrentRowIndex for the DataGrid control in ASP.NET? I am trying to convert the following windows app method, to use in an ASP.NET application: private void DataGrid1_CurrentCellChanged(object sender, EventArgs e) { int c = DataGrid1.CurrentRowIndex; ...more >>

Dynamic columns and NamingContainer
Posted by Tumurbaatar S. at 11/26/2005 12:00:00 AM
I dynamically add columns to DataGrid as described in MSDN articles "Top Questions about the DataGrid Web Server Control" and "Creating Web Server Control Templates Programmatically". The columns are template based and all they use a same template producer. In the edit mode (ListItemType.EditIte...more >>

Inserting Special Characters
Posted by eagle at 11/25/2005 10:50:17 AM
Is there a way to put a special character in a heading on a grid, such as a checkmark (asc 3882 I believe)? so that it looks like this: Check Me Ö ...more >>

Mouseover, mouseout, click etc on datagrid.
Posted by johnnydublin NO[at]SPAM gmail.com at 11/25/2005 2:50:55 AM
Hi there, Does anyone know of a way that I can specify javascript functions that are to be run when a cell is clicked, mouse over etc in a datagrid without attaching the function to every single cell? I have a diary view with resources across the top and times down the X axis which means it c...more >>

How to load datagrid in edit mode?
Posted by ashtek NO[at]SPAM gmail.com at 11/24/2005 11:12:03 PM
Hi, Is there any way I can load a datagrid in edit mode (example : 2nd row should be in edit mode whe the page loads for the first time) when a page is loaded for the first time? The scenario is like this : I have a webpage with a table which has n number of columns. One of the columns in ...more >>

Button column
Posted by Kiyomi at 11/24/2005 12:00:00 AM
Hello, Could we have more than one "Edit, Update, Cancel" button column in one DataGrid ? If it is possible, how can we manage in the code behind EditCommand, UpdateCommand and CancelCommand for each button ? I would like to have two buttons, "Validate" and "Reject", and make them as EditC...more >>



Tabbing index
Posted by eagle at 11/23/2005 9:28:07 AM
Is there a way to not allow a user to tab to an item? I have several labels & textboxes in the grid and don't want the user to tab to them. I have other controls in the grid that they can tab to, such as edit & delete columns. Thank you for your help. ...more >>

Dynamically adding controls
Posted by treilly at 11/22/2005 8:13:42 PM
Hi all, I currently have a datagrid with a buttoncolumn and a few other boundcolumns. Once a user clicks on a button in the buttoncolumn, I need to remove that control and put another control in it's place. I am having no luck whatsoever in doing this. I have made a new LinkButton in my code-b...more >>

Date Time question
Posted by mark at 11/22/2005 1:23:23 PM
Hello I search SQL DB and display results to an APS.Net page using <asp:repeater /> One of the columns is a Date in the Database SmallDate . When I display it the page it shows Date and Time. How can I get rid of Time and have only date displayed. All help is greatly appreciated. ...more >>


DevelopmentNow Blog