Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
643 views
I have a RadTreeView with a Context Menu which has 3 Iems

<telerik:RadMenuItem Value="NewFolder" Text="New Folder
"
ImageUrl="~/TreeView/Img/Outlook/12.gif"  >
 
</telerik:RadMenuItem>
 
<telerik:RadMenuItem Value="RenameFolder" Text="Rename Folder
"
Enabled="false" ImageUrl="~/TreeView/Img/Outlook/rename.gif" PostBack="false" >
 
</telerik:RadMenuItem>
 
<telerik:RadMenuItem Value="DeleteFolder" Text="Delete Folder
"
ImageUrl="~/TreeView/Img/Outlook/7.gif" >
 
</telerik:RadMenuItem>


The RadTreeView has 3 diferent levels

I want to HIDE the NewFolder Context Menu Option if I'm on Node Level 3 (when I right click on the node I don't want that option to show if I'm on Level 3), How do I do that, it doesn't matter if it's from Code Behind or Client or Both.

Thank you.
Eric
Top achievements
Rank 1
 answered on 10 Feb 2013
2 answers
68 views
Hi,

I'm building one application and I have the following issue
I have one menu 'RadMenu' in the top,
and I have in the same page RadScheduler
when I click on New appointment, the Popup window will shown but below the RadMenu and it will not be much visible
so I have to drag it to another place in the screen

any help to show the popup window over the Rad Menu?


Mohan
Top achievements
Rank 1
 answered on 10 Feb 2013
2 answers
119 views
Hi

I'm using the Radock example to create custom "form".
This example i'm using : 
http://demos.telerik.com/aspnet-ajax/scheduler/examples/raddock/defaultcs.aspx

Now,
This doen't use AJAXPanel, so i have tried to add this to the demo version.
Once i run it the first move /edit = ok , but the next request i get this error :

Runtime-error Microsoft JScript: Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: 

This is what i have changed /added in the demo :


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.Scheduler.RadDock.DefaultCS"
    MasterPageFile="~/MasterPage.master" %>
 
<%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" type="text/css" href="Styles.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
    </telerik:RadAjaxManager>
 
    <telerik:RadScriptBlock runat="server" ID="RadScriptBlock1">
        <script type="text/javascript">
 
            function openForm() {
                var dock = $find("<%= RadDock1.ClientID %>");
                // Center the RadDock on the screen
                var viewPort = $telerik.getViewPortSize();
                var xPos = Math.round((viewPort.width - parseInt(dock.get_width())) / 2);
                var yPos = Math.round((viewPort.height - parseInt(dock.get_height())) / 2);
                $telerik.setLocation(dock.get_element(), { x: xPos, y: yPos });
 
                dock.set_closed(false);
 
                var descriptionTextBox = $get('<%= DescriptionText.ClientID %>');
                descriptionTextBox.focus();
 
                Sys.Application.remove_load(openForm);
            }
 
            function hideForm() {
                var dock = $find("<%= RadDock1.ClientID %>");
                dock.set_closed(true);
 
                return true;
            }
        </script>
    </telerik:RadScriptBlock>
    <qsf:informationbox id="InformationBox1" runat="server" title="The example now supports scheduling of <strong>recurring</strong> appointments.">
    </qsf:informationbox>
 
