Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
 

Hi Telerik Team,

I'm using telerik Version=2008.1.415.35

I'm encountering this exception while using filter template to filter out the grid data based on selected date.

Parser Error Message: Type 'Telerik.Web.UI.GridBoundColumn' does not have a public property named 'FilterTemplate'.

<%@RegisterAssembly="Telerik.Web.UI,Version=2008.1.415.35,Culture=neutral,PublicKeyToken=121fae78165ba3d4"Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<head runat="server">

<telerik:radscriptblock id="RadScriptBlock2" runat="server">

<script type="text/javascript">

function DateSelected(sender,args)

{

var tableView = $find("<%=gdFilesReport.OwnerTableView.ClientID %>");

var date = FormatSelectedDate(sender);

tableView.filter("File_Received_Date", date, "EqualTo");

}

function FormatSelectedDate(picker)

{

var date = picker.get_selectedDate();

var dateInput = picker.get_dateInput();

var formattedDate = dateInput.get_dateFormatInfo().FormatDate(date, dateInput.get_displayDateFormat());

return formattedDate;

}

</script>

</telerik:radscriptblock>

</head>

<telerik:GridBoundColumn UniqueName="FILE_NAME" DataField="FILE_NAME" HeaderText="File Name" allowfiltering="False">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="File_Received_Date" DataField="File_Received_Date" HeaderText="File Received Date"

HeaderStyle-Width="100px">

<FilterTemplate>

<telerik:RadDatePicker ID="Received_Date" runat="server" Width="100px" DbSelectedDate='<%# SetFileReceivedDate(Container)%>'

ClientEvents-OnDateSelected="DateSelected"/>

</FilterTemplate>

Protected Function SetFileReceivedDate(ByVal container As GridItem) As System.Nullable(Of DateTime)

If container.OwnerTableView.GetColumn("File_Received_Date").CurrentFilterValue = String.Empty Then

Return New System.Nullable(Of DateTime)()

Else

Return DateTime.Parse(container.OwnerTableView.GetColumn("File_Received_Date").CurrentFilterValue)

End If

End Function

Can any one help me out to fix this issue.

Thanks

Nikolay Rusev
Telerik team
 answered on 22 Jun 2009
1 answer
172 views
I have a simple menu using custom CSS. I am trying to center the menu text and it works for the sub menu items but not the top menu item. Please tell me what I am doing wrong:

<td colspan="5" align="center" valign="top"><table width="100%" height="51" border="0" cellpadding="0" cellspacing="5">
          <tr>
            <td width="20%" height="33" align="center" bgcolor="#002C77">
            <%--Welcome--%>
            <div id="WhiteLink3">
                        <telerik:RadMenu ID="RadMenu2" runat="server" Width="100%" Flow="Vertical" Skin="" style="font-size: 12pt; font-family: verdana; background-color:transparent; text-align:center !Important;"
                             EnableEmbeddedSkins="False">
                            <CollapseAnimation Duration="400" Type="InCubic"/>
                            <Items>
                                <telerik:RadMenuItem runat="server" Text="Welcome" BackColor="Transparent" CssClass="top_heading">
                                    <GroupSettings ExpandDirection="Down"/>
                                    <Items>
                                        <telerik:RadMenuItem runat="server" Text="About WABF" backcolor="#F2F2F2" Font-Size="8pt" Width="140px" FocusedCssClass="" ForeColor="Black" CssClass="RadSubMenu_Padding_TopItem" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Welcome From The Dean" backcolor="#F2F2F2" Font-Size="8pt" Width="140px" FocusedCssClass="" ForeColor="Black" CssClass="RadSubMenu_Padding" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Welcome From The Co-Chairs" backcolor="#F2F2F2" Font-Size="8pt" Width="140px" FocusedCssClass="" ForeColor="Black" CssClass="RadSubMenu_Padding" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Sponsors" backcolor="#F2F2F2" Font-Size="8pt" FocusedCssClass="" Width="140px" ForeColor="Black" CssClass="RadSubMenu_Padding" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" Text="Contact Us" backcolor="#F2F2F2" Font-Size="8pt" FocusedCssClass="" Width="140px" ForeColor="Black" CssClass="RadSubMenu_Padding_BottomItem" NavigateUrl="">
                                        </telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>
                    </div>
            </td>

