Telerik Forums
UI for ASP.NET AJAX Forum
28 answers
377 views
You can reproduce these problems on your rad editor demo.
  1. Open the demo and left click the RadEditor image. Note it doesn't select the image in Safari or Chrome, and thus the image properties don't appear in the Properties Inspector. But it works fine in IE, FF and Opera.
  2. However, when you select the image in Opera, you can't initially make the cursor appear in the Width, Height, nor Border Width boxes. You have the click the up arrow in the box, and then you can click inside the box to start typing
  3. Right click the image in Chrome and Safari and note the image turns blue and the properties appear in the Properties Inspector.
  4. You can then left click to remove the context menu in Chrome and Safari and manipulate the selected image in the properties inspector. But the blue overlay looks bad.
  5. Note that resizing handles do not appear on a selected image in Safari, Chrome, nor Opera.
ido nahmias
Top achievements
Rank 1
 answered on 19 Jul 2012
4 answers
141 views
Hello 

I do have used the telerik radrotator control for showing news with animationtype=fade and rotatortype=slideshow which work fine in all browsers except IE 8 which is not showing anything not even content. Can anyone help me how to resolve this issue for IE 8 browser.

Below is my code example

<div class="newsmaindiv">
    <telerik:radrotator id="radrotator1" width="340px" height="37px" RotatorType="SlideShow"
        AnimationType="Fade" FrameDuration="2000" runat="server" itemheight="37px" itemwidth="340px"
        SlideShowAnimation-Duration="2000" style="Visibility:visible\9;">
        <Itemtemplate>
                <div style="height:37px;width:340px;">           
                   <span>                 
                    <a style="font-weight:normal;font-size:12px;font-family:Helvetica; color:#ffffff; text-decoration:none;" href='/news/listnews.aspx?idnews=<%# Eval("news_id") %>'><%# Eval("news_headline") %></a>                   
                    </span>                
                </div>              
            </Itemtemplate>
    </telerik:radrotator>
</div>
Pawan
Top achievements
Rank 1
 answered on 19 Jul 2012
2 answers
308 views
Hello, I have issue with Tab key (9) pressed on radnumerictextbox. This key is not handled by OnKepPress event  in clientevents. I mean it is handled only in firefox. In IE, Chrome or Safari when pressing TAB, OnKeyPress is not fired. Other keys are working, just this one (I checked few). Is there any workaround to have TAB key handled by RadNumericTextBox in IE and Chrome?

Kind Regards
Marcin

P.S. I'm using version 2010.3.1317.40
Marcin
Top achievements
Rank 1
Veteran
 answered on 19 Jul 2012
1 answer
183 views
This is my first stab at grid. I am experienced at asp but I cant seem to create a simple example

The page is simply

-------------------------------------------------------------------------------------------------
<%@ Page Language="c#" CodeFile="TelerikGrid.aspx.cs" Inherits="Telerik.GridExamplesCSharp.Hierarchy.NestedViewTemplate.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body class="BODY">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:NewtonBidsConnectionString %>" 
        SelectCommand="SELECT DISTINCT * FROM [t2]"></asp:SqlDataSource>
    </body>
</html>
-------------------------------------------------------------------------------------------------

code behind is empty ie

-------------------------------------------------------------------------------------------------

using System;
using Telerik.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI;


namespace Telerik.GridExamplesCSharp.Hierarchy.NestedViewTemplate
{
    public partial class DefaultCS : System.Web.UI.Page
    {


 
    }
}
-------------------------------------------------------------------------------------------------


the table t2 is a very simple table with 10 columns colum0 being unique


When I add Ragrid in to the source page and select the above datasource I get the following ( in summary.. )

RadGrid - RadGrid1System.Web.HttpException (0x80004005): 'MasterTableView' could not be initialized. Details: 'Columns' could not be initialized. Details: 'Columns' could not be added to the collection. Details: 'Column 0' could not be set on property 'UniqueName'. ---> System.Web.HttpException (0x80004005): 'Columns' could not be initialized. Details: 'Columns' could not be added to the collection. Details: 'Column 0' could not be set on property 'UniqueName'. ---> System.Web.HttpException (0x80004005): 'Columns' could not be added to the collection. Details: 'Column 0' could not be set on property 'UniqueName'. ---> System.Web.HttpException (0x80004005): 'Column 0' could not be set on property 'UniqueName'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: UniqueName cannot contain spaces at Telerik.Web.UI.GridColumn.set_UniqueName(String value) --- End of inner exception stack trace --- at 


What step am I missing ?

thanks

Jagat
Top achievements
Rank 1
 answered on 18 Jul 2012
3 answers
192 views
I have read long threads and examples posted on your documentation about setting the background for the editor content area, but I cannot succesfully do it.

