This is a migrated thread and some comments may be shown as answers.

a second header

7 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
yusuf.nar
Top achievements
Rank 1
yusuf.nar asked on 26 Jul 2008, 09:05 AM
i want to implement a second header, for some purposes. how can i do that?
i tried of using footer for this. but i cannot show footer just below the header part. i need your help.

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Jul 2008, 04:16 AM
Hi,

Go through the following help article which explains how to implement multi-level headers with RadGrid.
Customizing with GridTemplateColumn

Thanks
Shinu.
0
yusuf.nar
Top achievements
Rank 1
answered on 30 Jul 2008, 06:31 AM
in this case, i think we will not be able to use sorting mechanism oıf the grid, so i think this is not a useful solution..
0
Sebastian
Telerik team
answered on 30 Jul 2008, 06:35 AM
Hi yusuf.nar,

You can still take advantage of the sorting feature of the grid by specifying CommandName/CommandArgument for the buttons inside the header template of the column. Review the last column definition on this online demo for more details:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/ColumnTypes/DefaultCS.aspx

Best,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
yusuf.nar
Top achievements
Rank 1
answered on 30 Jul 2008, 07:03 AM
Stephen,

thank you very much for your good support,

the second step of my problem is that i want to place a dropdown list box under header text, when the user selected any item from dropdown, any operation will be done with this argument. how can i achive this?

Regards,
0
Sebastian
Telerik team
answered on 30 Jul 2008, 07:44 AM
Hello yusuf.nar,

If you are referring to filtering capabilities for such type of template columns, review the sample project from the following code library entry:

http://www.telerik.com/community/code-library/submission/b311D-khebd.aspx

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
yusuf.nar
Top achievements
Rank 1
answered on 30 Jul 2008, 07:50 AM
Stephen,

I will not use filtering, i am trying to make a custom behaviour with this dropdown and other server controls, in the same way i posted in previous post. Is there a way to achive this issue?

Regards,
0
Sebastian
Telerik team
answered on 30 Jul 2008, 07:58 AM
Hi yusuf.nar,

The codeless sorting capability can be achieved with buttons only since dropdown list or other controls does not have CommandName/CommandArgument values. If you would like to sort the records using dropdown, you will need to achieve that with your custom code implementation which strictly depends on your requirements and configuration schema.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
yusuf.nar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
yusuf.nar
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or