all groups > asp.net datagrid control > august 2005 > threads for august 1 - 7, 2005
Filter by week: 1 2 3 4 5
Data Binding
Posted by vefman NO[at]SPAM yahoo.com at 8/5/2005 9:35:01 AM
I have a question about databinding. Why are people binding datasets?
It binds your implementation to your interface. This breaks OOP
principles, and it is bad practice. An interface and implementation
should be separate from each other, so if you can make changes to them
independent of each ... more >>
Radio Button Group in a Datagrid
Posted by Paul D. Fox at 8/4/2005 11:14:24 AM
I have a Datagrid that has multiple rows with a Radio Group template =
item in it. I need to find out if at least one item in the Radio button =
group of each row has been selected and if selected, find out which one =
was selected and if not, throw a validation message (e.g. "You must =
select... more >>
Datagrid columns and ntext (via sql server)
Posted by postings NO[at]SPAM alexshirley.com at 8/4/2005 7:46:39 AM
Hi
I've have some text inside a "ntext" data field from SQL server.
I am displaying this text as a column in a datagrid using ASP.NET 1.1
and VB.NET. The problem is only the last paragraph of the text appears
to be displayed.
For instance
If the ntext field in the database contains:
... more >>
Unable get Boolean and Numeric values from XLS into Dataset and Datagrid
Posted by vighnesh at 8/4/2005 12:00:00 AM
Hi All
I am presently dealing with a project,in which I have to convert an XLS file
into XML file.
To accomplish this I have used Dataset as intermediatory to store the data
from XLS and
writting the data to XML file.
But unfortunately I am not getting Boolean and Numeric values from th... more >>
Convert units to integers in determining width?
Posted by eagle at 8/3/2005 3:13:30 PM
How can I convert the width of a column to an integer? I want to add the
widths of several cells so I can align outside data with it. I tried:
Dim i as integer = dg.Columns(1).ItemStyle.Width
but of course get an error that the width is in units.
Thanks for your help.
... more >>
Update a datagrid on the client
Posted by ZiggY81 via DotNetMonster.com at 8/3/2005 12:00:00 AM
Does anyone know how to update a datagrid using client side code (like
Javascript)???
For example, i have two datagrids on my page. The first datagrid lists all
the batches i have in my database, while the second datagrid lists the
invoices corresponding to each batch. I want the second datagr... more >>
Grids and displays on different monitors
Posted by eagle at 8/2/2005 2:49:13 PM
Does anyone have some ideas of how to make a grid display correctly, and to
adjust depending on the size of the monitor/screen? I find if I do not put
sizes on the grids or their columns, it will adjust according to the data.
In some cases, this is good, but in some, it's not, like with a Com... more >>
Simple_question:__e.Item.Cells(0).Controls=AD(0)
Posted by davidfox789 NO[at]SPAM hotmail.com at 8/2/2005 8:26:19 AM
I am new at this.. probably not proficient enough to even consider
myself a Newbie yet. :-)
I have a DataGrid with Template columns. After the user edits a field
in the DataGrid and presses Update, the UpdateCommand code executes no
problem. However...
Normally I read the newly edited co... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Datagrid-Column Autowidth
Posted by Jan Waiz at 8/1/2005 7:37:16 PM
Hi All,
in my Datagrid the Columns will be shown with the Width that is defined (?)
by the Headertext. If the Text of a Row is larger than the Headertext, the
Text in the Cell will be wrapped.
How can i make the Columns to be "Auto-Width"-Ready?
TIA and Regards
Jan Waiz
... more >>
Editing only certain items.
Posted by eagle at 8/1/2005 5:17:39 PM
How do I set dynamically which items I want to edit when I go into Edit
mode. The code below puts the entire row into Edit mode. The user has 2
buttons, one button uses the code below to edit the entire row, but the
other button wants to allow only certain fields to be editable, with the
o... more >>
Retrieving Cell Number
Posted by Newbie at 8/1/2005 4:15:06 PM
Hi,
Is there a way to retrieve the cell location clicked in a datagrid? For
example, if I want to make all of the cells, clickable, to determine which
exact cell (not row) was clicked.
On click link something like:
<a href="www.newpage.com?e.item.cells(?)">
Thanks in Advance
... more >>
|