all groups > asp.net datagrid control > august 2007
Edit works, but text box i row is too small
Posted by Joe Stateson at 8/29/2007 2:05:15 PM
I have been using the "Edit" command button in a gridview to edit fields in
a table. On field, Description, is a variable character string and it only
shows up in a single un-wrapped text box (as do all the other fields in the
row). It might be up to 500 words long and I need a large textbox... more >>
ASP.NET Gridview - Edit (Update)
Posted by at 8/29/2007 5:45:11 AM
When I try and update using the gridview edit option, all of the
records in the entire Access database
get changed. Is this normal in gridview? Is there a way to change
this behavior? Or should I
be using a different control?
Thanks
Page Code is as follows:
<%@ Page Language="VB" %>
... more >>
Row edit fails to recognize new values
Posted by John Henry at 8/21/2007 8:00:23 AM
I am having a problem with the grid view control. When i edit a row the new
values placed into the text boxes are not passed as a new values when the
update event occurs.
I am stumped...any suggestions would be appreciated.
John
... more >>
Inline Calculations for Databinding
Posted by Nathan Sokalski at 8/20/2007 6:23:09 PM
I have two fields in the Datatable that I am using as my DataSource that I
need to multiply together before displaying them. Here is the databinding
expressions from my ASPX file to display the fields separately:
'<%# Databinder.Eval(Container.DataItem,"price","{0:C}") %>'
'<%# Databinder.Ev... more >>
problem ordering buttons vertically in cell
Posted by Joe Stateson at 8/16/2007 5:05:18 PM
In one cell of a datagridview I want to put two buttons. I got this to work
easily using
thisButton = new HtmlButton();
e.Row.Cells[5].Controls.Add(thisButton);
thisButton = new HtmlButton();
e.Row.Cells[5].Controls.Add(thisButton);
======BUT=====
I want them to be centered, at least horizo... more >>
Hiding blank rows in a datagrid
Posted by Ben. at 8/15/2007 3:24:00 AM
Hi
I have a bound datagrid in my page. I want to hide rows where there is no
data, is this possible.
Example -
Row 1: Name | TestNameValue
Row 2: Address |
Row 3: Phone | 08322232
Row 4: FAX |
Would be displayed as
Row 1: Name | TestNameValue
Row 2... more >>
Javascript confirmation message in datagrid
Posted by Peter Afonin at 8/13/2007 6:24:22 PM
Hello,
I need to add a confirmation message to the Delete button in the datagrid.
I was always using this code to do this:
Private Sub dgRoles_ItemCreated(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles dgRoles.ItemCreated
'--------------------... more >>
PostbackURL
Posted by Ross Culver at 8/7/2007 1:48:02 PM
Is there a way to assign a postbackURL to a gridview?
Ross
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Gridview - Pull value from one cell in one row
Posted by pvong at 8/5/2007 10:15:08 AM
Hi, I'm a newbie and I'm looking for some help. I'm programming in
VB.Net.
I have a simple gridview and when the user hits the Edit link, the
gridview changes to edit mode. I replaced the Textboxes with labels and I
turn off the Update command because I want to write my own up... more >>
|