Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
Hi,

I have a RadCombobox on the page with checkboxes in it. This is to achieve multiple selection in my combobox. Depending on what the user selects i need to populate another combobox.
My issue is OnItemChecked event fires for every single selection. User would definitely not like this. I want the user to be able to finish all his selections and then fire an event to populate another combobox. Is there a solution for this?

Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Nov 2012
6 answers
155 views
Hello,
I am developing one application in which I want to fire some client side script after Telerik grid completes execution of export event. I am storing exported file on "GridExporting" event. It saves exported file on server successfully but fails to execute "ScriptManager.RegisterStartupScript", I am working with Ajax environment. So now I want to know that is it possible to execute some client side script after export completes successfully?

Please help.


Thanks,
Anvesh
Anvesh
Top achievements
Rank 1
 answered on 10 Nov 2012
1 answer
251 views

Hello,

I’ve gotten a “Telerik” license recently and I’ve been working the last months without problem. However, when the computer does not have internet connection, some errors occur suddenly.  Because of that, I have the following questions:

-          Does “Telerik” need internet connection to work correctly?

-          Am I doing something wrong?

I was wondering if I’ve done a bad installation of “Telerik” or, perhaps, something is missing.

To be more specific, I am using the following components:

  1. RadGrid - Telerik's ASP.NET Grid

Error:

Failed to load resource https://d2i2wahzwrm1n5.cloudfront.net/ajaxz/2012.2.607/Common/Navigation/OData/OData.js

Uncaught TypeError: Cannot set property 'scriptsFailed' of undefined Telerik.Web.UI.WebResource.axd:9

GET https://d2i2wahzwrm1n5.cloudfront.net/ajaxz/2012.2.607/Common/Navigation/OData/OData.js  Telerik.Web.UI.WebResource.axd:9

Uncaught TypeError: Cannot set property 'scriptsFailed' of undefined Telerik.Web.UI.WebResource.axd:9
 2. RadWindow - Telerik's ASP.NET Window

Error:

Failed to load resource http://aspnet-scripts.telerikstatic.com/ajaxz/2012.2.607/Common/Navigation/NavigationScripts.js

Uncaught ReferenceError: Telerik is not defined

 

I wish you could help with this problem and I would appreciate your help.

