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

We have RadEditor 5.8.12.0 and MOSS 2007.

RadEditor works fine in non-IE browsers, but it also is activated in IE. I have not specifically activated it, just deployed it in Solution Management after un-deploying the Lite 4.5 version.

I would like RadEditor to NOT activate in IE, instead using the MOSS built-in rich text editor.

How do I achieve this?

Many thanks

Mark
Stanimir
Telerik team
 answered on 13 Apr 2012
3 answers
128 views
Hi,

when I activate the AddComment-Button in the ListToolsFile.xml I get the proper button, but using it I get the message: "The command AddComment is not implemented yet."

Is this feature not supported for use within SharePoint yet?

Thanks,
Phil

Stanimir
Telerik team
 answered on 13 Apr 2012
1 answer
146 views

Hi,


I have created a custom progress bar usercontrol using RadProgressArea. I have placed this control in one of my web page. On a button click event a usercontrol method will be triggered. This method in turn will trigger the UpdateProgressContext method for setting the Radprogresscontext.  The progress percentage will be retrieved using progressMethod. The RadProgressBar is getting displayed.
But if I try to call the UpdateProgressContext method asynchronously using delegate, my progressbar itself is not displayed. This is my code.

private delegate void BeginProgress(Progress prog); 

public Update(Progress progressMethod)
{
    BeginProgress beginUpdate = new BeginProgress(UpdateProgressContext);
  
    beginUpdate.BeginInvoke(progressMethod, new AsyncCallback(ProgressCallbackMethod), new object());
}
  
private void UpdateProgressContext(Progress progressMethod)
{
            int currentPercentage = 0;
            const int total = 100;
            while (currentPercentage <= 100)
            {
  
                currentPercentage = progressMethod();
  
                radProgress.Speed = "N/A";
                radProgress.PrimaryTotal = 1;
                radProgress.PrimaryValue = 1;
  
                radProgress.PrimaryPercent = 100;
  
                radProgress.SecondaryTotal = total;
  
                radProgress.SecondaryValue = currentPercentage;
                radProgress.SecondaryPercent = currentPercentage;
  
                radProgress.CurrentOperationText = "Step " + currentPercentage.ToString();
  
                radProgress.TimeEstimated = (total - currentPercentage) * 100;
            }
        }

Any help will be appreciated. Thanks in advance.

Regards,
Subbu

Genady Sergeev
Telerik team
 answered on 13 Apr 2012
1 answer
82 views
In javascript I can do this to expand a pane.

function expandPane(paneID)
    {
        var splitter = $find("Radsplitter1");
        var pane = splitter.getPaneById(paneID);
        pane.expand();
    }

How can I do the same thing from C# code behind?
Rumen
Telerik team
 answered on 13 Apr 2012
1 answer
86 views
Hi,
The context menu from the editor seems not to pay attention to anything in editor.css which I have told the editor to use, which works for the main content, but context menus seems to inherit from my main page css.

is there a way to overide the css for the context menu? which classes does it use? or div elements?

Thanks

Joss
Rumen
Telerik team
 answered on 13 Apr 2012
4 answers
158 views
Hello,

I have a set of RadDock's with 3 commands; edit, close and minimize/maximize.
I use a custom headertemplate for the docks, the toolbar renders as clickable icons below my headertemplate.
I would like to change this toolbar to be a dropdown menu (just a square arrow, clicking it brings up the three options in the toolbar)... in the very right of the dock header but I'm not sure how I would achieve this.

Any suggestion/approach on how this can be achieved is greatly appreciated! :)

Thanks,
Lars
Lars
Top achievements
Rank 1
 answered on 13 Apr 2012
1 answer
145 views
We're transitioning certain pages of our project to a new skin. Basically what I'd like to do is use Telerik's Black skin as the default and then in my appthemes folder make the customizations. In my web config I have a Telerik.Skin defined in app settings <add key="Telerik.Skin" value="MyOldSkin" />

There is also a <pages styleSheetTheme="MyOldAppTheme" />

I need to on a page by page basis be allowed to override these two settings WITHOUT altering the original settings...I tried just on my aspx page

