Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
401 views
telerik grid cannot perform '=' operation on system.datetime and string

I get this error as a popup message when trying to filter on a date field.  From the filter drop down menu I choose "Exactly the same".  However the other options give a similar error message.

The underlying field type is DateTime

Sphengle 
Sphengle
Top achievements
Rank 1
 answered on 16 Jun 2009
1 answer
88 views
This page in the help includes code that suggests that it is possible to find out why an upload has failed, but I can't see how it's doing that. At least, there's nothing in the code to tell the user that, for example, an upload has failed 'cos it's the wrong file type, or file size.

Granted, if the user had the lists and limits to hand, s/he could infer the reasons for failure from the information provided, but there's nothing in the output for those who are unaware of the limitations placed on the upload functionality by the programmer.

Can I suggest a simple string value be added to the UploadFile object that contains the reason for an upload failure?

--
Stuart
Genady Sergeev
Telerik team
 answered on 16 Jun 2009
1 answer
83 views
I have a multi-row menu as described in this article, when I installed the new version (2008.2.1001.35) it no longer behaves the same way, and the bottom row doesn't go all the way to the edge like it did before.

Also, I have one menu item with a custom template (a checkbox), previously it was not having the menu style applied to it, now it kind-of is, except that the background graphic doesn't quite fill the cell.  How can I turn off the skin for particular items?

ColinBowern
Top achievements
Rank 1
 answered on 16 Jun 2009
0 answers
86 views

Dear Forum,

I found this german blog   http://www.encodo.info/en/blogs.php?entry_id=156

Now I like to know with way of the next to is faster. Hope you can help me to understand.

 

Thank U for help

 

Best from

Dieter 

 

1st

<asp:DataList ID=“_myList” runat=“Server”>
   <ItemTemplate>
     <asp:Label … Text=‘<%# GetFormattedDate(Eval(“Birthday”)) %>’></asp:Label>
   </ItemTemplate>
</asp:DataList>

 

 

 

CodeBehind:

public partial class MyPage : System.Web.UI.Page
{

  protected String GetFormattedDate(object date)
  {
    if (date is DateTime)
    {
      return ((DateTime)date).ToShortDateString();
    }

    return String.Empty;
  }

} 

 

2nd

<asp:DataList ID=“_myList” runat=“Server”>
   <ItemTemplate>
     <birth:day id="birth001" runat="server" Birthday=‘Eval(“Birthday”) %>’/>
   </ItemTemplate>
</asp:DataList>

 

ascx

 

<asp:Label  ID="L_Birthday" runat="server" ></asp:Label>

 


public partial class UserControls_birthday : System.Web.UI.UserControl

{

public DateTime bday{

 

set

{

L_Birthday.text = value.ToShortDateString();

}

}

 

Dieter
Top achievements
Rank 1
 asked on 16 Jun 2009
1 answer
145 views
Currently the group I am in is working on an application that is designed to utilize an Outlook style bar. We have placed the Telerik panel  for the Outlook style bar but can't get the bar to stay at 100%. We have tried setting everything under the sun and still no luck. It resides in a table that is set with and absolute height. I set the height of the panelbar to 100% and it still will only open cover a partial section of the table cell.

Any clues?
Paul
Telerik team
 answered on 16 Jun 2009
1 answer
72 views
Hi
I'm using RadcomboBox and TextBox as template columns in a RadGrid.Edited values of textbox and comboBox disappears when paging occurs.I want to retain that values.
Veli
Telerik team
 answered on 16 Jun 2009
1 answer
102 views
Hello,

I am having a persistently-intermittent issue with the scheduler in IE7.  The scheduler loads in 'day' state.  When the user clicks 'week', 'month', 'timeline', or 'business hours', the page posts to the current url + a "#" sign.   This causes a 'directory listing' page to show rather than the appropriate scheduler display.

My scheduler is inside a directory called "UserControls" inside a user control.  This control is inside of a page in the directory "UserPages".  The URL that shows after I click any button in the scheduler is "http://localhost:2285/UserControls/#" (on my development pc, but same behavior on production). My code is below.

Thanks in advance!

Ryan

<asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
    <ContentTemplate>
        <pro:RadScheduler
            ID="CalendarRadScheduler"
            runat="server"
            Height="750px"
            Width="578px"
            ShowAllDayRow="False"
            AllowDelete="False"
            AllowEdit="False"
            AllowInsert="True"
            Skin="Office2007"
            HoursPanelTimeFormat="h:mm tt"
            MinutesPerRow="15"
            ShowFullTime="True"
            StartEditingInAdvancedForm="false"
            DataKeyField="MessageId"
            DataSubjectField="MessageText"
            DataStartField="Start"
            DataEndField="End"
            DataRecurrenceField="RecurrenceRule"
            DataRecurrenceParentKeyField="RecurrenceParentID"
            DayEndTime="18:30:00"
            DayStartTime="08:00:00"
            ShowFooter="false"
            OnClientAppointmentInserting="AppointmentInserting"
            OnClientAppointmentDoubleClick="AppointmentDoubleClick"
            OnAppointmentCreated="CalendarRadScheduler_AppointmentCreated">
            <AppointmentTemplate>
                <div>
                    <%# BusinessComponents.MessageFormatHelper.ConvertUrlsToLinks((Eval("Subject").ToString()))%>
                </div>
            </AppointmentTemplate>
        </pro:RadScheduler>
        <pro:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="320" Height="100"
            Animation="None" HideEvent="LeaveToolTip" Text="Loading..."
            OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" OnClientBeforeShow="clientBeforeShow" ShowCallout="true" />
    </ContentTemplate>
</asp:UpdatePanel>
 
Peter
Telerik team
 answered on 16 Jun 2009
1 answer
87 views

Hi

We have noticed a strange behaviour when you drag a window outside of a restriction zone, or outside of the browser window and release the left mouse button.  In this scenario, as the user moves their mouse back into the bounds, the window follows the mouse pointer until the left mouse button is clicked a second time.

To reproduce:

  • Open the Rad Window Restriction Zone example here.  We used IE 7.
  • Hold down your left mouse button on the top most window and drag the window upwards to the top of your browser window so that your mouse pointer is over the IE menus, address bars or tabs.
  • Release your left mouse button while the mouse pointer is over the menu/tabs/address bar.
  • Now move your mouse back inside of the restriction zone.  The window will continue to be dragged around until the mouse button is clicked again.

 

Is there any way to work around this problem?

Thanks in advance.

Georgi Tunev
Telerik team
 answered on 16 Jun 2009
3 answers
316 views
Can someone provide an example of creating a custom aggrgate in a Group Footer? Specifically, I'm not sure how to process the

CustomAggregate

event so that I can calculate the custom value for each group (in other words, not for the enitre data source).

Pavlina
Telerik team
 answered on 16 Jun 2009
1 answer
236 views
Hello,

we need to have the row height automaticly, the following code doesn't work:

<telerik:GridBoundColumn UniqueName="DATEINAME" HeaderText="Dateiname" DataField="DATEINAME" Groupable="false" Display="true">  
   <HeaderStyle Width="430px" /> 
   <ItemStyle Wrap="true" /> 
</telerik:GridBoundColumn> 

any idea?

Christian
Shinu
Top achievements
Rank 2
 answered on 16 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?