Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
As this looks like another telerik academic  ( red never gets fixed) issue..



Here are the steps to fix..

1. Copy code from everlive provider

 public string ApiKey { get; set; }
to AWS provider with tags
public string AccessKey { get; set; }

public string SecretKey { get; set; }

These need to a) take direct assignments, b) take config is set, or if none of the above use AWS dynamic keys..





2. Remove exception for null config, as this breaks AWS dynamic keys..


if (config == null)



            {



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



            }
3. Good to go..


Marin Bratanov
Telerik team
 answered on 03 Dec 2013
5 answers
73 views

"All providers configuration is stored in the configuration files. It is not allowed to define provider's configuration in the markup of the control or through the code behind. This is because the configuration contains sensitive data (access key, secret key and etc.). "







Who thought this one up.. it makes the control totally useless..







Stop reinventing the wheel, just copy what other have worked out over many year this control is NOT new..



See several others, the best is DirectAmazonUploader ..



Take a look

http://flajaxian.com/flajaxian.com/DirectAmazonUploader1.0Help.html



*****ABSOLUTE MUST****



The bucket, and access account MUST be dynamic configurable..







Please fix major design defect..



















Marin Bratanov
Telerik team
 answered on 03 Dec 2013
5 answers
66 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
385 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
164 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
90 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
193 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
80 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
90 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
80 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?