Thank you!!

Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Nov 2012
1 answer
229 views
I have a column named OrgName.
I am trying to get the numbers or Rows that have unique ORGNAME.
if there are two rows which have orgNamr= "Mac" then it should count as 1. so only the UNique columns.
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Nov 2012
1 answer
95 views
hi,
I want to zoom out/ zoom in the image from server side. Any Server side method for zoom the image using telerik image editor.
Actually i zoom out/Zoom the image from client side.But i need to do the same thing from server side.
My code:
  function OnClientLoad(sender, args) {
            if (sender._imageKey) {
              var Width = sender.getEditableImage().get_width();
              var Height = sender.getEditableImage().get_height();
           
                if (!isNaN(Number(objhdnOriginalWidth)) && Number(objhdnOriginalWidth) != 0 && !isNaN(Number(objhdnOriginalHeight)) && Number(objhdnOriginalHeight) != 0) {
                    if (objhdnOriginalWidth > 1000 || objhdnOriginalHeight > 600) {
                        var widthPercentage = (1000 * 100) / objhdnOriginalWidth;
                        var heightPercentage = (600 * 100) / objhdnOriginalHeight;
                        widthPercentage = Math.floor(widthPercentage);
                        heightPercentage = Math.floor(heightPercentage);
                        if (heightPercentage > widthPercentage) {
                             sender.zoomImage(widthPercentage);
                        }
                        else {
                            sender.zoomImage(heightPercentage);
                        }
                    }
                }
    }

please help me.
Vessy
Telerik team
 answered on 09 Nov 2012
1 answer
191 views
RadComboBox is not rendering correctly in IE 8 Standards mode, though it looks fine in IE 7 Standards Mode and in IE 9.

When rendered, the combo box is followed by a second, visible "rcbFakeInput" input also created by Telerik that causes the combo box container height to stretch, allowing more of the combo box background image sprite to be visible than should be. The result is a combo box with an undesirable, extra row of strange graphics beneath it (see attached screenshot).

<telerik:RadComboBox ID="rcbExistingRoles" runat="server"> produces the HTML/CSS below. Note the second <input> tag with class="rcbFakeInput".

Using the IE developer tools, the problem goes away if I specify a class that sets the display of the "rcbFakeInput" to none. However, I'm not sure of the purpose of this fake input and would have to hide it in numerous places in the app we are developing.

  

<div class="RadComboBox RadComboBox_Vista" id="rcbExistingRoles" style="width: 160px; position: relative;" _events="[object Object]" control="[object Object]" value="">
<table class="rcbDisabled" style="width: 100%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-collapse: collapse; table-layout: fixed;" summary="combobox">
<tbody>
<tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="width: 100%; margin-top: -1px; margin-bottom: -1px;">
<input name="rcbExistingRoles" disabled="" class="rcbInput radPreventDecorate" id="rcbExistingRoles_Input" style="display: block;" type="text" readOnly="" _events="[object Object]" autocomplete="off" jQuery17206440974672821855="2"/>
<input tabIndex="-1" class="rcbFakeInput" style="left: 5px; top: 2px; width: 133px; height: 18px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; position: absolute; z-index: 1; background-color: transparent;"/>
Ivan Zhekov
Telerik team
 answered on 09 Nov 2012
1 answer
135 views
I used this code to 'zoom out'  the large image.It working only in ie8, firefox.
Image width and height is getting '0' in other browsers.
please tell me how to get the editable image height and width in chrome browser.

Script:
 function OnClientLoad(sender, args) {
            var editor = $find("<%= rieControl.ClientID %>");
            if (sender._imageKey) {
                var Width = sender.getEditableImage().get_width();
                var Height = sender.getEditableImage().get_height();
              
                if (!isNaN(Number(Width)) && Number(Width) != 0 && !isNaN(Number(Height)) && Number(Height) != 0) {
                    if (Width > 1000 || Height > 600) {
                        var widthPercentage = (1000 * 100) / Width  
;                        var heightPercentage = (600 * 100) / Height;
                         widthPercentage = Math.floor(widthPercentage);
                        heightPercentage = Math.floor(heightPercentage);
                        if (heightPercentage > widthPercentage) {
                            sender.zoomImage(widthPercentage);
                        }
                        else {
                            sender.zoomImage(heightPercentage);
                               }
                    }
                }
            }
        }
aspx:
 <telerik:RadImageEditor ID="rieControl" runat="server" OnClientLoad="OnClientLoad" >
                    </telerik:RadImageEditor>
Vessy
Telerik team
 answered on 09 Nov 2012
6 answers
208 views
how i can convert the higri shamsi(persian) to milady date in radscheduler control???
plz help me.pleas please .......
Ali
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
94 views
When the dll compiled for asp.Net 3.5 will stop to be released  ?
Thanks
Iana Tsolova
Telerik team
 answered on 09 Nov 2012
3 answers
139 views
Having issues only with chrome. It works in all other browsers. It apears that when I open a screen with RadFileExplorer and then hit the upload button the upload screen displays properly, but when I add files in chrome parts of the screen disappear. It seems like a zored issue. I have include 2 files one is the initial the other is after I drag 2 files at one time into the uploader. If I am to drag a 3rd file then the screen grows and shows the last file loaded but hides the previous 2. When I click on the header the entire screen shows.

This is the code for the filemange on my main screen
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Style="z-index: 7001">
<Windows>
<telerik:RadWindow ID="FileManager" runat="server" Title="" Height="600px" Width="800px"
ReloadOnShow="True" Modal="True" Skin="WebBlue" VisibleStatusbar="false" ShowContentDuringLoad="false" />
</Windows>
</telerik:RadWindowManager>

this is the markup of the filemanger screen
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileManager.aspx.cs" Inherits="ComplianceClient.MarketingScreens.FileManager" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <style type="text/css">
         #<%=RadFileExplorer1.ClientID%>_uploadContainer
         {
             overflow-x: hidden !important;
         }
     </style>
</telerik:RadCodeBlock>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <asp:Literal ID="lblScript" runat="server"></asp:Literal>
        <asp:Label ID="lblErrorMessage" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
        <telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" Skin="WebBlue" Width="100%"  style="z-index:7001" >
           <Configuration EnableAsyncUpload="true" />
        </telerik:RadFileExplorer>
    </div>
    </form>
</body>
</html>

then on the load event of the screen I have
RadFileExplorer1.WindowManager.Style.Add("z-index", "100001");

Has anyone else seen this issue?  Any idea what needs to be altered?
Vessy
Telerik team
 answered on 09 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?