|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Resize Gridview width (not column width) based on size of data brought back.Does anyone know of a way to resize a gridview based on the size of
the data being placed inside the gridview. For example my gridview is populated dynamically from any number of different tables. Some with only a few columns and some with many columns with large amounts of data. I want to have the gridview property Gridview1.Width = Unit.Pixel(400) when small and something like Gridview1.Unit.Pixel (900) when many columns are brought back. Thanks in advance for the help. Hartman_Ra***@Hotmail.com On 9 June, 06:06, Hartman_Ra***@Hotmail.com wrote:
> Does anyone know of a way to resize a gridview based on the size of Use the GridVIew1.Columns.Count property during the> the data being placed inside the gridview. For example my gridview is > populated dynamically from any number of different tables. Some with > only a few columns and some with many columns with large amounts of > data. I want to have the gridview property Gridview1.Width = > Unit.Pixel(400) when small and something like Gridview1.Unit.Pixel > (900) when many columns are brought back. > > Thanks in advance for the help. > > Hartman_Ra***@Hotmail.com GridView1.DataBound event to decide what value to set GridView1.Width
Integrating scripts with html
Simple composite control fires event fires first time but not second Adding "other" data in a formview on insert and update Web format templates Using a radiolistbox control within a datalist control Persisting complex data between calls Grid view Login Controls full screen web page Crochet Hats (paypal payment |
|||||||||||||||||||||||