----------> NEW <------------------
     <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"  Skin="Metro"></telerik:RadAjaxLoadingPanel>
     
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
----------> NEW <------------------
 
            <asp:Panel runat="server" ID="DockPanel">
                <telerik:RadDock runat="server" ID="RadDock1" Width="650px" Height="530px" Closed="true"
                    Style="z-index: 2000;" Title="Edit appointment" >
                    <Commands>
                        <telerik:DockCloseCommand></telerik:DockCloseCommand>
                    </Commands>
                    <ContentTemplate>
                        <div class="editForm">
                            <div class="header">
                                <asp:Label runat="server" ID="StatusLabel"></asp:Label>
                            </div>
                            <div class="content">
                                Description:<br />
                                <asp:TextBox runat="server" ID="DescriptionText" Width="240px"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="DescriptionTextRequiredFieldValidator"
                                    Display="Dynamic" ControlToValidate="DescriptionText" ErrorMessage="Description is required"></asp:RequiredFieldValidator>
                                <br />
                                <br />
                                Starts at:
                                <telerik:RadDateTimePicker ID="StartTime" runat="server" SharedCalendarID="SharedCalendar"
                                    SharedTimeViewID="SharedTimeView">
                                </telerik:RadDateTimePicker>
                                <asp:RequiredFieldValidator runat="server" ID="StartTimeRequiredFieldValidator" Display="Dynamic"
                                    ControlToValidate="StartTime" ErrorMessage="Start time is required"></asp:RequiredFieldValidator>
                                <br />
                                <br />
                                Ends at:
                                <telerik:RadDateTimePicker ID="EndTime" runat="server" SharedCalendarID="SharedCalendar"
                                    SharedTimeViewID="SharedTimeView">
                                </telerik:RadDateTimePicker>
                                <asp:RequiredFieldValidator runat="server" ID="EndTimeRequiredFieldValidator" Display="Dynamic"
                                    ControlToValidate="EndTime" ErrorMessage="End time is required"></asp:RequiredFieldValidator>
                                <br />
                                <br />
                                Assigned to:
                                <telerik:RadComboBox runat="server" ID="UserDropDown" DataSourceID="UsersDataSource"
                                    DataTextField="UserName" DataValueField="ID">
                                </telerik:RadComboBox>
                                <br />
                                <br />
                                <asp:Label runat="server" Text="Reminder" ID="lblReminders"></asp:Label>
                                <telerik:RadComboBox runat="server" ID="ReminderDropDown" Width="120px">
                                    <Items>
                                        <telerik:RadComboBoxItem Text="None" Value=""></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="0 minutes" Value="0"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="1 minute" Value="5"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="2 minutes" Value="10"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="3 minutes" Value="15"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="4 minutes" Value="30"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="1 hour" Value="60"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="2 hours" Value="120"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="3 hours" Value="180"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="4 hours" Value="240"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="5 hours" Value="300"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="6 hours" Value="360"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="7 hours" Value="420"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="8 hours" Value="480"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="9 hours" Value="540"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="10 hours" Value="600"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="11 hours" Value="660"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="12 hours" Value="720"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="18 hours" Value="1080"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="1 day" Value="1440"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="2 days" Value="2880"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="3 days" Value="4320"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="4 days" Value="5760"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="1 week" Value="10080"></telerik:RadComboBoxItem>
                                        <telerik:RadComboBoxItem Text="2 weeks" Value="20160"></telerik:RadComboBoxItem>
                                    </Items>
                                </telerik:RadComboBox>
                            </div>
                            <div class="footer">
                                <asp:Button runat="server" ID="SubmitButton" Text="Update" OnClick="SubmitButton_Click">
                                </asp:Button>
                                <button onclick="hideForm();" type="button" style="margin-right: 20px;">
                                    Cancel</button>
                            </div>
                            <telerik:RadTimeView ID="SharedTimeView" runat="server">
                            </telerik:RadTimeView>
                            <telerik:RadCalendar ID="SharedCalendar" runat="server" EnableMonthYearFastNavigation="False"
                                EnableMultiSelect="False" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False">
                            </telerik:RadCalendar>
                            <asp:HiddenField runat="server" ID="_originalRecurrenceRule"></asp:HiddenField>
                            <telerik:RadSchedulerRecurrenceEditor runat="server" ID="RadSchedulerRecurrenceEditor1">
                            </telerik:RadSchedulerRecurrenceEditor>
                        </div>
                    </ContentTemplate>
                </telerik:RadDock>
            </asp:Panel>
            <telerik:RadScheduler runat="server" ID="RadScheduler1" Width="750px" TimeZoneOffset="03:00:00"
                SelectedDate="2012-04-16" DayStartTime="08:00:00" DayEndTime="18:00:00" StartEditingInAdvancedForm="false"
                SelectedView="DayView" DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start"
                DataEndField="End" DataReminderField="Reminder" DataRecurrenceField="RecurrenceRule"
                DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="AppointmentsDataSource"
                OnFormCreating="RadScheduler1_FormCreating" Reminders-Enabled="true" OverflowBehavior="Auto">
                <AdvancedForm Modal="true"></AdvancedForm>
                <ResourceTypes>
                    <telerik:ResourceType KeyField="ID" Name="Room" TextField="RoomName" ForeignKeyField="RoomID"
                        DataSourceID="RoomsDataSource"></telerik:ResourceType>
                    <telerik:ResourceType KeyField="ID" Name="User" TextField="UserName" ForeignKeyField="UserID"
                        DataSourceID="UsersDataSource"></telerik:ResourceType>
                </ResourceTypes>
                <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
                <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
            </telerik:RadScheduler>
 
 ----------> NEW <------------------
