Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
188 views
Hi Telerik,

I'm using Telerik Version Q3 2008 (2008.3.1105). Why does the text in RADEditor not get displayed as it is?

For example, while editing some text inside RADEditor, I specifically change the text to COURIER NEW and I know that it gets saved in the database in such a font. But when it get's displayed, not only does it change the font to something that is not COURIER NEW, it also changes the font-size. When I go back to RADEditor, you see the text again as how I formatted it.

Clearly, What I see is not what I get.

Is this a known bug? And has this been fixed in the next version after what we have Version Q2 2009 (2009.2.826) ?

Please advise.

Thanks,
Virgil


Virgil Rodriguez
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
231 views
Hi,

I'm running into an odd problem where my long-running ajax request is being aborted. The aspx page is as follows:

<form id="form1" runat="server">
    <telerik:RadScriptManager ID="ScriptManager" runat="server" />
    <telerik:RadAjaxManager id="RadAjaxManager1" runat="server" RequestQueueSize="100" OnAjaxRequest="AjaxManager_OnRequest" ClientEvents-OnRequestStart="onRequestStart();" ClientEvents-OnResponseEnd="closeWindow();">
    </telerik:RadAjaxManager>
 
 
    <script language="javascript" type="text/javascript">
        function onRequestStart() {
            alert('Ajax request starting');
        }
 
        function closeWindow() {
            var win = window.frameElement.radWindow;
            win.BrowserWindow.redirect_to_default();
        }
    </script>
    <telerik:RadAjaxPanel ID="RadAjaxPanel" runat="server">
     
    </telerik:RadAjaxPanel>
    <telerik:RadProgressManager ID="ProgressManager" EnableMemoryOptimization="true" runat="server" />
    <telerik:RadProgressArea ID="ProgressArea"  runat="server" Skin="Windows7" />       
     
    <telerik:RadCodeBlock ID="cb1" runat="server">
    <script language="javascript" type="text/javascript">
        var isRunOnce = false;
        function pageLoad() {
            if (!isRunOnce) {
                var manager = $find("<%= RadAjaxManager1.ClientID %>");
                if (manager)
                    manager.ajaxRequest('<%=Request.QueryString["g"] %>');
                isRunOnce = true;
            }
        }
    </script>
    </telerik:RadCodeBlock>
</form>

However, every time the page executes the progress bar gets to 35% (it takes it a few minute to get there) and then Firebug shows that the request has been aborted.

I don't believe another request is starting because the onRequestStart() method is only executed once.. but closeWindow() method is executed (right after Firebug displays the 'aborted' status)

Does anybody have any ideas what could be causing this?

Thanks.

- Chris
Chris
Top achievements
Rank 1
 answered on 18 Nov 2010
2 answers
95 views
Our site uses power reviews and we are going to be testing a new details page with tabbed content. We'd like to have one of the tabs have the star rating image for that product instead of text. The reviews call to make that image is:

<script type="text/javascript">POWERREVIEWS.display.snippet(document, { pr_page_id : "PAGE_ID" });</script>

PAGE_ID is a token that gets replaced by the sku # by the vb.net code behind.

Can I get some suggestions on how to add this to the radTab?
Nik
Top achievements
Rank 1
 answered on 18 Nov 2010
7 answers
583 views
Hi Telerik

I am using RadUpload Control, I have problem that everytime I upload files, those files remain in uploadfiles method or array.
I want to clear those previous files name once they uploded. when ever I upload one file and save file info into database then if I try to refresh the page then the file previously uploaded will be uploaded again.

I want to delete uploaded files from memory. I mean to say How can I clear the Files from Rad upload memory or How to Clear RadControl Control after Successfully uploading the Files.

Please Help!!!!

Munendra Maheshwari
Cori
Top achievements
Rank 2
 answered on 18 Nov 2010
2 answers
98 views
Hi there

How do I prevent the user to enter appointments in a weekview for times that have already past?

I don't want the user to be able to enter appointments prior to date.time.now.

How do I go about it. Is it possible to color the passt times in a weekview differently.?

Regards Markus
Markus
Top achievements
Rank 2
 answered on 18 Nov 2010
2 answers
138 views
Hello,

I really like your demo with slot selection with dragging over the time slot area, however I could not find the way how to use this functionality in ASP.NET MVC.
I'm using  OnClientTimeSlotContextMenuItemClicked="TimeSlotContextMenuItemClicked" event, but I can find only starttime in eventArgs. Can You please suggest me, how to obtain end time in selected slot area?


function TimeSlotContextMenuItemClicked(sender, eventArgs) {
  var type = eventArgs.get_item().get_value();
  var time = eventArgs.get_slot().get_startTime().format('dd/MM/yyyy H:mm');
}

radScheduler settings:

