Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
We recently upgraded from 2011.1.519.40 to 2012.1.215.40.
After the upgrade, it seems the 'onkeydown' event no longer works.
Is there a problem with it?

Code:

<telerik:RadEditor CssClass="editor" ToolbarMode="ShowOnFocus" NewLineMode="Br" EditModes="All"

                                    ToolsFile="~/Setup/RadEditorSimpleTools.xml" ID="CaptionLabel"

                                    runat="server" Height="220" AutoResizeHeight="false" Width="400" onkeydown="alert('key down');"

                                    <CssFiles>

                                        <telerik:EditorCssFile  Value="EditorStyles.css" />

                                    </CssFiles>

                                    <Tools>

                                    <telerik:EditorToolGroup>

                                        <telerik:EditorSeparator />

                                        <telerik:EditorTool Name ="LinkManager" />

                                        <telerik:EditorTool Name ="Unlink" />

                                        </telerik:EditorToolGroup>

                                    </Tools>

                                </telerik:RadEditor>


In the above example the alert never shows our simple message.

We did a workaround by adding the  "OnClientLoad" function attached to the same event -  onkeydown. For example:

 

        function OnClientLoad(editor, args) {

            editor.attachEventHandler("onkeydown", function (e) { alert('key down attached from client load');

            });

        }


Rumen
Telerik team
 answered on 03 Apr 2012
5 answers
271 views
1. Please how do I get a RadEditor I added at runtime to retain its content after postback

2. And please how do I remove status bar from an editor added at runtime

I will be greatfull if given an answer

Thanks a lot
Rumen
Telerik team
 answered on 03 Apr 2012
1 answer
122 views

We have been using mojoPortal for three years now, with common controls of ASP.NET. We have a new development team, which has never worked before with mojoPortal. They are developing a new project that has technical, visual and usability requirements much more complex. To meet those requirements, we set two goals for which we are not being able to achieve with mojoPortal+RadControls:


1 - Use Telerik ASP.NET AJAX components
Apparently communication between Telerik controls is not occurring as it should. Examples: drag & drop, RadWindow, RadFilter, they simply don’t work together. Up to now, we can’t identify why it’s happening.


2 - AJAX for dynamic loading content

When we tried to load content dynamically, something strange occurs: we can access the viewstate for the dynamic controls, but we can’t modify its values.

Can anyone help us with these matters? Thanks in advance!

Maria Ilieva
Telerik team
 answered on 03 Apr 2012
2 answers
174 views
Hi,

I'm facing an issue which supposed to be Fixed in the last internal build ( Telerik.Web.UI_2012_1_327_Dev_hotfix ).

What's fixed

  • FIX New IDs are set to the template controls after first postback.

i still have the same issue i donn't know why ?

Attached some pictures shows that my radzone ClientID changed every time i do postback from inside an orgChart template , the click event that do the postback is creating a new node to the orgchart  and bind the orgchart again, so when i do that the orgchart set new IDs to the templates.

while when i do postback from a button outside the orgchart and bind the orgchart again it doesn't set new IDs.

Thank you.

 
Peter Filipov
Telerik team
 answered on 03 Apr 2012
3 answers
178 views
Hi,

I have implemented RadGrid dynamically on page_init method with detailstables and a nestedtemplate in one of the details table. The nested template contains a radtreelist control. I am able to export the items in excel and word formats but in pdf format the Radtreelist control is ignored and only the details tables without any nestedtemplate are exported. Is there any way of exporting RadTreeList along with grid?

Thanks,
Karthik 
Andrey
Telerik team
 answered on 03 Apr 2012
4 answers
193 views
I am using q2 2010. I am using the radasyn control to upload files. The Issue I am having is I can't tell which file to delete and remove. Say I have 5 files uploaded and want to remove one, since I uploaded all the files to the DB I need to delete the fiel from the DB as well as the client screen. I can'''t seen to find a way to achieve both options. I can delete from the client screen but can delete from the db becasue I can't tell which file is being deleted. I can only get the index of the file. I have searched for some documentation on the onclientdeleteing eventargs but it is no longer used by the newer version . Do you have any suggestions. I have all the id for the files uploaded and associated with each image as the image id but I can't tell which file is being deleted. Thanks in advance
Peter Filipov
Telerik team
 answered on 03 Apr 2012
4 answers
220 views
Hi,
We are using RadEditor in one our applications. When I click on custom "edit" button, sometimes we can view the Editor in "Edit" mode with the menu bar and sometimes it is appearing in "ReadOnly" mode with no menubar.

In addition, we are getting below javascript error - 

Message: Sys.ScriptLoadFailedException: The script 'http://abc.org/ScriptResource.axd?d=PXU5PYVlsSAmomgk0nyvIlpeNELXgOMdbbdJYAToZa-l1-Mo-zC2tLuxv06A5GCYRIZyeeNmQs3jF_UrNmsIcQ--Sbv2GennOczCZb5eaoooq8EGFs3xgieVsU1aNFhv5vwL9A2&t=633819774120000000' failed to load. Check for:
 Inaccessible path.
 Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
 Missing call to Sys.Application.notifyScriptLoaded().
Line: 3311
Char: 13
Code: 0
URI: http://abc.org/ScriptResource.axd?d=lLlZdKFJoJSpNbrIhm1ySYnogN0hQK--8ZYhjumziLsPkqiTRAI1Us0XWe3laPkDOlJwkGyIl4WgTS6msHl4ZFZ2EM3i2BwdB2ez7IRdsGos__UF3s2WcpHLJzlJ0dSpJHE9a6MaYTxNfPwqOCQs7oJ1yWVplRdIP9klyh5ESgT4FImf0&t=63310697697537394
3

Could you please provide me the resolution at the earliest??

Rumen
Telerik team
 answered on 03 Apr 2012
1 answer
81 views
Hi,
Here my function
function SelectedIndexChangedHandler(sender, args) {
    var $ = $telerik.$;
    if (args.get_item().get_value() == "NULL") {
        var ResourceComboBox = $find($("[id$='Form_ResActivites']").attr("id"));
        //var emptyItem = ResourceComboBox.findItemByText("Consultation");
        var items = ResourceComboBox.get_items();
        items.getItem(2).select();
    }
}
 I try de set a selected default value to my combo box resource when i add a new appointement
 (startInsertingInAdvancedForm="true"),
It don't work.
I'm in WebService binding mode, what is wrong in my code ??? thanks
Plamen
Telerik team
 answered on 03 Apr 2012
2 answers
118 views
Hi,
I try to customize appointment with  InlineEditTemplate tags . I'm in a WebServiceSettings to retreive appointments.
Is it now possible in this configuration with the latest version (Q12) ?
Please, what is the most simple way to do that ?? (template jquery ? AdvancedInsertTemplate ? )
Thanks for your answer.
Jean-Yves
Plamen
Telerik team
 answered on 03 Apr 2012
1 answer
893 views

I had a profit and loss sheet displaying in radgrid.. I want to display the total credit and debit for each group. Can you have any solution to display totals for every group in Radgrid
Please find the attachment for better understanding of my problem
Princy
Top achievements
Rank 2
 answered on 03 Apr 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?