</telerik:RadAjaxPanel>
 ----------> NEW <------------------
 
    <sds:SessionDataSource ID="AppointmentsDataSource" runat="server" PrimaryKeyFields="ID"
        ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>" SelectCommand="SELECT * FROM [Appointments]"
        InsertCommand="INSERT INTO [Appointments] ([Subject], [Start], [End], [UserID], [RoomID], [RecurrenceRule], [RecurrenceParentID], [Annotations], [Description], [Reminder], [LastModified]) VALUES (@Subject, @Start, @End, @UserID, @RoomID, @RecurrenceRule, @RecurrenceParentID, @Annotations, @Description, @Reminder, @LastModified)"
        UpdateCommand="UPDATE [Appointments] SET [Subject] = @Subject, [Start] = @Start, [End] = @End, [UserID] = @UserID, [RoomID] = @RoomID, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [Annotations] = @Annotations, [Description] = @Description, [Reminder] = @Reminder, [LastModified] = @LastModified WHERE [ID] = @ID"
        DeleteCommand="DELETE FROM [Appointments] WHERE [ID] = @ID" ClearSessionOnInitialLoad="True"
        SessionKey="System.Web.UI.Page_AppointmentsDataSource">
        <DeleteParameters>
            <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Subject" Type="String"></asp:Parameter>
            <asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="UserID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="RoomID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
            <asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="Annotations" Type="String"></asp:Parameter>
            <asp:Parameter Name="Description" Type="String"></asp:Parameter>
            <asp:Parameter Name="Reminder" Type="String"></asp:Parameter>
            <asp:Parameter Name="LastModified" Type="String"></asp:Parameter>
            <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="Subject" Type="String"></asp:Parameter>
            <asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="UserID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="RoomID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
            <asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="Annotations" Type="String"></asp:Parameter>
            <asp:Parameter Name="Description" Type="String"></asp:Parameter>
            <asp:Parameter Name="Reminder" Type="String"></asp:Parameter>
            <asp:Parameter Name="LastModified" Type="String"></asp:Parameter>
        </InsertParameters>
    </sds:SessionDataSource>
    <sds:SessionDataSource ID="RoomsDataSource" runat="server" DisplayWarning="false"
        ProviderName="System.Data.SqlClient" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
        SelectCommand="SELECT * FROM [Rooms]">
    </sds:SessionDataSource>
    <sds:SessionDataSource ID="UsersDataSource" runat="server" DisplayWarning="false"
        ProviderName="System.Data.SqlClient" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
        SelectCommand="SELECT * FROM [Users]">
    </sds:SessionDataSource>
</asp:Content>

Any suggestions howto get this working properly ?

Regards
Peter.



Peter
Top achievements
Rank 1
 answered on 09 Feb 2013
2 answers
115 views
Hi

I'm using the lastest version of RadScheduler (2012.3). 
Our customer is using Chrome browser, and we have the issue now when we drag an appointment.
Dragging the appointment up is okay, but dragging to bottom , the new timeslot where we can put the new appointment
is mostly about the duration of the appointment + starttime.

In IE we don't have this issue, we can drag the appointment on every timeslot.
I have stripped the Radscheduler, to very basic and the issue remains.

I have looked at the demo, and there is the same issue.

Howto :

Go to :
http://demos.telerik.com/aspnet-ajax/scheduler/examples/raddock/defaultcs.aspx

