Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
110 views
The behavior can be seen on the Telerik demo page:  http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

1. Enable 'Real-Time HTML View' module,
2. highlight a word in the Design window,
3. delete the highlighted word
4. wait a second or two...
...the deleted word reappears.


If after step 3 I quickly click elsewhere in the design window, the deleted word does not reappear.

Can you provide a solution to this problem?

Thanks.
Trevor
Top achievements
Rank 1
 answered on 30 Aug 2012
2 answers
131 views
Hello,

How to get client id of all date picker control on a page using javascript like the way we can get array of rad comboboxes


teleric.web.ui.Radcombobox.comboboxes[i]...

so is there any way to get client id/array of date picker control


thanks,
Nilesh
Nilesh
Top achievements
Rank 1
 answered on 30 Aug 2012
1 answer
51 views
I WANT ELMAH exception handling framework to work with Telerik AJAX

SO THAT unhandeled (system) exceptions get automatically logged to ELMAH table and System Error page is displayed when an such exception occurs.

Can anybody give solution for this?

Genady Sergeev
Telerik team
 answered on 30 Aug 2012
2 answers
201 views
Hi All,

I want to transfer items from radcombox to radlistbox, I want to two radcomboxes and when the right arrows is clicked then items get added to the list box.

How can I achieve this.

any help will be apprecaited.
Thanks.
Anjali
Top achievements
Rank 1
 answered on 30 Aug 2012
2 answers
85 views
Hello.  I am trying to have my "displaying 1 of 10" element of the RadDataPager float all the way to the right.  It doesn't seem proper to use hardcoded padding when the width of the page numbers can vary.  Is there a good solution to this?  Thanks!  :-)

Code:
<LayoutTemplate>
           <telerik:    ID="RadDataPagerTop"  runat="server" IsTotalItemCountFixed="True" Skin="Windows7" Width="752px"  CssClass="Custom">
                       <Fields>
                           <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                           <telerik:RadDataPagerButtonField FieldType="Numeric" />
                           <telerik:RadDataPagerButtonField FieldType="NextLast" />
                           <telerik:RadDataPagerTemplatePageField>
           <PagerTemplate>
               <div style="float: right">
                   Displaying items
                       <asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.Owner.StartRowIndex + 1 %>" />
                       to
                       <asp:Label runat="server" ID="TotalPagesLabel" Text="<%# (Container.Owner.TotalRowCount < Container.Owner.StartRowIndex + Container.Owner.PageSize)?Container.Owner.TotalRowCount:Container.Owner.StartRowIndex + Container.Owner.PageSize  %>" />
                       of
                       <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount %>" />
                   
               </div>
           </PagerTemplate>
       </telerik:RadDataPagerTemplatePageField>
 
                   </Fields>        
                   </telerik:RadDataPager>

Angie
Top achievements
Rank 1
 answered on 30 Aug 2012
5 answers
151 views
I have dev version of RadEditorMoss_5_8_10. I am trying to make SpellChecker Available in List items of Sharepoint Foundation 2010. I installed the webpart, everything else is available except SpellChecker in Sharepoint List. Here is my web.config entry for Telerik

<SafeControl Assembly="Telerik.Web.UI, Version=2011.2.712.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.2.712.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Editor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.2.712.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Widgets" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.2.712.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditor_CSDialog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e9c701da6b1b65de" Namespace="RadEditor_CSDialog" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.8.10.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.8.10.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=2011.2.712.20, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />


I have activated

Use RadEditor to edit HTML fields

Use RadEditor to edit List Items            features

 

 

 I Can see Spell Checker when i add "
Rumen
Telerik team
 answered on 30 Aug 2012
3 answers
87 views
I copied the following code from the Splitter / External Content Demo Page 
The Code works perfectly in IE9/IE10 standards mode on the Demo Page. 
However, when I copy it to a test page on my site, the content never loads in IE9/IE10 Standards mode, and links only open in Popups.
I don't think the IFRAME is getting generated, in IE9/IE10 standards mode.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head><title>DEMO</title></head>
<body class="BODY">
  <form id="Form1" method="post" runat="server">   
   
  <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="400" Width="700">
    <telerik:RadPane ID="RadPane1" runat="server" Width="150">Left Pane<br />
      <a href="http://bing.com" target="<%= contentPane.ClientID%>">Open bing.com</a><br />
      <a href="http://www.cnn.com/" target="<%= contentPane.ClientID%>">Open cnn.com</a>
    </telerik:RadPane>
    <telerik:RadSplitBar ID="RadSplitbar1" runat="server" CollapseMode="Forward" />
    <telerik:RadPane ID="contentPane" runat="server" ContentUrl="http://blogs.telerik.com" />
  </telerik:RadSplitter>           
 
  </form>
