Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
112 views
I added a GroupSettings-Repeatcolumns="3" to a menu item, and I get an error in a ScriptResource in one of the telerik functions

j(A).chidlren(".rmGroup").append(j(B).children(".rmGroup").children(".rmItem").eq(0));


You can see in bold the typo line! Is there a way I can edit this as a workaround?
Regards,

AG
Kate
Telerik team
 answered on 03 Apr 2012
7 answers
156 views
HI,

I am using a Telerik AJAX Manager to have a button control update a MultiPage control.  

My Multipage contains several pageviews that each contain a reportviewer control.  On the first load, everything works great.  However when I do a postback, I get my updated pageviews and everything appears correct, but there are JS errors everytime I move the mouse over the pageview or click on the reportviewer control.  I also get the errors when changing tabs.  They are preventing me from being able to use reportviewer features such as printing and paging.  

Most errors are:  "Microsoft JScript runtime error: Object expected"

When I remove do a full postback by setting the postback URL of the button, everything works and I get no JScript errors.  I think this has to do with the viewstate, but I'm not sure.

Any help is much appreciated.

Thanks!
Billy
Krishna
Top achievements
Rank 1
 answered on 03 Apr 2012
1 answer
158 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
308 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
133 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
182 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
192 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
221 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
240 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
85 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?