Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
524 views
Newbie to Telerix controls; was wondering if anyone could help me regarding programatically setting the radChart Legend's font size?

Thanks in advance,

Kevin
KJF
Top achievements
Rank 2
 answered on 28 Jan 2011
3 answers
146 views
Hi all,
I'm upgrading an app using the old RadEditor Q2 2007 to the new RadEditor AJAX Q3 2010.

I've found an issue with the tools xml file: I want to display a custom button with a custom image. In the old tools file this was declared as follows:

<tool name="mycustomtool" ShowIcon="true" ShowText="false" enabled="true"  iconurl="mycustomtool.gif" />

This causes all sorts of unexpected behaviours, but if I remove the "iconurl" property everything works fine, except for the button that doesn't of course display the image we want.

<tool name="mycustomtool" ShowIcon="true" ShowText="false" enabled="true" />

How can I display my button with the right image using the tools file?
I've been digging around for info but found nothing useful so far (including the "Adding Your Own Buttons" article and various forum threads).

Thanks
Mauro
Mauro
Top achievements
Rank 1
 answered on 28 Jan 2011
0 answers
109 views
When trying to upload a large file (say ~15mb) I am getting an "ObjectDisposedException", "cannot access a closed file".
Here is an example of the code I am using:

while ((bytesRead = UploadFileStream.Read(buffer, 0, buffer.Length)) != 0)
{
/* Do stuff with the data from the uploaded file's stream */
}

Can someone offer me any help or suggestions?
Michael
Top achievements
Rank 1
 asked on 28 Jan 2011
3 answers
87 views
Hi,

I've rad splitter with two rad pane.

1st Pane has Radtreeview
2nd Pane has Radgrid

I'm not able resize my radpane according to its content while expand/collapse .

I want radpane has to resize/adjust its height based on its content either treeview/radgrid's height

Plz help me on this.

regards
Baaje
Dobromir
Telerik team
 answered on 28 Jan 2011
0 answers
81 views
Hi,

this is my first question here on telerik community. i find the telerik controls quite cool and handy in many tasks. Specially the Rad:Scheduler control.

The problem which i am encountering now is that i want to add a custom control like dropdown list to the recurrence rule window which opens when user clicked 'Options' buttons after he/she started editing the timeline.

Is there any way we can add custom control to that screen.
waqas
Top achievements
Rank 1
 asked on 28 Jan 2011
3 answers
91 views
Hi all,
I'm trying to migrate an application from the old RadEditor Q2 2007 SP1 to the new Ajax Editor Q3 2010.
I'm using VS2010 compiling for the .NET 2.0 framework and IE6+ as a target browser.

I use the editor to allow users to create letters: so far I've managed to get the new Editor to display on the page and display the letters.

The problem is: this application needs to set the Editor to one mode only, either Preview (read only) or Design (editable). It seems to be a pretty simple thing and everything works fine when I set it to read only like this:

Editor.Enabled = false;
Editor.EditModes = EditModes.Preview;

The Editor comes up in read-only preview mode as expected.

But if I set it like this:

Editor.Enabled = true;
Editor.EditModes = EditModes.Design;

The Editor comes up again in read-only preview mode!

But if I set it like this:

Editor.Enabled = true;
Editor.EditModes = EditModes.Design | EditModes.Preview;

It comes up in preview mode but displays the buttons to switch between preview and design, but I have to click the "Preview" button first and then the "Design" button after that to get into design mode and start editing.
Although it kind of works, it's obviously not acceptable: what I need is ONE mode active at a time and no way to switch between modes.

Can anybody please help?
More info: I'm setting the EditModes property in the page_load event handler and using IE8 in compatibility mode for the testing.

Thanks
Mauro
.
Rumen
Telerik team
 answered on 28 Jan 2011
2 answers
147 views
Is it possible to set the rad dock background to transparent? I tried this

<telerik:RadDock ID="RadDock2" Runat="server" BackColor="Transparent"  EnableAnimation="true" DockHandle="Grip" Width="195px">


and it did not work.

Thanks!
Clark
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
85 views
Hello I added a custom ImageButton in the Tool Bar

I Use the XML file to add all the menus
like
<tool name="ImageManager" shortcut="CTRL+M"/>
  <tool name="CustomManager" shortcut="CTRL+G"/>

When i click on this i got this error.

When i click on this link i want to show a list and when a list is clicked the content is placed in the editor.
Anyone do this stuff so please help me.

The command CustomManager is not implemented yet.
Rumen
Telerik team
 answered on 28 Jan 2011
7 answers
428 views

Guys,

I have 2 radwindows that are controlled buy WindowManager. Both of them host the same user control. In the first scenario control will generate some HTML and assigned it to a label.text. In a second scenario I will use Response.BinaryWrite to write pdf document to a response stream. I use DestroyOnClose="true” to make sure I have a clean load every time. So far so good, the only one thing that I can not figure out is how to do I show “Loading” image. I cannot do “ShowContentDuringLoad="false"” because the content for a window that is writing to response will never come up. This is also in your documentation (Note: If you intend to show a PDF file in RadWindow instead of a standard page, make sure that ShowContentDuringLoad is set to true. Otherwise if the loaded content is not a page, window.onload will not be fired and RadWindow will not show the content.)

So what can I do?  I really need to make this work because it might take up to 10 seconds while those windows are fully loaded.

<telerik:RadWindowManager ID="RadWindowManager1" runat="server"   
Skin="Web20"   
VisibleStatusbar="false" IconUrl=" " Height="860px" Width="750px" Modal="true" Behaviors="Close,Move,Resize" 
DestroyOnClose="true"   > 
    <Windows> 
        <telerik:RadWindow ID="radPreview" runat="server" Title="Preview" ></telerik:RadWindow> 
        <telerik:RadWindow ID="radPreviewPdf" runat="server" Title="PDF Preview"></telerik:RadWindow> 
 
    </Windows> 
</telerik:RadWindowManager> 

and I open an window with
        function launchPreview(type) {  
 
            url = "blablbla.aspx?bla=sds";  
            if (type == 'pdf') {  
                url = url + "&show=pdf" 
                var oWnd = window.radopen(url, "radPreviewPdf");  
                oWnd.set_title("PDF Preview");  
                oWnd.set_showContentDuringLoad(true);  
                return;  
            } else {              
                var oWnd = window.radopen(url, "radPreview");  
                oWnd.set_title("HTML Preview");                                   
            }  
        } 
SlimSjakie
Top achievements
Rank 2
 answered on 28 Jan 2011
1 answer
87 views
Hi,

On my localhost I am writing

    Dim newsImagesFolderPath As String = Server.MapPath("~/temp/NewsImages/" & Domain)
    Dim newsImagesFolderVirtualPath As String = "~/temp/NewsImages/" & Domain

    If Not FolderExists(newsImagesFolderPath) Then
      FolderCreate(newsImagesFolderPath)
    End If
    uxNewsEditor.ImageManager.ViewPaths = New String() {newsImagesFolderVirtualPath}
    'uxNewsEditor.ImageManager.UploadPaths = New String() {newsImagesFolderVirtualPath}
    'uxNewsEditor.ImageManager.DeletePaths = New String() {newsImagesFolderVirtualPath}


this is working but if I am specifying UploadPaths or Deletepaths, it stops working. Any idea ?

Furqan
Rumen
Telerik team
 answered on 28 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?