CSS:
.RadMenu_DefaultSkin
    {
       font: bold 12px verdana;
       color:white;
    }
    
    .RadMenu_Padding
    {
        padding:10px;
        text-align: left;
        background-color:Transparent;
        color: White;
        font-family: Verdana;
    }
    .RadSubMenu_Padding
    {
        padding: 6px 8px 6px 8px;
        text-align: left;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 1px outset #F9AE7C;
        border-bottom: 1px outset #999999;
        font-family: Verdana;
        white-space: normal;
    }
    .RadSubMenu_Padding_TopItem
    {
        padding: 6px 8px 6px 8px;
        text-align: center;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 1px outset #444444;
        border-bottom: 1px outset #F9AE7C;
        font-family: Verdana;
        text-decoration: none;
        white-space: normal;
    }
    .RadSubMenu_Padding_BottomItem
    {
        padding: 6px 8px 6px 8px;
        text-align: left;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 1px outset #F9AE7C;
        border-bottom: 1px outset #444444;
        font-family: Verdana;
        white-space: normal;
    }
    .RadSubMenu_Padding_SeparatorItem
    {
        padding:0px;
        border-left: 1px outset #444444;
        border-right: 1px outset #FF7700;
        border-top: 0px;
        border-bottom: 0px;
    }
    .RadSubMenu_Padding:hover
    {
        color: White !important;
        background-color: #999999 !important;
    }
    .RadSubMenu_Padding_TopItem:hover
    {
        color: White !important;
        background-color: #999999 !important;
    }
    .RadSubMenu_Padding_BottomItem:hover
    {
        color: White !important;
        background-color: #999999 !important;
    }
#WhiteLink3 A:LINK {
        color:white;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }

        #WhiteLink3 A:VISITED {
        color:white;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }

        #WhiteLink3 A:HOVER {
        color:#991E32;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }

        #WhiteLink3 A:ACTIVE {
        color:white;
        text-decoration:none;
        cursor:hand;
        text-align:center!Important;
        }






Yana
Telerik team
 answered on 22 Jun 2009
1 answer
97 views
Hi,

I am facing an issue in the rad Scheduler.
I can able to book the appointments in the Rad Scheduler. When i made the single clik on the Date cell which had the appointments it redirect me to the Day view. I wan to block this day view. Always i want the month view only when any operations happend on the scheduer.

Can any one help me ragarding how i can able to perform this.

Thanks & Regards,
Sushanth Mathew
Shinu
Top achievements
Rank 2
 answered on 22 Jun 2009
1 answer
128 views
Hello,

our customer is using RAD Editor 5.2.2 for MOSS (installed as a WSP package), with translations to Spannish.

but some messages are not translated (like when mouse over),

the messages are "ColorPicker", "AlignmentSelector" (in table properties).

Is there a solution to this?

Thanks in advance.


Stanimir
Telerik team
 answered on 22 Jun 2009
1 answer
114 views
Hi ,
           i am dynamically generating dock windows and in the docks i have another user control which again dynamically generates rad color picker. whenever i am choosing a color from the rad color picker a postback is done and due to which my dock window disappears. Is there a solution to this problem. Please help ...its really needed.


Regards,
Ajit
Petko
Telerik team
 answered on 22 Jun 2009
2 answers
106 views
Hi,
      I am dynamically generating dock windows.  I have a asp:button on the rad dock and whenever i click on it the dock window disappears. I know it is happening because of a postback but please could you provide me with a solution to get over this issue. I have tried using an update panel but it raises a java script error maybe because i am  other ajax settings . Please provide me with some feedback without using update panel.

Regards,
Ajit
Petko
Telerik team
 answered on 22 Jun 2009
1 answer
67 views
Hi,

we are a company that is currenly looking for purchasing a product that supports right to left and your framework is one of the best.

The selection criterion is to support complex user controls based interface.

We built the following sample : a web page containing a TabStrip that ajax-loads a component in a panel (we use AjaxManager). The contained component cointains a panel bar and an other panel that will contains also other controls.

The problem is that hierarchy works with the first level (tab strip, first panel) but not with the second level where the page seems to be mute (no reponse).

How can we achieve multi-level navigation system ?
Paul
Telerik team
 answered on 22 Jun 2009
3 answers
217 views
Hi all,
i use image manager as a stand-alone dialog, managed by RadDialogOpener object.

How to disable new folder button?
How to disable image editor?

Thanks in advance,
best regards

Flavio
Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
 answered on 22 Jun 2009
2 answers
135 views
Hello
I've noticed a following bug in Internet Explorer 8:

scenario:
  1. my page contains RadGrid;
  2. after clicking a row in the grid popup window (RadWindow) is opened
  3. the popup contains a combo box
  4. move the popup to position where combobox from the popup overlays a clickable element (a row in RadGrid in this case) of parent page

when clicking several areas of combo box (especially right side of text displayed in combo box) we get a click on the element from the parent page (in this case we get a click on the RadGrid row)

this issue considers only Internet Explorer 8

this issue can be also reproduced on telerik examples site:
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
please see screen:http://img221.imageshack.us/img221/1415/windowwithcomboie8.jpg



Rafał
Top achievements
Rank 1
 answered on 22 Jun 2009
2 answers
142 views
Hi,

I don't know if it is possible,
That's why I'm asking you ^^

I want to change the language of the Sceduler interface, I want to show it in French :
For example, on the Drag-And-Drop one (here),
I want to show "Aujourd'hui" instead of "today", "Jour" instead of "Day", "Semaine" instead of "Week", ...
And this also in the Insert, Update and Delete component

I'm not sure to be clear, so you can ask questions and I'm try to answer expressly
Thanks
MARQUES
Top achievements
Rank 1
 answered on 22 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?