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

the ToolsFile contains a region "dialogParameters" - searching help for this give no result :(

My Question: is it possible (I thought with dialogParameters) to set ViewPaths, DeletePaths and UploadPaths of (at least) ImageManager, - document- Flash- and Silverlight Manager?

The reason - if this is possible it would prevent me from messing around in forums code (setting those values) - instead I could simply adapt the toolsFile.

Regards
Manfred
Rumen
Telerik team
 answered on 22 Sep 2009
8 answers
188 views
Hello!

Would it be possible to combine the "Customize the Advanced Template" example with webservices? Currently this example is shown in the "server side API" and I need to use it in combination with a webservice. Could you perhaps provide me with an example?

Thanks in advance!

Bart
Peter
Telerik team
 answered on 22 Sep 2009
3 answers
259 views
Hi

I seem to be having trouble adding onmouseover events to html tags in my rad editor. Exvery time I add say 

<A href="#" onmouseover="GetDescription(13)">GLOS1</A> 

into the editor and switch to design view the link appears fine but as soon as the mouse runs over the link I get "jscript runtime error: Object expected. I have no idea why this keeps happening as if I add the anchor anywhere else on the page it works fine.

Does anyone have a reason why this could be.

Regards Mike
Ken Jones
Top achievements
Rank 1
 answered on 22 Sep 2009
1 answer
78 views
Hi,
I have a little problem with the RadtoolTipManager. In my UserControl I use a RadAjaxManagerProxy and a Grid. I added tooltips quite like in the example here. But the tooltips are not showing until I remove the complete RadAjaxManagerProxy. Of course I added the grid and the ToolTipManager to the RadAjaxManagerProxy before, but that did not work.
Any ideas? I would be glad for an answer.

Best regards
Ferdinand
Ferdinand
Top achievements
Rank 1
 answered on 22 Sep 2009
1 answer
88 views
Hi,

Is it possible to bind a chart to a webservice in the same way that you can bind a telerik grid to a webservice?

thanks
Toby
Vladimir Milev
Telerik team
 answered on 22 Sep 2009
2 answers
352 views
Hi

I am seeing a very strange message at design time on a previously good master page, and
it may be something to do with a potted application that I have been using to debug elsewhere..

 Error Rendering Control - RadScriptManager1An unhandled exception has occurred.
[A]Telerik.Web.UI.RadScriptManager cannot be cast to [B]Telerik.Web.UI.RadScriptManager.
Type A originates from 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Users\Clive\AppData\Local\Microsoft\VWDExpress\9.0\ProjectAssemblies\pb6zak8y01\telerik.web.ui.dll'.
 Type B originates from 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Users\Clive\AppData\Local\Microsoft\VWDExpress\9.0\ProjectAssemblies\nvgtosjo01\telerik.web.ui.dll'.
Clive Hoggar
Top achievements
Rank 1
 answered on 22 Sep 2009
1 answer
165 views
Hi all,

I know that Telerik earlier have stated that there is no support using the RadEditor's ImageManager for handling images in the MOSS' RichImageField.
There is one way you can do this, by visiting this thread you can see how (requires login):
http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx

But the downside of this solution is the need of code-behind. My page layout is as of this date code-behind free, and I would like to keep it this way.
So I tested using the RadHtmlField inplace of the RichImageField in my page layout. I also created a new ToolsFile.xml and ConfigFile.xml (called ImageToolsFile.xml and ImageConfigFile.xml) and referenced these in the page layout:

<radE:RadHtmlField ToolsFile="/_wpresources/RadEditorSharePoint/5.5.1.0__1f131a624888eeed/Resources/ImageToolsFile.xml" 
                    ConfigFile="/_wpresources/RadEditorSharePoint/5.5.1.0__1f131a624888eeed/Resources/ImageConfigFile.xml" id="ContentQueryImage" FieldName="PublishingRollupImage" AllowHyperLinks="false" runat="server"/> 
 

Here are the contents of the two custom xml files:
ImageConfigFile.xml:

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
    <property name="ToolbarMode">ShowOnFocus</property> 
    <property name="ToolsWidth">200px</property> 
</configuration> 

ImageToolsFile.xml

<?xml version="1.0" encoding="utf-8" ?> 
<root> 
  <modules> 
      <module name="RadEditorDomInspector" /> 
  </modules> 
  <tools name="InsertToolbar" > 
    <tool name="ImageManager" shortcut="CTRL+G"/> 
  </tools> 
 
  <contextMenus> 
    <contextMenu forElement="IMG"> 
      <tool Name="SetImageProperties" /> 
      <tool Name="ImageMapDialog" /> 
    </contextMenu> 
  </contextMenus> 
</root> 

The only thing enabled in the ImageToolsFile.xml file is the ImageManager. So far, everything works as expected. I click on the ImageManager icon in the toolbar, upload a new image, select the image, and the image gets inserted into the editor.
I save the page, and go back to the site's front page (default.aspx), and the rollup image is displayed as expected.

The trouble begins when trying to edit the page. I go back into the page, and click Edit page. I then get the following error:

Failed to set value of the "Rollup Image" column on the "Publishing Image" field type control.  See details in log. Exception message: Unable to cast object of type 'Microsoft.SharePoint.Publishing.Fields.ImageFieldValue' to type 'System.String'..

So to summarize: It seems to me that there is some kind of implicit casting when saving the image information, but not when loading it when viewing or editing the page.
Does someone have a fix for this, or maybe Telerik can put this on the winshlist for the next version? :-)

Thanks!
Frank



Stanimir
Telerik team
 answered on 22 Sep 2009
14 answers
199 views
HI

I have just noticed a problem with a paged and sorted grid..

In internet explorer,  the tooltip shown is always the content of the first page of results.
After sorting or paging, the tooltips shown are always the first page.

In Firefox or Safari, all works well and the tooltip appropriate to the item is shown.   

It seems like Internet explorer does not action this reset code:
 Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs)  
        If e.CommandName = "Sort" OrElse e.CommandName = "Page" Then  
            RadToolTipManager1.TargetControls.Clear()  
        End If  
    End Sub 

What do you suggest? ("Don't use Internet Explorer" is not of course an option!)

BTW I am using Internet Explorer 8, but also tried it in 'compatibility mode' which is like IE7, allegedly.
So maybe there is an IE8 issue here

Thanks

Clive
Svetlina Anati
Telerik team
 answered on 22 Sep 2009
2 answers
70 views
Hi guys,

firstly i would like to congratulate you for the best component library ever! Now I'm creating reservation system and a really appreciate control to pick date and time. I just seen how is set alarm on iPhone, maybe something like that..

I there any control which can do that?

Thanks a lot.
Jan
Top achievements
Rank 1
 answered on 22 Sep 2009
3 answers
176 views
I have 2 rad editors that I'm using to create emails.  The idea is to have one for HTML the other for Plain Text, I've created a custom toolbar button to fetch the data from the HTML editor and insert it into the Plain Text editor.  Is there a way to include the line breaks?

<script type="text/javascript"> 
//Get Html Content from HTML Editor to The Text Editor -  button on the text editor 
Telerik.Web.UI.Editor.CommandList["GetHtmlContent"] = function(commandName, editor, args) 
{ 
   var htmlEditor = $find("<%=HTMLEditor.ClientID%>"); //find the HTML editor 
   
   editor.set_html(htmlEditor.get_text()); //set the new text in Text Editor 
}; 
</script> 

should I be trying to get_html() then converting it to text only somehow?

Thanks!
Rumen
Telerik team
 answered on 22 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?