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

How to add Callendar popup to FIlterItem

4 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 02 Aug 2011, 01:17 PM
Hello again..can someone show me an example to add a callendar popup to my FilterItem inside my RadGrid like we can see on:

http://demos.telerik.com/aspnet-ajax/salesdashboard/   

on the orders tab?

4 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 02 Aug 2011, 01:54 PM
Hello Ricardo,

You can add a Calender PopUp to FilterItem using FilterTemplate as shown below:
aspx:
<telerik:GridDateTimeColumn UniqueName="Date" DataField="Date" HeaderText="Date">
    <FilterTemplate>
       <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
       </telerik:RadDatePicker>
   </FilterTemplate>
</telerik:GridDateTimeColumn>

Thanks,
Shinu.
0
Ricardo
Top achievements
Rank 1
answered on 02 Aug 2011, 02:30 PM
Thanks Shinu, but at this moment i have all FilterItems with the TextField white and that one with the date at black...How I put all with the same Black color??

I'm using
<style type="text/css">
        .RadGrid_Black .rgFilterBox
        {
            background-color:White !important;
            color: Black !important;
        }
    </style>

How can i use the same color to all filters??I like the Black that the time column filter has...

All the others are

GridBoundColumn

0
Princy
Top achievements
Rank 2
answered on 02 Aug 2011, 02:56 PM
Hello Ricardo,

Try using the following CSS.
CSS:
<style type="text/css">
  .RadGrid_Black .rgFilterBox
    {
      background-color:#454545 !important;
    }
</style>

Thanks,
Princy.
0
Ricardo
Top achievements
Rank 1
answered on 02 Aug 2011, 02:59 PM
Thanks that works...I have to use the color code instead of the name Black?
Tags
Grid
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ricardo
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or