Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
222 views
Hi,

When I disable the RemoveScripts and EncodeScripts filters and paste the following javascript to the RAD editor:

<script type="text/javascript">
document.write('test');
</script>

I get the "Permission denied" error in the "telerik.web.ui.webresource.axd" file when using the IE 8 browser. In other browsers this script is successfully executed without any errors.

Please provide me with a workaround and reason for this.

Best regards,
Vitaliy
Rumen
Telerik team
 answered on 14 Sep 2012
2 answers
155 views
Hi

I have a linkbutton that open radwindow, in the image "vista1.jpg" you see this link.

In the first clik of this link the radwindow open OK. In the image "vista2.jpg" you see stage, but when i close the radwindow and i clik the link immediately the radwindow opens as shown in the image "viasta3.jpg"

this is my code:

file .aspx

<%@ Page Title="" Language="VB" MasterPageFile="~/templates/Templateadmin.master" AutoEventWireup="false" CodeFile="puntogestioncarga.aspx.vb" Inherits="admin_Gestion_Control_puntogestioncarga" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript">
        var saqtemp = jQuery.noConflict();

        function openWinMiPerfil(usuariosel) {
            var oWnd = radopen("rutacarga_completa.aspx?txtusuariosel=" + usuariosel, "RadWindowchangepassw");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanelScriptppal" EnableAJAX="true" EnableEmbeddedScripts="true">
    </telerik:RadAjaxPanel>
    
    <telerik:RadWindowManager ID="RadWindowManager1"
                                                  ShowContentDuringLoad="false"
                                                  VisibleStatusbar="false"
                                                  ReloadOnShow="true"
                                                  runat="server"
                                                  Skin="Black"
                                                  EnableShadow="true"
                                                  DestroyOnClose="true"
                                                  Modal="true">
        <Windows>
            <telerik:RadWindow CssClass="sobretodo" 
                                             ID="RadWindowchangepassw
                                             runat="server" 
                                             Behaviors="Resize,Close,Maximize,Move,Reload"
                                             Width="980"
                                             Height="485"
>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    
    <asp:LinkButton ID="LinkButton1"
                              runat="server"
                             Text="Visualizar Ruta Seleccionada"
                              OnClick="abrircambiocontra"
                             CssClass="txt110066CC"
                              CausesValidation="false">
    </asp:LinkButton>
</asp:Content>


file aspx.vb

Protected Sub abrircambiocontra(ByVal sender As Object, ByVal e As EventArgs)
        Dim scriptfinal As String = "openWinMiPerfil('" & lblusuarioensession.Text & "'); return false;"
        RadAjaxPanelScriptppal.ResponseScripts.Add(scriptfinal)
    End Sub


please help me, I do not understand why this happens.

Juan
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
286 views
Hello,

Got a problem today: exception: invalid pattern (during rendering)

version: 2012.2.724.40
<telerik:RadNumericTextBox ID="rnt_EmployeeCount" Width="70px" ShowSpinButtons="true" MinValue="0" MaxValue="9999999" Style="text-align: right;" runat="server"
    NumberFormat-DecimalDigits="0" NumberFormat-ZeroPattern="0" />

It seems that when i set a value of zero to (rnt_EmployeeCount.Value = 0) this error occurred. Other values worked fine.
When I delete NumberFormat-ZeroPattern="0"  the problem disappears... seems like a bug?

Kind regards,

Erik



Milena
Telerik team
 answered on 14 Sep 2012
3 answers
211 views
Further to this earlier post of mine, I encountered a new problem whereby I couldn't properly retrieve the value entered in the TextBox in the secondary RadWindow.  Instead of the actual value entered, I was always getting "0" as the Text property.

So I read everything I could find including this and this but none of these solutions seemed to work.

I eventually resorted to using the TextBox's onblur event to store the final value entered into a HiddenField control on the page.  I could then retrieve this value successfully from my server-side code.

But I'm wondering, is that the only (easiest?) way to pass back such a value from a secondary RadWindow?

Note: All of my RadWindows have Ajax UpdatePanels on them.

Robert
rdmptn
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
52 views
Hi,

I am facing issue in Rad combo box. On initial page load there are multiple values in rad combo box so it displayed scroll bar in combo item list.After that on condition bases i am filling this rad combo box on client side, after filling if combo box has only 2-3 values available then it displayed hidden scroll bar space in item list as below:



so, how can i remove the hidden scroll bar space ?

Kalina
Telerik team
 answered on 14 Sep 2012
1 answer
63 views
I have rad window with search criteria... when user selects the criteria and press submit button it will get the records from the database and assigning the records from data table to excel. Is there any  way i can show the progress bar in the rad window while export to excel.

Is there anything like radupload..
Marin Bratanov
Telerik team
 answered on 14 Sep 2012
1 answer
229 views
Hello,
         I am using an html table to populate rows in item template of radcombobox. my first column in html table is checkbox and later are label controls. How can I access which checkboxes are checked on a button click? I am using this code but, it only returns 1 row:

 Table mytbl = (Table)ddnInfo.Items[0].FindControl("tblinfo");
        Response.Write(mytbl.Rows.Count.ToString());
        foreach (TableRow row in mytbl.Rows)
        {
            var checkBox = (CheckBox)row.Cells[0].Controls[0];

            if (checkBox.Checked)
            {
                Response.Write("checked");
            }
          

        }
Shinu
Top achievements
Rank 2
 answered on 14 Sep 2012
1 answer
87 views
Hello,

Im trying using radwindow as mdi, until now its works fine, but when i open multiple windows and when i click on other window, i cant put focus on fisrt element of the window activated, the focus stays in any textbox on last window.

Sry for my english, because im brazilian learning english.

Tnks.
Marin Bratanov
Telerik team
 answered on 14 Sep 2012
1 answer
50 views
I think there may have been a change of behavior in how RadTextBox controls deal with multiline input in the latest quarterly release:

Previously, when a multiline value was supplied that included line breaks (when the user hits ENTER), the text posted back would include a '\r\n' to delineate the break. Now, the text posted back seems to include just the single '\n' character to delineate the break.

Telerik - can you please confirm the change in behavior? Is there any way of having the control go back to specifying a line break via '\r\n' instead? Need to know as we're going to have to change a lot of code in order to compensate. Please advise.

Thanks,

- Mike Oliver
Martin
Telerik team
 answered on 14 Sep 2012
1 answer
68 views

Hello Telerik Team,

I have used RadToolTip in my site extensively. Recently I have updated the Telerik version to “2012.2.724.35” and after that i am facing formatting issues related to RadToolTip.

Older Version we were using: 2011.1.519.35
New Version currently we are using: 2012.2.724.35

I have gone through on all release notes between the above two versions and as per the release note of “Q1 2012 (version 2012.1.215)” there is a improvement in default padding and/or margin to the content area and Tooltip title element for better UI and visualization. But these formatting improvements forced to change the other controls position present inside the RadToolTip control since in the new Telerik version the RadToolTip captures the more padding space which minimize the actual content area where the other controls are present.

To resolve this issue I have to change many of the pages in our project but it takes huge time to do changes for all RadToolTip.
Kindly suggest, is there any way to apply the older padding to RadToolTip or override the RadToolTip default padding?

Please suggest any workaround to get rid from these formatting issues.   

Thanks,
Ashish

Marin Bratanov
Telerik team
 answered on 14 Sep 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?