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 22 - 28, 2003

Filter by week: 1 2 3 4 5

AutoPostback DropDownList in EditItemTemplate
Posted by at 10/28/2003 8:38:07 PM


Overriding a style for the HyperlinkColumn in my datagrid: Please help me.
Posted by SStory at 10/28/2003 1:57:29 PM
I have a style sheet for my site. It has various classes in it. It has <A: styles defined for all anchor tags. I have a datagrid in ASP.NET with a stylesheet linked to the page. It defines links as yellow which is what I normally won't but in this case I want to override the link color and ...more >>

Adding columns dynamically
Posted by Peter Kamitz at 10/28/2003 12:44:02 PM
hi, I always get the error: Item has already been added. Key in dictionary: "0" Key being added: "0" ----when trying to databind the webgrid with dynamically added columns. All the columns are added without any problems, but when it comes to the databinding (=> MyGrid.DataBind()) the error ...more >>

Datagrid column widths
Posted by Davef at 10/28/2003 11:11:12 AM
I try to format the column widths in the property builder/ Format area. Then when I run it the formating is not there??? -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoint.com Interested in Affordable Email Marketing? Check out the Helix...more >>

Datakey in Datagrid
Posted by J. Ormaetxe at 10/28/2003 8:52:05 AM
Hello, I am developing a Datagrid thar insert, delete and update rows in a Table. This table has got 2 fields that are primary key. How can i detect which row is selected to delete?? Thanks, Asier ...more >>

Turn editable cols on/off in single row inline edit
Posted by bmkealu NO[at]SPAM yahoo.com at 10/28/2003 7:17:05 AM
Hi. I have a datagrid with 2 editable columns, Status and ScreenContact. When the user chooses to edit a row, one or both of those columns may be editable depending on a separate value. In the datagrid_EditCommand, is there a way to tell the DataGrid to display the Status column's ItemTemplate a...more >>

All my drop down lists get reset to the first value when I go in to edit a record in the datagrid....
Posted by Josh Behl at 10/27/2003 7:32:24 PM
I've got my datagrid working to the point where I can edit records and even pick different values in my dropdownlists, save the record and have that data committed to the table. The problem I am having is that when I go into edit a record each of my picklist values get reset to the first value i...more >>

Heading Style
Posted by Cathie at 10/27/2003 5:02:30 PM
Hi All, I'd like to set my heading style to the following: ..ListHeading, .ListHeading:link, .ListHeading:visited { color: Black; font-weight: bold; font-family: Verdana; font-size: x-small; text-decoration: none; border-bottom: solid thin gray; cursor: hand; } ..Li...more >>



How do I add an anchor to a boundcolumn?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 10/27/2003 2:29:40 PM
I have a simple DataGrid and on one of the asp:boundcolumn tags I want to underline with a link everything in that column. From that link I will then open a page. How do I add a link around the boundcoulumn? I tried a regular anchor tag, but got an error about it not being part of the DataGri...more >>

DataGrid and ListBox problem...
Posted by nischal_muthana NO[at]SPAM yahoo.com at 10/27/2003 1:53:49 PM
Hello All, I am trying build a web form with a listbox and datagrid on it. 1. I have a dataset into which I load an xml file using ReadXml() method. private DataSet LoadDataSet(string FileName) { DataSet ds = new DataSet(); ds.ReadXml(FileName); return ds; } 2. I then populat...more >>

Can anyone explain why paging does not work if AutoGenerateColumns = false!!?!?!?!?!
Posted by coyotes1 NO[at]SPAM yahoo.com at 10/27/2003 11:14:59 AM
Can anyone explain this????? I have a dg that I need to page and I need to create columns for it. Please some one help. thanks...more >>

DataGrid HyperLinkColumn question
Posted by Baris Seker at 10/27/2003 11:11:21 AM
Hi all, What I'm trying to do feels like very simple but I can't seem to do it. I have a datagrid control and the first column is a HyperLink column; a link to another page that includes variable that retrieved from the db. The html view of this is below: <asp:HyperLinkColumn DataNavigateUr...more >>

Setting focus..?
Posted by Kent Johnson at 10/26/2003 2:01:48 PM
Hi all, I have a Webform with some textboxes on. How can I set the focus so that a user can start the input directly in the first textbox in taborder when the forms open? Textbox1 har the taborder set to 1 but the user still have to push the tab-button twice before TextBox1 gets the focus. ...more >>

Serious issues with webcontrols...
Posted by Nicolas LeBlanc at 10/26/2003 11:58:52 AM
Hi, First of all, sorry for cross-posting, but some groups look more active than others, and I sure need to find an answer to this. I recently rebuilt my website using ASP.NET and I did my forum system using a datagrid and template columns. I was asked by many users to remove the LinkButton...more >>