Make 1 appoitnment bigger , ex. 2.5 hours , example we take the appointment : "Tech. meeting", starts at 12h and ends at 15.30h.
Once the appointment is placed,  the page will refresh.
Drag now this appointment with Chrome browser  and move it 1 timeslot below. The next timeslot that is
possible is in my scenario about 15h. Moving the appointment up is ok, i can take every timeslot..

Same issue on other demos..
See : http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx
Make the appointment 2 to 3 hours big .. and drag it below..

Any suggestions howto fix this ?

Regards
Peter.
Peter
Top achievements
Rank 1
 answered on 09 Feb 2013
2 answers
146 views
Hi,

I have a grid which contains LinkButton columns for clickable text.  I also have a background image defined in a CSS class asociated with the LinkButton controls. That is working fine, and a sample of the markup is shown below.

What I would like is to have the background image be a clickable as well as the text.  How could that be achieved?

                <telerik:GridButtonColumn
                    ButtonType="LinkButton"
                    UniqueName="DoAssembly"
                    CommandName="DoAssembly"
                    DataTextField="DoAssembly"
                    DataTextFormatString="{0}"
                    DataType="System.String"
                    HeaderText="Assembly"
                    HeaderStyle-HorizontalAlign="Center"
                    ItemStyle-CssClass="BLname"
                    ItemStyle-HorizontalAlign="Center"
                    ItemStyle-Wrap="true"
                    ShowSortIcon="false" />
Richard
Top achievements
Rank 1
 answered on 09 Feb 2013
4 answers
104 views
Hi,

I have an Editor with the Template Manager in the tools.
What I need to do is that when a user select a template from the manager - a Textbox is populated with the name of that file.

Basically I am creating a template Save and Manage Area, so I need the name of the selected template.

All help appreciated.

Cheers,

Jon
Jon
Top achievements
Rank 1
 answered on 09 Feb 2013
3 answers
63 views
We recently came across a huge spike in memory loss that is not getting cleaned up by IE8. This wasn't an issue in release 1 of 2012 any ideas what has changed since then? The leak seems to occur when any rad control is placed within an iframe. I'm seeing numbers in the megabytes of unreleased memory after just a few minutes of use.

Has anyone else seen this? Any workarounds for our IE8 users, short of dropping either Telerik or Iframes?
Rory
Top achievements
Rank 1
 answered on 09 Feb 2013
1 answer
169 views
Is it possible to disable individual checkboxes with a radcombobox  with checkboxes = true?

I have a client that wants to show all possible options but disable certain ones if pre-existing conditions are not met. 

Brete
Top achievements
Rank 1
 answered on 08 Feb 2013
0 answers
89 views
I recently had a need to build a dynamic "form" for a simple database driven search engine.  I tried several different approaches and was satisfied with none until I tried using the RadListBox (probably could have used RadListView as well).  After spending quite some time trying to figure out how to manipulate the individual controls inside the RadListItems, I stumbled upon the solution and thought I would share.  Hope this helps some one out there!
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SearchUtil.aspx.cs" Inherits="CustomCo.SearchUtil" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadListBox ID="rlbSearchParams" runat="server" Width="80%" ClientIDMode="Predictable">
        <ItemTemplate>
            <span>
                <asp:Image ID="imgBlank0" runat="server" ImageUrl="~/Images/Templates/blank0.png" Width="75px" Height="1px" Visible="false" />
                <telerik:RadComboBox ID="ddlAndOr" runat="server" Width="75px">
                    <Items>
                        <telerik:RadComboBoxItem Text="AND" Value="0" />
                        <telerik:RadComboBoxItem Text="OR" Value="1" />
                    </Items>
                </telerik:RadComboBox>
                <telerik:RadComboBox ID="ddlParamName" runat="server" Width="200px">
                    <Items>
                        <telerik:RadComboBoxItem Text="Author Name" Value="AuthorName" />
                        <telerik:RadComboBoxItem Text="Title" Value="Title" />
                        <telerik:RadComboBoxItem Text="Account Team" Value="AccountTeam" />
                    </Items>
                </telerik:RadComboBox>
                <telerik:RadTextBox ID="txtParamValue" runat="server" Width="200px" />
                <asp:Button ID="btnAdd" runat="server" Text="+" CommandName="Add" OnClick="btnAdd_Click" />
                <asp:Button ID="btnRemove" runat="server" Text="-" CommandName="Remove" OnClick="btnRemove_Click" />
            </span>
        </ItemTemplate>
    </telerik:RadListBox>
    </form>
