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

I have a radchart with two line series. One of them is a horizontal line, which represents a threshold value. 
I would want this line series to have a ChartAxisLayoutMode.Normal and the other line series to have a ChartAxisLayoutMode.Between or Inside.

series1.PlotArea.XAxis.LayoutMode = ChartAxisLayoutMode.Normal;
series2.PlotArea.XAxis.LayoutMode = ChartAxisLayoutMode.Inside;


 How do I do this? Currently, the one written last is overriding the previous.

Thanks


Petar Kirov
Telerik team
 answered on 11 Sep 2013
1 answer
75 views
Hello,

I am using RadAsyncUpload 2012.1.411.40.  I try to have OnClientProgressUpdating to create a custom progress bar.  When uploading a file under the Visual Studio Development Server, OnClientProgressUpdating is fired properly.  However, when uploading a file under a testing server(windows sever 2008), OnClientProgressUpdating is not fired at all in IE 9.  (I tired to upload a 80MB file.)  It actually works fine in Firefox in both servers.

I have set DisablePlugins to true for the RadAsyncUpload.  Will it cause the problem?  Does anyone have an idea?

Thank you,

Wai
Peter Filipov
Telerik team
 answered on 11 Sep 2013
1 answer
323 views
Good Morning,

I am a SP 2013 farm admin and have a tenant in one of my farms utilizing this control. We were able to deploy their product through our staging environments without any issue, but once we hit production the control stopped validating properly. It appears fine but when a user enters the correct text and tries to submit their form, the control kicks back and says the text doesn't match the image. 

My question: How does this control actually perform validation? Is this all done server-side utilizing the telerik packages we installed on the system, or is a web service (or other external) call made that could possibly be blocked at the prod level? 
Shinu
Top achievements
Rank 2
 answered on 11 Sep 2013
1 answer
128 views
Hello guys,

I am trying to activate the asyncupload feature in the FileExplorer. I can see that the file has been uploaded correctly inside the "App_Data/RadUploadTemp" folder but for some reason the functionality doesn't copy the file over the destination path. 

Do you have any suggestion about this?

This is the ascx file:
<telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="600px" Height="350px" Skin="WebBlue"
        OnClientItemSelected="OnClientItemSelected"
        ExplorerMode="Thumbnails" CssClass="rfeLargeThumbnails galleryContainer"
        OnItemCommand="RadFileExplorer1_ItemCommand"
        EnableOpenFile="true"
        OnClientMove ="OnExplorerMoveHandler">
 
    </telerik:RadFileExplorer>
And the code behind:
protected override void OnInit(EventArgs e)
{
    FileExplorer1.Configuration.ContentProviderTypeName = typeof(CMSFileSystemContentProvider).AssemblyQualifiedName;
    FileExplorer1.TreeView.EnableDragAndDrop = false;
    FileExplorer1.Grid.ClientSettings.AllowRowsDragDrop = false;
    
    base.OnInit(e);
 
    if (WebConfigurationManager.AppSettings["Gallery.Path"] != null)
    {
        initialPath = WebConfigurationManager.AppSettings["Gallery.Path"].ToString();
    }
 
    FileExplorer1.Configuration.SearchPatterns = new string[] { "*.jpg", "*.jpeg", "*.gif", "*.png" };
    FileExplorer1.Configuration.MaxUploadFileSize = 2097152; //2MB
 
    FileExplorer1.Configuration.ViewPaths = new string[] {initialPath};
    FileExplorer1.Configuration.UploadPaths = new string[] { initialPath };
    FileExplorer1.Configuration.DeletePaths = new string[] { initialPath };
     
    FileExplorer1.Configuration.EnableAsyncUpload = true
}

Thanks,

Gavin
Dobromir
Telerik team
 answered on 11 Sep 2013
2 answers
171 views
Hi Telerik,
We have a site menu containing subitems in our master page so it displays on all pages.
One quite a few pages we also use a 1 level horizontal menu to perform actions.

Since upgrading to 2013.2.717.40 we have been experiencing z-index issues where the child items of the top menu sit below the root level items of the second menu (see screenshot).

I have tried to override the .css particularly of rmSlide but have not found a solution.

Below is some sample code used to create the issue shown in the screenshot.

Do you have any suggestions?

