all groups > asp.net datagrid control > october 2006
Button column event not firing
Posted by Dale at 10/26/2006 9:29:02 AM
I just edited about 12 DataGrids on as many pages to update the look and feel
to current company standards. One thing I did was replace LinkButtons with
PushButtons. On all of the DataGrids, I simply edited the Text attribute to
the current requirement and then added a ButtonType=PushButton ... more >>
only for expert: what's wrong with this code?
Posted by Cas at 10/25/2006 9:14:26 PM
Hi,
I want to use a detailsview only for inserting data into a database (for a
survey). In order to check the inputted data, i need Templatefield.
So I defined a detailsview and a SqlDataSource in the aspx file.
The creation of the templatefields are done programmatically, because the
numbe... more >>
GridView does not show updated Records
Posted by Greg at 10/25/2006 11:56:05 AM
Hi,
This should be dirt simple... but clearly I am missing something. I
have a GridView on an ASP Page. There are 5 fields on the page (2 of
which can be updated), the user clicks edit, they go into edit mode,
the user changes the data clicks updated... their old data is still
there... I ru... more >>
Reference to gridview control
Posted by Lucas Hernandez at 10/25/2006 11:26:04 AM
Anybody here knows how to make reference to en emptydatatemplate control?... more >>
Datagrid paging wierd behaviour
Posted by Brian Lowe at 10/23/2006 2:00:21 PM
I have a DataGrid which uses a dataset as its source. I have it set to allow
paging and page length set at 9 rows, and page style set to numeric. My
dataset has 25 rows, so just as expected I see rows 1 to 9 and paging links
1 to 3 with "1" as a static label and "2" and "3" as linkbuttons.
... more >>
hyperlink field in gridview
Posted by Carlos at 10/19/2006 12:36:11 PM
Hi all,
I tried to use a hyperlink field in a gridview and it did not work.
It just behaves like a normal boundfield. I included the name of the
bound field to the DataTextField. This field value pulls aURL value.
When I look in the gridview there is no hyperlink...
Thanks in advance,
... more >>
datagrid field to span other columns?
Posted by JeffP NO[at]SPAM Work at 10/18/2006 10:31:40 AM
ASP.Net 1.1
How do I get data to span accross other columns ?
I'm not sure if I'm stating this well, but I would like to use the =
Datagrid's paging but I want there to be two rows of data per record.
[SourceCode [Carrier [Agent [Profile [FeeSplit (a few more =
fields)
[Compa... more >>
Date format hiding null values
Posted by ken s at 10/17/2006 8:40:02 PM
Greetings,
I'm using a custom date format to display date values in a BoundField in a
GridView. Here's the line that formats the date value:
DataFormatString="{0:MM/dd/yy}"
It works fine as long as there's a date in the field being displayed. But
if the field is null, it displays 01/0... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Disable datagridview sorting
Posted by Matthew Humphrey at 10/8/2006 7:56:12 PM
I have a DataGridView control, and i would like to disable the ability to
resort data rows by clicking on a colum header. Could someone please help
with this?
Thanks
MATT
... more >>
Retrieving datagrid heading information
Posted by GaryDean at 10/7/2006 5:13:39 PM
I am writing a method in a component that gets passed a 1.1 Datagrid. The
datagrid's columns were created at run time meaning it has no columns
collection.
How can I access Header and Footer data in the grid?
It's not in the grid.items collection - only rows there. there is no
grid.header... more >>
Gridview keeps adding rows when user causes postback
Posted by postings NO[at]SPAM alexshirley.com at 10/6/2006 5:23:30 AM
Hi
I have a gridview that has a footer with text fields and an "add"
linkbutton. This footer allows the user to add new rows to the
gridview.
When the user clicks the "add" linkbutton everything works as you would
expect, a record is added to the gridview. The problem is that if the
user c... more >>
HTML can't find Caption property for datagrid
Posted by Tony Girgenti at 10/4/2006 5:47:40 PM
Hello.
I'm developing and testing a web application using VS.NET 2003, VB, .NET
Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2
computer. I'm using a web form.
For a datagrid control, i used the Caption property. It displays fine on
the datagrid and allows me to run ... more >>
Refreshing Crystal Reports....
Posted by Jack at 10/3/2006 6:44:01 PM
Hi all,
How can i refresh crystal reports?
Iam using VS.NET2003 and using vs.net i created a aspx webpage and on the
page i
placed a drop dwon list and a button...
Dropdown list will display the student no and when the user clicsk on the
button it will display the report which is... more >>
GridView - fixed row height
Posted by Greg Smith at 10/3/2006 1:05:22 PM
I am learning to use the Asp.Net 2.0 GridView. When I page of filter the
data and end up with a page with less than the full page size of rows then
the header and the displayed rows "stretch" to fill the GridView.
I would like to have the row height remain the same and just display a bla... more >>
styling Columns when using AutoGenerateColumns
Posted by Tim_Mac at 10/3/2006 12:12:33 PM
hi,
i have an extended Datagrid class, it does nice automatic things like
providing an excel export feature, sorting, paging etc.
i would like it to automatically right-align any numeric columns, but i have
run into a problem where the 'DataGrid.Columns' collection is empty when the
DataGrid... more >>
Can't seem to bind data in a header or footer of a datalist.
Posted by UJ at 10/3/2006 8:53:20 AM
I'm trying to bind data in a header list and it doesn't appear to work. My
code is:
<asp:DataList id="dgOurSolutionArray" runat="server"
RepeatDirection="Horizontal" RepeatColumns="4">
<HeaderTemplate>Fred
<%# DataBinder.Eval(Container.DataItem, "ShortDescription") %>
</H... more >>
dynamically add hyperlinks and buttons to a datagrid
Posted by Richard Jonker at 10/2/2006 7:53:37 PM
Hi,
I'm developing a webpage with a datagrid. The data is retrieved from a
database and via a dataset dynamically binded to the datagrid. So, the
fields from the query are defining the displayed columns.
How can I add special columns like buttons and hyperlinks dynamically to the
columns? ... more >>
Datagrid paging problem
Posted by Tony Girgenti at 10/1/2006 6:30:41 PM
Hello.
I'm developing and testing a web application using VS.NET 2003, VB, .NET
Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2
computer. I'm using a web form.
When clicking on the "Next" button for paging in a datagrid, i get the
following message:
"A potentially ... more >>
|