URLEncode Problem from ASP.NET
Posted by vtreddy at 10/24/2003 7:12:14 PM
Hi All: In my application I am sending the input values through query string = from a datagrid template column,I used URLEncode to encode the URL = String, please find the input below, I am facing a problem when the input string = contains =AE character , Here from ASP.NET I am redirecting to ...more >>

ItemCommand firing instead of SortCommand
Posted by Steven at 10/24/2003 6:46:38 PM
Hi there, I am having a weird problem. I have a datagrid with both an ItemCommand and a SortCommand. It was working fine until a day ago. Now, whenever I click a column to fire the SortCommand, the ItemCommand gets fired instead. In the debugger, e.CommandName is equal to "Sort", even thou...more >>

Reading a textbox in a datagrid
Posted by Davef at 10/24/2003 7:54:10 AM
I have a datagrid with orders in it. Each line has a textbox that I have to enter a price in the textbox. How do I read each specific textbox? -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoint.com Interested in Affordable Email Marketing...more >>

Paging doesn't work if columns built up in code?
Posted by Bernard O'Flynn at 10/23/2003 6:19:43 PM
Hi I am building my bound columns in code. I have attached an event listener for the paged event. However when I click on the next page link the event doesn't fire and the page refreshes without the datagrid even there! If I build up the bound columns on the aspx page everything works fine. ...more >>

DataGrid & datasouce close
Posted by PaulMac at 10/23/2003 10:51:03 AM
Hello All, I have a webpage containing a DataGrid control. The datasource is a DataReader. The code is like so: AsaCommand Cmd = new AsaCommand( "SELECT ... FROM ...", Db.Connection ); DataGridNet.DataSource = Cmd.ExecuteReader(); DataGridNet.DataBind(); Is it necessary to do an explic...more >>

Datagrid not displaying
Posted by mholli at 10/23/2003 7:56:12 AM
I have tried tried dropping a datagrid on an aspx page and then settting the dataource property and calling rebind. Nothing shows up on the page. Is there something wrong with our IIS config?...more >>

Adding controls to the cells of a dat grid
Posted by Ramakrishnan Harish at 10/23/2003 4:53:00 AM
Dear All, Is it possible to use to the datagrid to take inputs from the user by placing controls in the cells of the grid and saving everything at the end. Please provide me a solution for doing the same Thanx and Regards Harish M.R *** Sent via Developersdex http://www.developers...more >>

Opinion
Posted by bspann at 10/22/2003 5:34:26 PM
I need some opinions. Here is the situation: I have a DataGrid with TemplateColumns. To display my values, I use the ASP code in the HTML. So for example, I have <%# DataBinder.Eval(Container.DataItem, "myData", "{0:C}") %> Question: Is this the perferred way of displaying my data? When...more >>

DataGridControl not populating
Posted by kevinc NO[at]SPAM yaletech.com at 10/22/2003 4:07:28 PM
Hi, I'm attempting to load raw XML(XML string), parse it and populate a text box, parse it further into an ArrayList, then set the ArrayList as the DataSource of a DataGrid. I had no problem getting this to work in a VB.NET Windows App. But I can't seem to populate the DataGrid in an VB.NET...more >>

Hierarchical data in datagrid
Posted by Nicolas Martinez at 10/22/2003 3:32:24 PM
this topic was discussed a few days ago and this link came up http://msdn.microsoft.com/msdnmag/issues/03/10/CuttingEdge/ but im trying to go further: i'm designing a sort of database explorer where you can choose from a set of parameters what info you see, and the levels in the hierarchy i...more >>

Combo box with foreign key in Datagrid
Posted by Rob Edwards at 10/22/2003 2:23:38 PM
Two tables: Employee, Salary I want to be able to update the Salary information with the dates and changes to each employee in a datagrid. The EmployeeID is the foreign key in the Salary table. OK... so I created a datagrid with the datasource being the Salary table. I converted the Empl...more >>

Datagrid does not display
Posted by mholli at 10/22/2003 1:01:12 PM
I have an ASPX page and the datagrid does not display even though I have a dataset set for datasourse and have tried rebind. Any suggestions?...more >>

RUN/execute a Command-Line command from an ASP page.
Posted by Lucas Cowald at 10/22/2003 4:15:19 AM
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p Can you show me a code how to run this command from an ASP page? I need to run it from an ASP/VBscript? Thank you very much for your help! ...more >>


DevelopmentNow Blog