Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
164 views
Hi, we've been looking at upgrading our version of the RadEditor for Sharepoint to version 5.8.15 (although now version 5.8.16 has been released we've moved to evaluating that version on our development platform.

We are having problems using the 'ImageManager' button. When it is used to select an image the HTML for the <img> is not returned to the page.  If we use the 'MOSSImageManager' the HTML is returned to the page.

In our opinion the functionality of the 'ImageManager' is more suitable as it has a better interface for the content authors to use (particularly the upload function but also the image editor features) so we would like to continue using that version of the button.

In the ToolsFile.xml the tool we want to use is specified as
    <tool name="ImageManager" shortcut="CTRL+G" />

Is there any issue with the ImageManager button with the latest version of the RadEditor for Sharepoint?

Thanks
Peter
Rumen
Telerik team
 answered on 26 Jun 2012
1 answer
161 views
I need to be able to drag a node to an empty tree, I notice in the demo if you drag all nodes from a tree you can't drag them back. Any suggestions?
Princy
Top achievements
Rank 2
 answered on 26 Jun 2012
3 answers
87 views
When scrolling through an opened combo box with the keyboard, the high lighted row doesn't scroll into view.

You can see this behaviour in your demo.

Is there anyway to make the high lighted item scroll into view?

Thx.
Rob
Top achievements
Rank 1
 answered on 26 Jun 2012
2 answers
125 views
I have a situation where I am dragging a list box item to one of two scheduler controls on the page.  How would I determine which of the two schedulers was the destination location.  I have followed the Drag and Drop example with the scheduler and datagrid controls.
Andy
Top achievements
Rank 1
Iron
 answered on 26 Jun 2012
1 answer
103 views

I've been stuck on this problem for a few hours now.
I need to save the value of a textbox on a form on ASPX Child Page which may contain html markup. The page also contains multiple Formviews bound to different datasources.
When I try and submit I get a "potentially dangerous request" error.  I tried setting ValidateRequest="false" in the page header, but to no avail.
I assume the answer would be to strip the tags from the value before posting back to the server in javascript, but I cannot figure out a way to make the form perform a submit operation.  I tried the page.submit() ; but it did nothing. And when I tried using the form control I get a javascript error stating submit is not a function.





<
asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
...
     <asp:FormView ID="TwoWeekForm" runat="server" DataSourceID="TwoWeekDataSource"
        DataKeyNames="ID" >
    <ItemTemplate>
 ...
    </ItemTemplate>
    <EditItemTemplate>
 ...
                <asp:TextBox ID="TwoWeekText" runat="server" Text='<%# Bind("Extended") %>' TextMode="MultiLine" CssClass="KeyEvent" style="color:Black"></asp:TextBox>
 ...   
    </table>
    </EditItemTemplate>
...  
    </asp:FormView>

 
<telerik:OpenAccessDataSource ID="TwoWeekDataSource" runat="server"
       EnableDelete="False" EnableInsert="False"
       ObjectContextProvider="CNTracker.OpenAccess.EntitiesModel, CNTracker.OpenAccess"
       TypeName="CNTracker.OpenAccess.Interaction"
       Where="this.Project == @Project AND this.Type == 17">
       <WhereParameters>
           <asp:SessionParameter DefaultValue="1" Name="Project"
               SessionField="CurrentProject" />
          
       </WhereParameters>
   </telerik:OpenAccessDataSource>
Ady
Telerik team
 answered on 26 Jun 2012
1 answer
107 views
using 2012 Q1 trial
for AutoGenerated column, if I have column name UserName, header automatically converted to User Name. how can I stop that doing automatically. If I have IPManagement  as column name, it is converting to I P Management . very annoying.

Please help me to fix this.
Arijit Chatterjee
Jayesh Goyani
Top achievements
Rank 2
 answered on 26 Jun 2012
1 answer
90 views
My boss would like to place the month and year navigation buttons on the top left conner of scheduler without the datepicker as shown in the attached image, and have tooltips to show the description of the buttons when mouseover the "<<", "<". ">" and ">>" buttons, would you please give me some hints about how to do it?

Thanks !!!
Sun Lai
Peter
Telerik team
 answered on 26 Jun 2012
1 answer
124 views
If you have a css attribute of 

body { height: 100% }

then the RadEditor will grow with each keypress if you set AutoResizeHeight=true. I put this in my page header as a temp fix:

body { height: auto !important; }

I'd prefer to be more selective than the entire body and I've tried .RadEditor and iframe, as well as a few other css selectors. Is there a better selector or an alternate fix.

Note that this issue is in Firefox 13. Internet Explorer 9 does not have this problem. Q3 2011 SP1 version of ASP.NET Ajax.
Rumen
Telerik team
 answered on 26 Jun 2012
1 answer
94 views
Hai all,

I have a radgrid. I need to remove the grid default column filters when the grid is in Edit mode. How can I do that?

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 26 Jun 2012
2 answers
140 views
Ok I'm kinda new to the Telerik tools so hope this doesn't sound too strange...

I created a user control with the RadWindowManager and a jscript function to open the window as below:

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="RadWindowManager.ascx.vb" Inherits="Controls_RadWindowManager" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadWindowManager 
    runat="server" 
    RestrictionZoneID="offsetElement" 
    EnableShadow="true" 
    ShowOnTopWhenMaximized="false" 
    VisibleStatusbar="false"
    Behaviors="Close, Move, Resize, Maximize" 
    Opacity="99" 
    Height="400" 
    Width="400" >
</telerik:RadWindowManager>
 
<script type="text/javascript">
    function OpenRadWindow(urltitlewidthheightmodalonBeforeCloseEventonCloseEvent) {
        if (url == null) { url = "" }
        if (title == null) { title = "" }
        if (width == null) { width = 400 }
        if (height == null) { height = 400 }
        if (modal == null) { modal = true }
 
        var wnd = window.radopen(urlnull);
        wnd.SetTitle(title);
        wnd.setSize(widthheight);
        wnd.set_modal(modal);
        if (onBeforeCloseEvent != null) {
            wnd.add_beforeClose(onBeforeCloseEvent);
        }
        if (onCloseEvent != null) {
            wnd.add_onClose(onCloseEvent);
        }
 
        return false;
    }
</script>

The idea was to not have to declare it all over the place as we have many popups in our system and some require different variables than others.

Anyways Part 2:

In one of my pages I have a popup that requires some inputs and such and needs to refresh the main page when it closes.

<%@ Register Src="~/Controls/RadWindowManager.ascx" TagName="RadWindowManager" TagPrefix="uc3" %>
<uc3:RadWindowManager ID="RadWindowManager" runat="server" />
function OpenAddProduct() {  
            var url = <%= """" & ResolveUrl("~/Levels/Products.Aspx?Popup=1") & """" %>;
            OpenRadWindow(url"Manage Products"765500truenullalert("This is supposed to be a close event..."));
        }

Obviously what I am expecting is when the window is closed an alert to popup with that message, however what I am getting is that as soon as the window opens it is firing the OnClose event the same goes for the OnBeforeClose as well.

Am I just doing something wrong here declaring the window or is there more to it???
John
Top achievements
Rank 1
 answered on 26 Jun 2012
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?