Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Keefe Goldfisher via .NET 247 #1
Sizing text entry boxes on in-place editing of datagrid row with dynamically created columns
Built a datagrid with dynamically created bound columns, andadded editing in-place, deletions and add-new features that workfine. One minor detail eludes us: When the datagrid goes intoedit or add mode the affected row's editable items open up intolabel-looking textboxes(?). We cannot size those boxes. (Some ofthe new columns are sized very wide on to fill out a patter inthe grid, and it looks odd to see a much tinier editable textboxopen up in the column). Have not turned up help in the ScottMitchell bible, nor on a search of this site (did our homework).The e.Item.cells(n).width attribute does not affect the edit boxsizes either, whether the technique is applied on Page_Init orin dg_ItemCreate. It seems like it might be a style issue, andwe're pursuing that, but if anyone has a suggestion... it wouldbe most appreciated. Thanks.
--------------------------------
From: Keefe Goldfisher
-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
<Id>qC92mJ8B50qRgtmxHyJExQ==</Id>
Keefe Goldfisher via .NET 247 Guest
-
Managing ViewState of a dynamically created Custom Composite Server Control -(where the original is also dynamically created)
Ok here's my scenario. I have a Custom Composite Server Control (CCSC) consisting of a TextBox, Button & Panel. (And some other code - which I... -
Column order and dynamically created columns
Hi. I have a page with a DataGrid on it that I do not want to make completely dynamic, but I'd like to be able to dynamically insert a column under... -
sorting dynamically created columns in a datagrid
problem: i have a variable number of colums in my datagrid that i create in my codebehind. Once my datagrid is build, i woud like to have the... -
problem sizing columns in datagrid
I have a datagrid that has a column that I would like to be the widest (say 60%) - however another column is populated with some data that is... -
text boxes and columns
Is it possible to split a text box into columns so that when the text gets to a certian height it wraps over to the next column? Also is there a...



Reply With Quote

