Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Having 2-row customized header within the DataGrid

Reply
Thread Tools

Having 2-row customized header within the DataGrid

 
 
Martin Raychev
Guest
Posts: n/a
 
      02-20-2004
Hi,

I am trying to create a page in ASP.NET with the DataGrid control while
looking to my previously programmed ASP pages with ordinary HTML tables.

The problem is that I cannot find a way to create a custom header to my
table emitted from the DataGrid control. It has several columns some of
which are like subcategories of a parent category. Like this:

**********************
* PERSON *
**********************
* First Name * Last Name *
**********************
* {data} * {data} *

i.e. with simple plain HTML table it's quite possible, yet it seems that
this is not with the ASP.NET DataGrid. I've tried with a HTML table just
glued to the top of the DataGrid but it's not the same effect - it's quite
obvious. The other thing I thought is having a template column and write
both FirstName & LastName in ONE Column. However still the question of
putting an additional top row to the header remains.

Has anybody got a solution to this issue?

Thank you,

Martin Raychev


 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      03-02-2004
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Martin Raychev" <(E-Mail Removed)> wrote in message
news:uGiaTj%(E-Mail Removed)...
> Hi,
>
> I am trying to create a page in ASP.NET with the DataGrid control while
> looking to my previously programmed ASP pages with ordinary HTML tables.
>
> The problem is that I cannot find a way to create a custom header to my
> table emitted from the DataGrid control. It has several columns some of
> which are like subcategories of a parent category. Like this:
>
> **********************
> * PERSON *
> **********************
> * First Name * Last Name *
> **********************
> * {data} * {data} *
>
> i.e. with simple plain HTML table it's quite possible, yet it seems that
> this is not with the ASP.NET DataGrid. I've tried with a HTML table just
> glued to the top of the DataGrid but it's not the same effect - it's quite
> obvious. The other thing I thought is having a template column and write
> both FirstName & LastName in ONE Column. However still the question of
> putting an additional top row to the header remains.
>
> Has anybody got a solution to this issue?
>
> Thank you,
>
> Martin Raychev
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
datagrid having row header and column header krishna.dwivedi@gmail.com ASP .Net Datagrid Control 0 07-13-2006 08:20 AM
Any way to reorder how a datagrid is drawn (header/footer/items vs.header/items/footer)? Henrik ASP .Net Datagrid Control 1 07-06-2006 12:23 AM
Customized dynamic Datagrid component - help please =?Utf-8?B?UmV6YSBTb2xvdWtp?= ASP .Net 1 03-09-2005 01:37 AM
Editing records in Datagrid with customized button. Amol MCAD 1 02-19-2004 10:59 AM



Advertisments