Modfying bound data in a GridView?
Mon, 12 Nov 2007 11:52:37 -0500
In ASP .NET 1.x, I could have a bound column in a DataGrid and still
"massage" that data so slightly different data was presented in the DataGrid
(using DataBinder.eval and a custom databinding expression).
Can I do something similar with a DataGridView? I want to be able to take a
string from a DataBase, ...
|
wrap text in datagrid cell
Mon, 12 Nov 2007 05:17:21 -0800
here is a cleaner version of a question I posted yesterday. I have
tried many versions of the code below but cannot get the column to
wrap. I am using asp.net 2.0 visual studio 2005. ultimately I will
be adding template columns as well, but really need this column to
wrap. thanks for your help
<asp:datagr ...
|
wrapping text in datagrid
Sun, 11 Nov 2007 10:36:34 -0800
hello I am trying to wrap the text in the contact_email cell of a
datagrid in asp.net 2.0 and tried many variations of the code below.
the asp:TemplateColumn HeaderText="Email" wraps as expected but I
cannot get the asp:BoundColumn Visible="False"
DataField="contact_email" field to wrap at all.
thanks for any ...
|
Iman Atef should confront her except the oxygen
Fri, 8 Nov 2007 18:38:30 GMT
Reply by email, filling out this form and emailing it to me.
Trimming off the rest of this post is unnecessary.
I will guarantee anonymity except in cases of blatant abuse.
I will achieve anonymity by tallying the results in
uncorrelated tabulations and then deleting the emails.
(I know this loses interesting ...
|
DataGrid Footer DropDownList OnSelectedIndexChanged
Thu, 8 Nov 2007 09:08:44 -0500
I have 2 dropdownlists in the Footer of a datagrid:
ddlStartTime and ddlEndTime. Both contain values like "1:00 AM", "1:15 AM",
"1:30 AM", etc.
There is also a label named lblTimeDiff.
I need to dynamically popolate lblTimeDiff.Text (during
onselectedindexchanged of ddlEndTime) with the difference in ...
|
Point Data formatting problem
Wed, 7 Nov 2007 15:26:08 -0600
We are using PostgreSQL "point data" for a coordinate system (ie: latitude
longitude). Browsing a location table using phpPgAdmin shows for example
(29.451972,-98.748106) this is what we want.
My web app uses a Microsoft GridView and the corresponding point shows up
in the grid column as
(29.4519720 ...
|
in edit mode, data is missing in template field
Wed, 7 Nov 2007 09:25:26 -0600
I managed to get what I wanted to work but I suspect there is a cleaner way.
I have a hidden bound field (visible , but hidden) that contains a "point"
eg: "(29.123, -98.543") that is a lat long. I want the user to be able to
edit this field but I want to show it as a coordinate formatted as selected
by th ...
|
|
|
Reload/refresh data in datagrid
Sat, 03 Nov 2007 18:28:02 +0100
Hi,
When some control in a page modifies the data displayed in a datagrid
(through an sql update query, of course), how do I refresh the datagrid?
Binding the datagrid doesn't seem to work. Re-binding the datasource
doesn't work. Binding the datasources also doesn't help.
Kind regards,
Pieter ...
|
Programattically setting gridview to edit mode
Fri, 2 Nov 2007 13:12:36 -0000
I have a button on my form which is enabled when the user selects a record
in the datagrid (I do not want an edit button for each record in the grid).
How can I force the datagrid into edit mode when the user clicks on this
button?
Nirmal
...
|
Repeater with nested GridView edit problem
Mon, 29 Oct 2007 10:35:40 -0000
Hi All,
I have a repeater control with a nested Gridview and i am having problems
with getting the gridview into edit mode.
I know I have to set the DataKeyNames value to my primary key field within
the datagrid view but as soon as I do this it generates an error and no data
is displayed.
I have tried usi ...
|