Thanks,
Matt
<telerik:RadMenu ID="RadMenu1" runat="server" EnableRoundedCorners="true" EnableShadows="true" EnableEmbeddedSkins="true" Skin="Default">
 
    <Items>
 
        <telerik:RadMenuItem Text="File" AccessKey="F">
 
            <Items>
 
                <telerik:RadMenuItem Text="New" AccessKey="w" />
 
                <telerik:RadMenuItem Text="Open" AccessKey="O" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Save" AccessKey="S" />
 
                <telerik:RadMenuItem Text="Save As" AccessKey="A" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Print Preview"
                    AccessKey="V" />
 
                <telerik:RadMenuItem Text="Print" AccessKey="P" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Close" AccessKey="C" />
 
            </Items>
 
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Edit" AccessKey="E">
 
            <Items>
 
                <telerik:RadMenuItem Text="Undo" AccessKey="U" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Cut" AccessKey="T" />
 
                <telerik:RadMenuItem Text="Copy" AccessKey="C" />
 
                <telerik:RadMenuItem Text="Paste" AccessKey="P" />
 
                <telerik:RadMenuItem Text="Clipboard..."
                    AccessKey="b" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
            </Items>
 
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Insert" AccessKey="I">
 
            <Items>
 
                <telerik:RadMenuItem Text="Break..." AccessKey="B" />
 
                <telerik:RadMenuItem Text="Page Numbers..." AccessKey="U" />
 
                <telerik:RadMenuItem Text="Date and Time..." AccessKey="T" />
 
                <telerik:RadMenuItem Text="Field..." AccessKey="F" />
 
                <telerik:RadMenuItem Text="Symbol..." AccessKey="S" />
 
                <telerik:RadMenuItem Text="Comment" AccessKey="M" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Picture" AccessKey="P" />
 
                <telerik:RadMenuItem Text="Diagram" AccessKey="G" />
 
                <telerik:RadMenuItem Text="Text Box" AccessKey="X" />
 
                <telerik:RadMenuItem Text="Hyperlink" AccessKey="I" />
 
            </Items>
 
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Format" AccessKey="O">
 
            <Items>
 
                <telerik:RadMenuItem Text="Font" GroupSettings-Height="200">
 
                    <Items>
 
                        <telerik:RadMenuItem Text="Arial" />
 
                        <telerik:RadMenuItem Text="Verdana" />
 
                        <telerik:RadMenuItem Text="Tahoma" />
 
                        <telerik:RadMenuItem Text="Sans-serif" />
 
                        <telerik:RadMenuItem IsSeparator="true" />
 
                        <telerik:RadMenuItem Text="Arial" />
 
                        <telerik:RadMenuItem Text="Arial Black" />
 
                        <telerik:RadMenuItem Text="Arial Narrow" />
 
                        <telerik:RadMenuItem Text="Arial Unicode MS" />
 
                        <telerik:RadMenuItem Text="Bookman Old Style" />
 
                        <telerik:RadMenuItem Text="Bookshelf Symbol 7" />
 
                        <telerik:RadMenuItem Text="Century" />
 
                        <telerik:RadMenuItem Text="Century Gothic" />
 
                        <telerik:RadMenuItem Text="Comic Sans MS" />
 
                        <telerik:RadMenuItem Text="Courier New" />
 
                        <telerik:RadMenuItem Text="Garamond" />
 
                        <telerik:RadMenuItem Text="Georgia" />
 
                        <telerik:RadMenuItem Text="Goudy Old Style" />
 
                        <telerik:RadMenuItem Text="Goudy Stout" />
 
                        <telerik:RadMenuItem Text="Haettenschweiler" />
 
                        <telerik:RadMenuItem Text="Helvetica" />
 
                        <telerik:RadMenuItem Text="Impact" />
 
                        <telerik:RadMenuItem Text="Imprint MT Shadow" />
 
                        <telerik:RadMenuItem Text="Latha" />
 
                        <telerik:RadMenuItem Text="Lucida Console" />
 
                        <telerik:RadMenuItem Text="Lucida Sans" />
 
                        <telerik:RadMenuItem Text="Lucida Sans Typewriter" />
 
                        <telerik:RadMenuItem Text="Lucida Sans Unicode" />
 
                    </Items>
 
                </telerik:RadMenuItem>
 
                <telerik:RadMenuItem Text="Paragraph..." AccessKey="P" />
 
                <telerik:RadMenuItem Text="Bullets and Numbering..." AccessKey="N" />
 
                <telerik:RadMenuItem Text="Borders and Shading..." AccessKey="B" />
 
                <telerik:RadMenuItem IsSeparator="true" />
 
                <telerik:RadMenuItem Text="Columns" AccessKey="C" />
 
                <telerik:RadMenuItem Text="Tabs" AccessKey="T" />
 
                <telerik:RadMenuItem Text="Change Case" AccessKey="E" />
 
                <telerik:RadMenuItem IsSeparator="true" />
 
                <telerik:RadMenuItem Text="Background" AccessKey="g">
 
                    <Items>
 
                        <telerik:RadMenuItem>
 
                            <ItemTemplate>
 
                                <div style="padding: 20px 0 20px 20px;">
 
                                    <telerik:RadColorPicker runat="server" ID="RadColorPicker1" Preset="Metro" ShowEmptyColor="false"
                                        Width="200px" SelectedColor="#000000" />
 
                                </div>
 
                            </ItemTemplate>
 
                        </telerik:RadMenuItem>
 
                        <telerik:RadMenuItem IsSeparator="True" />
 
                        <telerik:RadMenuItem Text="More Colors..." AccessKey="M" />
 
                        <telerik:RadMenuItem Text="Fill Efects..." AccessKey="F" />
 
                        <telerik:RadMenuItem Text="Printed Watermark..."
                            AccessKey="W" />
 
                    </Items>
 
                </telerik:RadMenuItem>
 
                <telerik:RadMenuItem Text="Theme" AccessKey="H" />
 
                <telerik:RadMenuItem Text="Frames" AccessKey="R" />
 
                <telerik:RadMenuItem Text="Autoformat" AccessKey="A" />
 
            </Items>
 
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="View" AccessKey="V">
 
            <Items>
 
                <telerik:RadMenuItem Text="Normal" AccessKey="N" />
 
                <telerik:RadMenuItem Text="Web Layout" AccessKey="W" />
 
                <telerik:RadMenuItem Text="Print Layout" AccessKey="P" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Task Pane" AccessKey="p" />
 
            </Items>
 
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Tools" AccessKey="T">
 
            <Items>
 
                <telerik:RadMenuItem Text="Spelling And Grammar..." AccessKey="S" />
 
                <telerik:RadMenuItem Text="Research..." AccessKey="R" />
 
                <telerik:RadMenuItem Text="Language" AccessKey="L" />
 
                <telerik:RadMenuItem Text="Word Count..." AccessKey="W" />
 
                <telerik:RadMenuItem IsSeparator="True" />
 
                <telerik:RadMenuItem Text="Track Changes" AccessKey="T" />
 
                <telerik:RadMenuItem Text="Compare And Merge Documents.." AccessKey="D" />
 
            </Items>
 
        </telerik:RadMenuItem>
 
    </Items>
 
