all groups > asp.net datagrid control > september 2004 > threads for september 15 - 21, 2004
Filter by week: 1 2 3 4 5
Datagrid/Range Validator Error - Help Pls
Posted by VB Programmer at 9/21/2004 7:04:57 PM
I am encountering a problem with my range validator in my datagrid.
I have the following column in my datagrid:
<ItemTemplate>
<asp:TextBox id=txtValue runat="server" Font-Size="XX-Small" Width="40px"
Text='<%# DataBinder.Eval(Container.DataItem, "Results") %>'>
</asp:TextBox>
<asp:Require... more >>
Master/Detail in one grid
Posted by Jeppe Dige Jespersen at 9/20/2004 11:13:14 PM
I need master info in several columns in _one_
row for each record. Below each "master"
record, I need a number of detail rows. Like this:
--------------------------------------
| Order01 | Order Date | Order Total |
--------------------------------------
| Product info, orderItemA ... more >>
Using labels in the HeaderTemplate of a datagrid or datalist
Posted by ree32 NO[at]SPAM hotmail.com at 9/20/2004 5:53:47 PM
when I try to access this label to place a text in it in the code. I
get this error -
Object reference not set to an instance of an object.
I assume this because the label is within the datalist I can't get a
control of it.
Is there anyway around this?... more >>
Can I set HeaderText on the fly?
Posted by VB Programmer at 9/20/2004 12:47:56 PM
Here's the columns in my dg:
<Columns>
<asp:BoundColumn DataField="Name" HeaderText="Area Manager">
<HeaderStyle Width="200px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Date1" HeaderText="<%#
SetC... more >>
difference between these 2?
Posted by QPRJAY NO[at]SPAM gmail.com at 9/19/2004 3:58:13 PM
In some examples I am looking through they are speaking of datagrids
and datalists (this is not the question :)
For the datalist a column is populated using
<%# Databinder.Eval(container.Dataitem, "some column") %>
For the datagrid...
<asp:Boundcolumn Datafield="some column" />
Is there an... more >>
Referincing datagrid with hidden and template column
Posted by hansiman at 9/17/2004 6:58:48 PM
I have a real hard time figuring out how to handle/reference
submissions in the datagrid OnUpdateCommand. I've been through quite a
few tutorials....
The datagrid columns
<Columns>
<asp:BoundColumn Visible="False" DataField="EmployeeID"
HeaderText="EmployeeID"></asp:BoundColumn>
... more >>
attributes to ListItemType.Header
Posted by hansiman at 9/17/2004 4:46:10 PM
I want to add tooltexttips to a datagrids column headers. The code
below handles BoundColumn but not TemplateColumn - and I can't figure
out how to have it handle both.
' add tooltip text to selected header column cells
Private Sub dg_ItemCreated( _
ByVal sender As Object,
... more >>
Getting back to grid list
Posted by Chip at 9/17/2004 12:13:29 PM
I have a grid which displays book titles. When a title is clicked, the book
details is displayed. The user is then able to traverse the list by hitting
Next/Prev buttons. I'm a bit stuck on the best way to get back to the
original list. I can rerun the query, but I would need to get the user back... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Easy way to clear the DataGrid
Posted by Janaka at 9/17/2004 11:50:45 AM
Is there a function to clear the Items out of the DataGrid or DataList? In
my page I want the user to be able to do different searches and before
rebinding the DataGrid, specify how many rows to display. Currently I am
hiding the grid by specifying Visible = false. However this still persit... more >>
Show/Hide Textbox Conditionally -- Even if Postback Occurs
Posted by abaird NO[at]SPAM ucsd.edu at 9/17/2004 9:26:58 AM
I have a datagrid control that contains several columns of data (all
bound columns) and a TextBox in the last column (in an ItemTemplate).
If the text value of the second column in the datagrid is equal to
"EquiTrac" (without the quotes), I don't want to display the TextBox
in the last column. ... more >>
Autofill datagrid columns
Posted by Kivanç Karaca at 9/17/2004 12:05:42 AM
Hi All !
I want to create a datagrid with autofill function. It should work like
that: The user will enter data for the first row and the remaining rows for
that column will be filled with the same data automatically.
Do you people believe that is it possible?
Thanks...
Kivanc
... more >>
trying to bind a typed dataset to a datagrid
Posted by bill yeager at 9/16/2004 3:25:09 PM
I can't bind a typed dataset to a datagrid. I've tried all
kinds of things, but it just won't bind. I know I'm
missing something! Weird thing is, I've done this many,
many times before with no problem!
Here is my xml schema for the typed dataset:
<code>
<?xml version="1.0" encoding="utf-8... more >>
Datagrid and clientside callback events
Posted by nospam NO[at]SPAM mailinator.com at 9/16/2004 3:49:13 AM
Hi All,
I've been looking at clientside callbacks as a way to update parts of
a page without a postback.
Is there a way of rebinding a datagrid on the client. The scenario
would be something like this:
A work queue is displayed on a page using a datagrid
Items are added to the underlyin... more >>
Grouping RadioButtons in a DataGrid
Posted by Sheikh Nabeel Moeen at 9/16/2004 1:25:35 AM
Hello,
I have a TemplateColumn as the first column in my datagrid to display
radiobuttons for selection of rows.
The problem is, when the table (dataGrid) is generated all the Radiobuttons
have autogenerated names so that they dont belong to the same group and more
than one are selectable.
How... more >>
Combine NumericPages NextPrev
Posted by Frederik at 9/15/2004 10:31:18 AM
Hi all,
Is it possible to combine both PagerStyle-Modes "NumericPages" and
"NextPrev"?
Thanks for your time,
Frederik
... more >>
|