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 > may 2004 > threads for may 8 - 14, 2004

Filter by week: 1 2 3 4 5

<asp:EditCommandColumn/> for PushButton bugs?
Posted by angus at 5/14/2004 5:03:20 PM
Dear All, I am using VB.net It is found that the <asp:EditCommandColumn/> wouldn't fired an event for OnEditCommand If pushbutton has been used: that is: <asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update" CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn> ...more >>


Left-most characters in Data Formatting Expression?
Posted by Jeff Tolman at 5/14/2004 4:13:36 PM
Is there any way to specify in the Property Builder a data formatting expression that only accepts the left-most X-number of characters from the column? Thanks to all! Jeff Tolman jeff.tolman@enm.com ...more >>

Dropdownlist in a DataGrid ~ Please help a newbie
Posted by Howzit at 5/14/2004 9:59:43 AM
Can anyone please point me to a good article or step by step instruction on how to do the following: I have a grid showing the availability of an article I want to have a dropdown list when the grid is in edit mode so that the user can select the availability status for the article. The dropdow...more >>

Problem with Sorting datagrid .. help please
Posted by burak.gunay NO[at]SPAM xpandcorp.com at 5/13/2004 10:50:24 AM
Hello, I have a datagrid as follows <asp:datagrid id="dtgIncomplete" Runat="server" OnPageIndexChanged="PageActiveRecords" AllowPaging="True" PageSize="25" autogeneratecolumns="false" Width="537px" AllowSorting="True" OnSortCommand="SortCommand_OnClick"> <Columns> <asp:BoundColumn He...more >>

Listing
Posted by x109 at 5/13/2004 8:25:54 AM
I have SQL descriptions like this =20 comm.CommandText =3D "SELECT ForumBaslik.Baslik, = ForumBaslik.Soru,ForumBaslik.BaslikID,userTable.kulAd as Kul, = ForumCevap.SoruID,ForumCevap.CevapID as CvpID, ForumCevap.Cevap as Cvp, = ForumCevap.Ekleyen as CvpEkleyen, ForumCevap.Tarih as CvpTarih FROM =...more >>

rotate a datagrid
Posted by Joey at 5/13/2004 7:11:41 AM
hi everyone is it possible to rotate a datagrid, so that the columns become rows and the rows columns? so the datagrid shows like ----------------- | header | data | ----------------- | header | data | ----------------- or is there another way to make columns editable instea...more >>

Grid Control ItemData event not firing
Posted by HandA at 5/12/2004 3:10:32 PM
I have a grid control on a page that I copied from another page and modified. For some reason it seem my ItemData event never fires. I even put a break point in it and it doesn't get there. I tried response.write and response.end in that event and it doesn't output anything. Any ideas? ...more >>

change HeaderText of DataGrid in PreRender().
Posted by andy_wang NO[at]SPAM hotmail.com at 5/12/2004 1:57:53 PM
I need change HeaderText of DataGrid in PreRender(). But it seems doesn't work. The code example like this: Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs) grdPortals.Columns(1).HeaderText = "Title" End Sub I can see the value changed correctly when I was in debug mode, bu...more >>



Datagrid Link
Posted by Arun at 5/12/2004 12:30:04 PM
Hi, If I click on Select column from the datagrid, then I should be able to display information corresponding to a particular query based on that row in a datagrid in a different page. For. eg : We have two table one is master and another is detail. In first grid we have information fro...more >>

Is it possible to create a custom header/footer - not with column names but with html
Posted by mortb at 5/12/2004 12:21:16 PM
I want to know if it is possible to create my own header and footer = which contains arbitrary text/html items in a datagrid . Look at the included picture for example. Another example: +----------------------------+ | Header text | +---------+---------+--------+ | Item1.1...more >>

