Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
74 views

While, I don't belive that telerik should dictate  how I use a control, if you are going to use security as an excuse please do it right..



The use of static secret keys in files or else where is very poor practice and is NOT constant with AWS security services..

YOU NEED TO SUPPORT ALL THREE AWS WAYS TO PASS AWS CREDENTIALS..

PLEASE DO NOT CHNAGE HE AWS SECURITY POLICY!!!



The preferred, and you have not implements is dynamic keys, in your code below.. 

 Add support for AWS  dynamic keys see ****



public override void Initialize(string name, NameValueCollection config)

        {

            if (config == null)

            {

                throw new ArgumentNullException("No valid configuration is provided.");

            }

            base.Initialize(name, config);



*** add check for dynamic keys here****

            AccessKey = config[CloudUploadConstants.AccessKey];

            if (string.IsNullOrEmpty(AccessKey))

            {

                throw new ProviderException("Missing AccessKey. Please specify it with the accessKey property.");

            }






Marin Bratanov
Telerik team
 answered on 03 Dec 2013
4 answers
396 views
Hi team,

Currently I'm working on a module where i need to capture the key press event in radeditor. That will be caught when I've clicked on spacebar. The internal script will capture the text in the editor and sends the text to the server side method i.e .cs method. On recieving the text I'll do some manipulations and return back a new text to the editor.

The above 2-way operation is working fine both getting text from rad editor and setting text to radeditor. But problem is that whenever I'm returning the text to editor the cursor position is always set to the start of the word instead of at the end of word.

For ex: If I return text as HELLO then the cursor should be placed after word (HELLO cursor) but the cursor is coming before the word(cursor HELLO).

Kindly give me a solution to my problem

I'm also pasting the script which I've used to get and set

getting value of editor:

 function OnClientLoad(editor, args) {

            editor.attachEventHandler("onkeydown", function (e) {
                if (e.keyCode == 32) {
                    setTimeout(function () {
                        var v = $find("<%=Editor1.ClientID %>").get_text();
                        //alert(v);
                        document.getElementById('<%= HiddenField4.ClientID %>').value = v;
                        var s = document.getElementById('<%= HiddenField4.ClientID %>').value;
                        //alert(s);
                        CallServer(s, "");



                    }, 0);
                }

            });

Setting value to editor:

 function ReceiveServerData(rValue) {
            //var editor = ("<%=Editor1.ClientID%>");
            $find("<%=Editor1.ClientID%>").set_html(" " + rValue + " ");
}
Ianko
Telerik team
 answered on 03 Dec 2013
2 answers
172 views
I need be able to upload several images into template like form, say 3 X 3 table, modify each image (zoom, rotate, etc.) and than save this collage as a single image. Can someone please help by pointing me to a Telerik sample of something similar or share an idea of how this can be implemented.

Thank you,
IG
Vessy
Telerik team
 answered on 03 Dec 2013
2 answers
105 views

I have a very strange rendering problem that I am experiencing on different pages of my application, and is also experienced on four different development machines. 

The grid renders not as unique rows, and none of the event handling is functional.  This occurs IE, Chrome and Firefox.  Any ideas what to look for?

Seen screen shot.

Using version 2013.3.1015.45

RYNETECH
Top achievements
Rank 1
 answered on 03 Dec 2013
1 answer
199 views

Hi,
I am using a RadEditor with ContentAreaMode set to DIV. I am using IE 11 . The page is a simple one contains

  1. ScriptManager
  2. An update panel
  3. A RadEditor with ContentAreaMode inside the previously addded UpdatePanel
  4. A Button which causes a postback inside the same update panel
  5. A dropdownlist with items inside with its autopostback property set to true.

Once the page is rendered the page consists of RadEditor with button and a dropdown . There is no scroll bar on the page yet . So click on the button a postback is caused and NO FOCUS IS SET TO THE RADEDITOR .

Now, Add a few <br /> before the Button and the DropDown so that we now get a scrollbar on the page . Move to the bottom of the page and select on a button or change the dropdown index so that a postback is caused . On Postback we now see that the RadEditor automatically sets focus to its self.

This can be reproducible even in the Demo site RADEditor ContentAreaMode="DIV" To reproduce the error on the demo site please follow as described in the document RADEDITOR.docx issue.

The same when tried in Chrome works just fine and the scroll position of the browser is not changed.

Regards,
Francis P.
Ianko
Telerik team
 answered on 03 Dec 2013
0 answers
84 views
I am placing this post in hopes that it may help someone else.

I have experienced the same problem with multiple copies of controls showing up in the toolbox covered in this post. This is the most extensive post I found on the subject. The issue shows itself when adding in the next Quarterly Update. Each time you open VS2010 another copy of each toolbox section and tools will be created. The end result is that VS will start loading ever more slowly until it just crashes. I have had this problem most recently with Winforms Q3 2013. However, I have also experienced the problem with Asp.net Ajax. I have tried completely removing Telerik including deleting Telerik Folders under Programs. Removing Registry Entries, Reapplying Service Packs, Running VS2010 Repair and resetting the Toolbox with a right click of the mouse. I even ran a registry cleaner, Reinstalled Visual Studio and attempted without success to fully remove everything that VS2010 sticks on your computer. Don't even bother with the last one folks. It can get so fouled up that you want to pull out that little image disk you created and start fresh.

After going through this circus a few times a ran across something that seemed to work. Actually it worked perfect for me. I just don't know if it will work for you. Before you go to the trouble to do all the things I did above and monkey with registry entries like suggested in the referenced post, simply go into VS2010. Select Tools and Extension Manager. Uninstall all Telerik Extensions. Close VS2010 and reboot your PC. Go back into extension Manager, Select Online Gallery and type in Telerik in the Search Bar. Select and install the package you are using. You may have to right click on the toolbox and Reset it. I hope this helps you.

Eddie
Top achievements
Rank 1
 asked on 03 Dec 2013
0 answers
97 views
Hi,
I am using radscheduler, OnClientTimeSlotContextMenu event not occur on first time right click and next right click it shows the context menu. Provide me a solution to over come this issue.
Dhamodharan
Top achievements
Rank 1
 asked on 03 Dec 2013
1 answer
84 views
Hi
I want to set a clear button outside radgrid that refreshes the radgrid and closes all the editforms if any are open. What is the best way to do this?
Princy
Top achievements
Rank 2
 answered on 03 Dec 2013
1 answer
104 views
Hi,
I'am using this menu :
http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx

Is there a way to hide an item in the products section.
I would like to hide items base on the permission level.

Exemple if your not an admin i would hide sofas and Beds in the products menu.

Tks

Luc
Luc Émond
Top achievements
Rank 1
 answered on 03 Dec 2013
5 answers
160 views
Hi,

Is the following possible with RadSpell?  If so, how?

Base UK english dictionary with additional custom common dictionary with industry-specific terms.
Users are also allowed to add their own terms, but only see their own.

Thanks,

Craig
Marin Bratanov
Telerik team
 answered on 03 Dec 2013
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?