Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
293 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
177 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
171 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
138 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
158 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
113 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
93 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
65 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
3 answers
193 views
When I place my mouse cursor on the Radschedulers DatePicker, I see 2 tool tips one showing the wrong date. I do not know from where it is setting the value. I am sending you the snapshot of the DatePicker showing the wrong date and also the markup of radscheduler and tooltip manager. If I set the AutoTooltipify field of RadToolTipManager to "false" it disables the tooltip for all the controls in RadScheduler, I don't want to do that Also note that, I want only the default tooltip(the one with yellow background) to be displayed for DatePicker. Please let me know how can I resolve the issue.

 <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Animation="Fade"
                                AutoTooltipify="True" HideEvent="LeaveToolTip" OnClientBeforeShow="clientBeforeShow">
 </telerik:RadToolTipManager>






AratiS
Top achievements
Rank 1
 answered on 18 Jul 2012
2 answers
183 views
Hello, standard site navigation can display nodes based on their authority to the navigate url page. Does SiteMap have the same functionality?

this functionality is generally handled by a setting in the web.config file.

Please let me know.
Thanks
Danny
Top achievements
Rank 2
 answered on 18 Jul 2012
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?