</telerik:RadMenu>
 
<br />
<br />
<br />
<telerik:RadMenu ID="RadMenu2" runat="server" EnableRoundedCorners="true" EnableShadows="true" EnableEmbeddedSkins="true" Skin="Default">
 
    <Items>
 
        <telerik:RadMenuItem Text="Item1" AccessKey="1">
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Item2" AccessKey="2">
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Item3" AccessKey="3">
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Item4" AccessKey="4">
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Item5" AccessKey="5">
        </telerik:RadMenuItem>
 
        <telerik:RadMenuItem Text="Item6" AccessKey="6">
        </telerik:RadMenuItem>
 
    </Items>
 
</telerik:RadMenu>
Matthew Botting
Top achievements
Rank 1
 answered on 11 Sep 2013
1 answer
86 views
I cannot find the AutoCompleteBox control in our dll. I'm guessing this control was added in a later version. Could someone help me find out the first version where autocompletebox was introduced?
Shinu
Top achievements
Rank 2
 answered on 11 Sep 2013
1 answer
87 views
Hi.
Im trying to open a radwindow on the OnRowDbClick event,but the window is not appearing.
Any idea, why it doesn't show.

Thanks,
Dawson
Jayesh Goyani
Top achievements
Rank 2
 answered on 11 Sep 2013
1 answer
82 views
Hi,
 I'm looking to add a javascript function to the "onkeyup" event of a textbox when it's in InsertMode.

In the Code Behind I have:
protected void rgItems_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem && e.Item.IsInEditMode && rgItems.MasterTableView.IsItemInserted)
            {
                GridEditableItem item = (GridEditableItem)e.Item;
                CheckBox isActive = (CheckBox)item["IsActive"].Controls[0]; //no literal control
                isActive.Checked = true;
 
                TextBox name = item.FindControl("NameTextBox") as TextBox;
                name.Attributes.Add("onkeyup", "filterGrid('"+ name.ClientID + "')");
            }
        }

And in my javascript function I have:
function filterGrid(textBoxID) {
    var grid = $find('<%= rgItems.ClientID %>');
    var textBox = $find(textBoxID);
    var textBox2 = $("#" + textBoxID);
 
 
    createMatchingGrid(grid, textBox.get_textBoxValue());
}


The issue is that "textBox" is null but textBox2 is not.
So the JQuery find works as expected by Telerik's $find does not.
Any ideas?

In the mean time i'll just use JQuery's method.

Thanks,
~Patrick
Jayesh Goyani
Top achievements
Rank 2
 answered on 11 Sep 2013
3 answers
133 views
Hello support,

Is there any way I can get the file size in client validation failed client event?

Thanks
Tia
Shinu
Top achievements
Rank 2
 answered on 11 Sep 2013
4 answers
131 views
I have a ms word (.doc) document and i want parce into radeditor but i found some characters incorrect.
I tried with demo verision at http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx but same error, step by step is:

1. Go to http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx and clear all content of editor
2. Copy content in my ms word document & parse into editor [attached step1.jpg]
3. Try to do post back this page by change Toolbar Mode [attached step2.jpg]
4. Then see the problem... [attached step3.jpg]

I don't know what's problem here, please help me let me know how to fix this.

Many thanks!




Hoang
Top achievements
Rank 1
 answered on 11 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?