ItemIndex is -1 in ItemCommand after selecting page in DataGrid
Posted by alan NO[at]SPAM eilersfamily.com at 5/12/2004 9:58:10 AM
I have set up a DataGrid with default paging. The DG ItemCommand works fine when user selects row by clicking on ButtonColumn (which fills in text boxes at bottom of page). ItemIndex properly shows 0 when first row selected, 1 for second, etc. But when user clicks on hyperlink for new page at...more >>

datagrid rowheight
Posted by Bull at 5/12/2004 9:34:55 AM
Hi Is it possible to set the rowheight of the datagrid. I have a paging grid but if there is say 2 entries then the height of each row expands to fill the height of the grid. I want a way to keep the rowheight constant so leaving empty space at the bottom. Kind Regards ...more >>

ItemCommand not firing w/ a control in ItemTemplate column
Posted by Sal at 5/11/2004 1:24:30 PM
I 've been dealing with this problem for a while now. I have a datagrid in which one column is a template column, encompassing textboxes (1 hidden, 1 visible) and bound to the same data source column. Also the footer contains a button to save contents of the textboxes. Viewstate is on. I also h...more >>

Totals in grid footer?
Posted by SStory at 5/11/2004 12:58:52 PM
Is there a way to show subtotals in the footer of a datagrid? How? Thanks, Shane ...more >>

Formatting datagrid column to show boolean as Yes/no instead of truefalse
Posted by SStory at 5/11/2004 11:28:59 AM
Is there a way to change the formatting expression of a column in the property builder of the datagrid to make boolean values appear as yes/no instead of true/false? thanks, shane ...more >>

Access to controls in footer template
Posted by GCeaser NO[at]SPAM aol.com at 5/11/2004 8:52:03 AM
All, I have created a footer template which I use to add a new entry via my datagrid. I also have an edit template to allow the user to edit a row in the grid. My problem is this. The second column of the grid is a required field. In the edit template and footer template, i have includ...more >>

Microsoft Walkthrough
Posted by Mike Harris at 5/11/2004 8:46:09 AM
Using Visual Studio.net, I'm following the Microsoft Walkthrough located at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkWalkthroughUsingDataGridWebControlToReadWriteData.asp Everything works as advertised except for the line of code: "r = DsCategories1.Cate...more >>

DataGrid to Excel
Posted by DOKOM at 5/11/2004 2:36:10 AM
Hi I wrote a small function, thaht converts a DataGrid to Excel from a Web-Application (C#) Running the function with 100-200 rows it just works fine Starting a "special" Report produces a DataDrid with about 13650 Rows. Now the conversion to Excel does not work Are there any known restrictions ...more >>

setFocus within Grid
Posted by Mike at 5/10/2004 7:35:39 PM
How can I have the first row of the datagrid highlighted when the page loads? I have rows highlighting on mouseover, and doubleclick event, but i want the first row to be highlighted and also allow the user to use the arrows up and down within the grid. is that possible and is there any examp...more >>

Custom Paging in datagrid
Posted by anon at 5/10/2004 8:59:17 AM
hi all, i have tried implementing custom paging using the example from 4 guys from rolla....however example doesnot work as desired.....i.e when the pagecount is 1...and current page index is 0(for the first page...then nothing hapens and it does not move to next page...am i missing somethi...more >>

Datagrid to Excel Export Problem while adding summation values
Posted by Sudhakar at 5/10/2004 4:02:01 AM
We are getting a strange problem in exporting data grid to excel. We have a data grid in hand with basic data bounded to it and adding some summary data as DataGridItems rows at particular levels in datagrid (summation values) When we export the grid to excel using the following code Respo...more >>

Best way bind "data" without a database source
Posted by d[ - - ]b at 5/8/2004 9:25:46 PM
Hi, not sure if this would be the right place. Kinda new to .net, but have a task / exercise where we must use a datagrid, datalist etc (one of them) without any invovlement of a database. We must use the contents of an array to display the data in one of them. Which is possible / recommendabl...more >>


DevelopmentNow Blog