<telerik:RadScheduler runat="server" ID="RadScheduler1" AllowDelete="false" AllowEdit="true"  OnClientRequestFailed="requestFailed"  EnableExactTimeRendering="true"
           RowHeight="16px"  AllowInsert="false" MinutesPerRow="15" StartEditingInAdvancedForm="false"
           StartInsertingInAdvancedForm="false" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick"
           OnClientTimeSlotContextMenuItemClicked="TimeSlotContextMenuItemClicked" OnClientTimeSlotClick="OnClientTimeSlotClick"
           OnClientAppointmentDeleting="OnClientAppointmentDeleting" OnClientAppointmentDataBound="OnClientAppointmentDataBound"
           Height="900px" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked"
           OnClientAppointmentContextMenu="OnClientAppointmentContextMenu"
           SelectedView="WeekView" DayHeaderDateFormat="dddd, dd MMMM yyyy" HoursPanelTimeFormat="HH:mm"
           OnClientAppointmentsPopulating="dataPopulating" OnClientAppointmentsPopulated="dataPopulated" Culture="cs-CZ">
            
           <AppointmentContextMenus>
               <%--The appointment context menu interaction is handled on the client--%>
               <%--See the JavaScript code above--%>
               <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
                   <Items>
                       <telerik:RadMenuItem Text="Export iCalendar" Value="GenerateVCal" ImageUrl="~/Content/Images/Icons/iCalendar16.png" />
                       <telerik:RadMenuItem IsSeparator="True" />
                       <telerik:RadMenuItem Text="Edit" Value="CommandEdit" ImageUrl="~/Content/Images/DataEditing/Edit.gif" />
                       <telerik:RadMenuItem Text="Delete"  Value="CommandDelete" ImageUrl="~/Content/Images/DataEditing/Delete.gif" Enabled="True" />
                   </Items>
               </telerik:RadSchedulerContextMenu>
           </AppointmentContextMenus>
           <TimeSlotContextMenus>
               <telerik:RadSchedulerContextMenu runat="server" ID="TimeSlotContextMenu">
                   <Items>
                       <telerik:RadMenuItem Text="CreateAppointment" Value="CreateAppointment"  />
                       <telerik:RadMenuItem Text="CreateTask" Value="CreateTask"  />
                       <telerik:RadMenuItem Text="CreateEmail" Value="CreateEmail"  />
                       <telerik:RadMenuItem Text="CreateCall" Value="CreateCall" />
                        <telerik:RadMenuItem Text="CreateTimesheet" Value="CreateTimesheet" />
                   </Items>
               </telerik:RadSchedulerContextMenu>
           </TimeSlotContextMenus>
           <TimelineView GroupBy="Calendar" GroupingDirection="Vertical" />
           <AdvancedForm Enabled="false" EnableResourceEditing="false" />
           <WebServiceSettings Path="~/Models/SchedulerWebService.asmx" ResourcePopulationMode="ClientSide" />
       </telerik:RadScheduler>
   </telerik:RadCodeBlock>

Nikolay Tsenkov
Telerik team
 answered on 18 Nov 2010
1 answer
138 views
Hello,

Having a minor display issue with the client events rowmouseover/rowmouseout.  I think it's more of a JS/HTML issue than a telerik issue.  But to confirm: I display a popup when the user mouses over a row in the grid.  The issue is that when the user doesn't mouse out of the row, but mouses across cells in the same row, this triggers the mouseout/mouseover events.  Is there a way to circumvent that?  I have an idea of what I can do, but I was wondering if there is something built-in that I could adjust for this issue.

Thanks.
Mira
Telerik team
 answered on 18 Nov 2010
1 answer
73 views
Hi

Our client is asking for the time to be displayed horizontally and resources to be displayed vertically, are there any plans to add this to the scheduler control?
Nikolay Tsenkov
Telerik team
 answered on 18 Nov 2010
2 answers
133 views
<telerik:GridTemplateColumn UniqueName="MyColumn" DataField="MyColumn">
    <ItemTemplate>
        <telerik:RadComboBox ID="rcbMyList" runat="server"
            OnClientSelectedIndexChanged="MyListChanged" >
        </telerik:RadComboBox>
    </ItemTemplate>
</telerik:GridTemplateColumn>

A master view of a gird is set to EditMode="InPlace" and InsertItemDisplay="Bottom". Suppose a new row has been added by clicking a button and the new row looks like just another "existing" row.

What I need is, updating other elements in the new row when the index of a combo box in the new row is changed, and all things should be done at client side.

I tried to set up a client event handler but I don't know how to get the elements in the new row in my event handler (javascript). I would say my javascript works for existing rows - I can get any row from the object "sender.get_parent()" - but it doesn't work for the new row.

Any idea about this problem?

--Y. Fan
Yu
Top achievements
Rank 1
 answered on 18 Nov 2010
3 answers
128 views
Hi,

When any field is changed in the filter expressions, the preview string is refreshed if the AllowFilterOnBlur property is set to true. Can you tell me which event is triggerred at that time? I need to add some code to do something when this happens. If there are events defined on the client side and on the server side, please list all of them.

Thanks a lot!

Bruce
Vasil
Telerik team
 answered on 18 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?