We do have a definition for <body> that sets a background color and image. I need to override these, but no success. I have modified the EditorContentArea.css, I have tried the ContentAreaCssFile attribute pointing it to the difinitions, and I have used normal CSS overrriding techniques using the classes you use around the textarea tag of the editor with no luck.

The threads on the forum seem to refer to an older version with style names I do not see on the current themes. I am using the RadEditor for ASP.NET AJAX product and the Web20 theme.

I am evaluating this product for use on our website, so please help or we will not be able to use you.

Thanks.
Vessy
Telerik team
 answered on 18 Jul 2012
1 answer
145 views
i am amending an application so that the add/edit functions are now showing in a popup rather than on the same page under the data grids.

so a user now clicks a data row and the update facility appears in a popup.

the original screen had validation that showed a popup window with any errors or missed fields for adding or updating.

while this validation still fires from the add/edit popup window, the popup with validation error msgs appears below my new popup whereas i would want it to show above this popup.

is there a way to do this? i couldnt see anything obvious in the window properties regarding how i might set this.

otherwise i will just have to move the validation error msgs into the update popup itself.....
Mark
Top achievements
Rank 1
 answered on 18 Jul 2012
5 answers
163 views
Hi All,

Rad upload is not working on my Rad window.. please have look below code and fix the error.

Aspx:
<telerik:RadWindow runat="server" ID="RadWindow_ContentTemplate" RestrictionZoneID="ContentTemplateZone"
         Modal="true" Skin="Office2010Blue" Height="350px" Width="478px">
         <ContentTemplate>
             <p class="contText">
                 Hi, Pleae upload photo here and click complete button..
             </p>
             <div class="contButton">
                 Upload photo :
                 <telerik:RadUpload ID="imgUpload" runat="server" ToolTip="File Size limit 500KB, (jpg, bmp, png, gif)"
                     ControlObjectsVisibility="None" Width="178px" TargetFolder="~/Upload/" OnClientFileSelected="OnClientFileSelectedHandler">
                 </telerik:RadUpload>
             </div>
             <div class="contButton">
                 <asp:Image ID="imgLogo" runat="server" Visible="true" AutoAdjustImageControlSize="false"
                     Height="123px" Width="130px"></asp:Image></div>
             <div class="contButton">
                 <telerik:RadButton ID="RadButtonUpload" runat="server" Text="Complete" Width="200px">
                     <Icon SecondaryIconCssClass="rbOpen" SecondaryIconRight="4" SecondaryIconTop="4" />
                 </telerik:RadButton>
             </div>
             <div class="contButton">
                 <telerik:RadTextBox ID="RadButton1" runat="server" Text="Upload" Width="200px" Visible="False">
                 </telerik:RadTextBox>
             </div>
         </ContentTemplate>
     </telerik:RadWindow>

Script:
<script type="text/jscript">
           function OnClientFileSelectedHandler(sender, eventArgs) {
               var img = document.getElementById("<%= imgLogo.ClientID %>");
               img.src = eventArgs.get_fileInputField().value;
           }
       </script>

please clarify the error.

Regards,

Prassin
Plamen
Telerik team
 answered on 18 Jul 2012
2 answers
125 views
Hi there

I'm having a problem with a RadRotator in CoverFlowButtons mode whereby the OnClientItemShown event is not firing in some cases. I have the rotator setup with a collection (List<>) of images with additional data stored in hidden fields, one of which is a time to display, in the itemtemplate of the items. I have a mechanism operating in the background which checks the items in the rotator at timed intervals and changes the current item to the correct one for the time, using the set_currentItemIndex method. This correctly moves the rotator on to the appropriate item regardless of whether it's the next, previous or one some distance away. But when the selected item displays in the rotator neither the OnClientItemShowing or OnClientItemShown events fire - which I am relying on to change a large version of the selected image. If I manually click on an item in the rotator or use the next or previous buttons of the rotator then it does correctly fire the events and everything works perfectly. Is there something else I need to do to get the OnClientItemShown (or OnClientItemShowing) event to fire? I originally declared the event in the definition of the rotator but have since changed it to call the .add_itemShown method in the OnClientLoad event but all to no avail. I'm sure I have already had this working some time ago but now I'm not so sure. I've even stripped out all code from the event just in case there was something of issue in the code but that's made no difference either. I'm currently on version 2012.2.607.40 and the page I am using is a content page using a site master, but all code is on my aspx page. The rotator is simply contained in a div and I have no ajax calls taking place or anything of the kind.

Any suggestions?
PaulH
Top achievements
Rank 1
 answered on 18 Jul 2012
1 answer
110 views
Hello,

I am having a textbox and it shouldnot allow decimal values. It should allow only whole numbers.

How can I do this ?
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Jul 2012
1 answer
79 views
The upload button of RadEditor is not working in IE9. Included <meta http-equiv="X-UA-Compatible" content="IE=8" /> in head.
Rumen
Telerik team
 answered on 18 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?