<%Page stylesheettheme="MyNewThemeFolder" ...
<telerik:radskinmananger skin="Black"

Is this possible? its somewhat kind of working sometimes but not really and I'm not sure I'm doing this correctly any help greatly appreciated.
Tsvetina
Telerik team
 answered on 13 Apr 2012
4 answers
344 views
I'm getting this error message when using radeditor with ToolbarMode="ShowOnFocus" and ContentAreaMode="Div"
along with any textbox

As soon as you focus on the TextBox the JS error comes up.

Using firefox 4. 

telerik version 2011.1.510.40

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadEditor ID="RadEditorFooter" runat="server" ToolbarMode="ShowOnFocus"
            ContentAreaMode="Div">
        </telerik:RadEditor>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    </div>
    </form>
</body>
</html>


How do i fix this?
thank you
Rumen
Telerik team
 answered on 13 Apr 2012
2 answers
231 views
Hello Telerik-Team,
I know in some threads this problem is adressed, but I could not found a solution.

This is what I am doing, or rather would do, in my project.

I have a vertical RadSplitter control which contains in the left pane a RadScheduler and in the right pane another RadSplitter control. The RadSplitter control in the right pane is inside a RadSlidingZone/RadSlidingPane control.

At the start, the RadSlidingZone on the right is slided out, so the RadScheduler control is visible in the maximum width, which is working perfectily.

My goal is now, only to show a zoned out RadSlidingZone if the currently selected view of the RadScheduler (the left part of the vertical RadSplitter) is DayView or WeekView, i.e. when the user switches to the MonthView two two things should happen:

1. If in the DayView or in the WeekView the right part, i.e. the SlidingZone, was visible, it should zone out, so the month view has its maximal width

2. The button to slide in or out the sliding zone should be disabled, or at least not work if the user clicks it.

The second part works fine, i.e. I wrote a javascript function which is called with the right sliding out event, i.e. if the user clicks the SlidingZone button, I check in the java script method if the selected view is the month view, and if yes the event will be canceled (I found this trick on the forum, thanks a lot :-))

My problem is the first thing:
I found in this forum a way to automatically slide out the sliding zone, using the javascript functions RadSlidingZone.undock(<SlidingPaneId>) (if the pane is docked) or RadSlidingZone.collapse(<SlidingPaneId>) (if the pane is only expanded)

The RadSlidingZone.collapse() method works fine, i.e. at after changing the view (I do not use the navigation commands but an own combo box, i.e. I cannot use the OnNavigationCommand client event) and after loading the new html page I run a little java script . If the selected view is then month view, I call the collapse java script method. Naturally this works only if the RadSlidingZone is NOT DOCKED, but only expanded.

But if I change to day view, expand the SlidingZone and dock it (or use the property to dock it automatically after expanding it) and then change back to the month view, the docked SlidingZone will not undock. I know, in this case I have to use the undock() method of the SlidingZone, but when I use this, the return value is simply false. When I debug this, the RadSlidingZone property with the ID of the expanded AND the property with the ID of the DOCKED pane are both "null", therefore the undock() method will not work (neither  the collapse() method).

I read in the forum that it is possible to undock the RadSlidingPane back on the server in C# (the C#-property which holds the ID of the docked pane can simply be set to zero). I tried this, and yes, the former docked RadSlidingPane will vanish BUT the left pane of my RadSplitter control, i.e. the RadScheduler control, will not be expanded to the right. It's width will not be changed, so that the RadScheduler pane does not change but the docked sliding pane will undock and therefore the area on the right of my vertical RadSplitter control is empty.

Do you have any ideas?

Is it possible to simulate the click of the undock button with java script? Because if the user first clicks the undock button and then changes the view type all works.

Greetings,
Richard
Richard
Top achievements
Rank 1
 answered on 13 Apr 2012
7 answers
150 views
Hello

I'm building up my web application using RadRibbonBar.

I have a question that can RadRibbonBar collapse and expand like the one in Office 2010?

Because the ribbon bar seems to take a lot of space...

Thanks in advance.

Thanh Dang
Bozhidar
Telerik team
 answered on 13 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?