</body>
</html>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
 
namespace CustomCo
{
    public partial class AdvancedSearch : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (rlbSearchParams.Items.Count < 1)
                CreateForm();
        }
        private void CreateForm()
        {
            RadListBoxItem firstItem = new RadListBoxItem();
            rlbSearchParams.Items.Add(firstItem);
            RadComboBox myAndOR = rlbSearchParams.Items[0].FindControl("ddlAndOr") as RadComboBox;
            myAndOR.Visible = false;
            Image Spacer = rlbSearchParams.Items[0].FindControl("imgBlank0") as Image;
            Spacer.Visible = true;
            Button myRemoveButton = rlbSearchParams.Items[0].FindControl("btnRemove") as Button;
            myRemoveButton.Visible = false;
            myRemoveButton.CommandArgument = "0";
        }
        protected void btnAdd_Click(object sender, EventArgs e)
        {
            RadListBoxItem secondItem = new RadListBoxItem();
            rlbSearchParams.Items.Add(secondItem);
            Button myRemoveButton = rlbSearchParams.Items[0].FindControl("btnRemove") as Button;
            myRemoveButton.CommandArgument = (rlbSearchParams.Items.Count - 1).ToString();
            Button myPreviousAddButton = rlbSearchParams.Items[(rlbSearchParams.Items.Count - 2)].FindControl("btnAdd") as Button;
            myPreviousAddButton.Visible = false;
        }
        protected void btnRemove_Click(object sender, EventArgs e)
        {
            Button mySender = (Button)sender;
            RadListBoxItem myItem = (RadListBoxItem)mySender.Parent;
            if (myItem != null)
            {
                switch(myItem.Index)
                {
                    case 0:
                        CreateForm();
                        break;
                    case 1:
                        Button myPreviousAddButton = rlbSearchParams.Items[0].FindControl("btnAdd") as Button;
                        myPreviousAddButton.Visible = true;
                        break;
                    default:
                        if (rlbSearchParams.Items.Count - 1 == myItem.Index)
                        {
                            Button defaultPreviousAddButton = rlbSearchParams.Items[myItem.Index - 1].FindControl("btnAdd") as Button;
                            defaultPreviousAddButton.Visible = true;
                        }
                        if (rlbSearchParams.Items.Count > 1)
                        {
                            Button defaultPreviousRemoveButton = rlbSearchParams.Items[myItem.Index - 1].FindControl("btnRemove") as Button;
                            defaultPreviousRemoveButton.Visible = true;
                        }
                        break;
                }
                rlbSearchParams.Items.Remove(rlbSearchParams.Items[myItem.Index]);
            }
        }
    }
}
Neil
Top achievements
Rank 1
 asked on 08 Feb 2013
11 answers
132 views
Hey guys,

We have been evaluating the RadEditor for a little while now and over all are very happy with it - we have got one issue that I wanted to raise with you though. At the moment when we use the RadEditor's image manager to upload images to a document library as a site collection administrator, it will put the image in the folder and approve it for us, which is all well and good but when you do it as a content author (who doesn't have the approve permission) they get an access denied error when they add the images here. From what I can tell looking at the logs and seeing whats actually happening in the site this is because the editor is trying to approve the image as well, which the user can do (and because the RadEditor impersonates the user it fails - the world makes sense once more right?)

My question is - can we disable this "auto approve" function at all? We already have a custom workflow solution in place for approving the images anyway so thats not a big deal for us, the error that the authors are going to be getting though is a bit of a show stopper.

Any help is much appreciated!

Cheers,

Brian Farnhill
SharePoint Server MVP
Rumen
Telerik team
 answered on 08 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?