</body>
</html>

Please help, this is driving me crazy, I don't understand how it works on the Demo page, but not on my test page...

Thanks!
Vessy
Telerik team
 answered on 30 Aug 2012
1 answer
38 views
I have a RadFileExplorer within my web page and at run-time, it displays any number of existing files and folders. Some of the file types that are displayed within the explorer are .gif, .jpg, .pdf, .png, .txt, .wmv, and more.

Users who browse to my website may experience 2 different types of behavior when they double-click on any one of the file types listed above (or when they right-click on a file and click Open). The first behavior (which is NOT the problem) that users experience when they double-click is that a radwindow will open, and display the file content. That’s the exact behavior that I want for all users to experience. In my case (I typically use IE 9), that is the default behavior that I always see. And what’s cool is that I really didn’t have to do any development work to make this happen; FileExplorer basically supports this behavior “out of the box”.

The second behavior (which IS the problem) that other users experience is that when they double-click on any one of the same exact files, they initially see the radwindow open, but it is always blank. What follows is a prompt by their browser to Save, Save As, or Cancel.

Initially I thought that the problem was a difference in browsers (IE vs. FireFox vs. Chrome, etc.). But then I discovered that some IE 9 users encountered the problem, while other IE 9 users did not.

Then I thought that maybe some client machines may not have Adobe Reader installed, or they may not have a graphical tool capable of rendering images, or something like that. But with every client machine that I investigated, they all had the necessary tools for supporting the file types listed above.

Is there some tweak that I can do with FileExplorer to ensure that the first behavior described above will always apply to every user? Is there something that I can add or modify within my web.config file?

Thank you,
Steven
Dobromir
Telerik team
 answered on 30 Aug 2012
1 answer
127 views
Hi,

I am using RadTooltipManager and getting this error. This works perfect when I hover my mouse two times on an image but when I try to hover it on third time it gives me the following error. Any help would be greatly appreciate.

Thanks


RadToolTipManager response error: Exception=Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.



Protected Sub rttm_AjaxUpdate(ByVal sender As Object, ByVal e As ToolTipUpdateEventArgs)
        
       If e.TargetControlID.Contains("imgRotator") Then
           If IsNumeric(e.Value) Then
               
           End If
       End If
        
   End Sub
 
Protected Sub radRotator_ItemDataBound(ByVal sender As Object, ByVal e As RadRotatorEventArgs) Handles radRotator.ItemDataBound
        
       Dim hidLogisticProductKey As HiddenField = e.Item.FindControl("hidLogisticProductKey")
       Dim imgRotator As System.Web.UI.WebControls.Image = e.Item.FindControl("imgRotator")
       Dim nProductKey As Integer = Convert.ToInt32(hidLogisticProductKey.Value)       
       rttm.TargetControls.Add(imgRotator.ClientID, nProductKey, True)
        
   End Sub
 
<telerik:RadToolTipManager ID="rttm" Skin="Windows7" RelativeTo="Element" ShowEvent="OnMouseOver" Width="100" Height="100"
                                   Position="TopRight" OnAjaxUpdate="rttm_AjaxUpdate" ViewStateMode="Disabled" runat="server">
                               </telerik:RadToolTipManager>
                               <asp:Label ID="lblProductDescriptionTooltip" ViewStateMode="Disabled" runat="server"></asp:Label>
                               <telerik:RadRotator ID="radRotator" Width="500" ScrollDirection="Right" RotatorType="AutomaticAdvance"
                                   ScrollDuration="1000" FrameDuration="500" runat="server" Height="100px">
                                   <ItemTemplate>
                                       <div>
                                           <asp:Image ID="imgRotator" runat="server" ImageAlign="Middle" Style="margin: 2px"
                                               ImageUrl='<%# GetImage(Container.DataItem) %>' Height="100px" Width="100px" />
                                           <asp:HiddenField ID="hidLogisticProductKey" Value='<%# Bind("LogisticProductKey") %>'
                                               runat="server" />
                                       </div>
                                   </ItemTemplate>
                               </telerik:RadRotator>
Marin Bratanov
Telerik team
 answered on 30 Aug 2012
1 answer
140 views
The chart animation looks great.

Is it possible for a chart image to be copied from a web page to another application (e.g. MS Excel or Word)? I tried copying one and pasting it into an Excel document, but it was empty. I tried both Paste and Paste Special.

Can both a top and bottom title be included?

Is it possible to add other annotations to the chart? For instance, a copyright symbol in the bottom left corner or a N value in the bottom right (e.g. something like "n=124 clients").

Can images (e.g. company logo) be placed somewhere on the chart?

Thanks...
Marin Bratanov
Telerik team
 answered on 30 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?