Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
Hi

I want to edit the radtreenode on double clicking of the node. How can I achieve that scenario??

thanks
Allen
Princy
Top achievements
Rank 2
 answered on 23 Jan 2013
6 answers
179 views
Hello,

I am using the rad editor to manipulate the html contents on my site, I have added some commands to the rad editor which are shown when use right clicks in the editor area. Problem is that images are not showing see the attached image for details...

Here is my code..

//Create a draft editor tool.
EditorTool SaveDraftTool = new EditorTool();
SaveDraftTool.Text = "Spara utkast";
SaveDraftTool.Name = "SaveDraft" + this.ContentItemId.ToString(); //creating a unique command name so that correct article draft is saved.
SaveDraftTool.ImageUrl = "/Modules/HtmlArticle/images/wysiwyg/icons/save-draft.png";
SaveDraftTool.ImageUrlLarge = "/Modules/HtmlArticle/images/wysiwyg/icons/save-draft.png";
 
EditorTool DeleteDraftTool = new EditorTool();
DeleteDraftTool.Text = "Redeara utkast";
DeleteDraftTool.Name = "DeleteDraft" + this.ContentItemId.ToString(); //creating a unique command name so that correct article draft is saved.
DeleteDraftTool.ImageUrl = "/Modules/HtmlArticle/images/wysiwyg/icons/save-draft.png";
DeleteDraftTool.ImageUrlLarge = "/Modules/HtmlArticle/images/wysiwyg/icons/save-draft.png";

Hope this is enough information to figure out the problem... I can provide more information if required!!

Rumen
Telerik team
 answered on 23 Jan 2013
5 answers
317 views
I'm using RadToolbar as CommandItem, and I want to be able to export grid data to Excel by pressing a button on toolbar. I have to mention that grid is ajaxified using RadAjaxManager. I'm having troubles disabling ajax on toolbar button
function onRequestStart(ajaxPanel, eventArgs) {
    if (eventArgs.EventTarget == "ExportToExcel") {
        eventArgs.EnableAjax = false;
    }
as I can't get the button in the toolbar. Can anyone, please, post some working sample code with exporting grid data from toolbar button?
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Jan 2013
1 answer
150 views
CSS Sprites for RadToolBarButton in RadGrid CommandItemTemplate

Hi,
I am using RadToolBarButton in RadGrid CommandItemTemplate. But I have over 15 buttons and each button has corresponding normal and hovered images. I want to use only one CSS sprites image for all the [image only] RadToolBarButtons to reduce http requests.

<telerik:RadToolBarButton CommandName="InitInsert" ToolTip="Add Item"
    ImageUrl="~/Img/addN.png" HoveredImageUrl="~/Img/addH.png">
</telerik:RadToolBarButton>

<telerik:RadToolBarButton CommandName="EditSelected" ToolTip="Edit Item"
    ImageUrl="~/Img/editN.png" HoveredImageUrl="~/Img/editH.png">
</telerik:RadToolBarButton>

<telerik:RadToolBarButton CommandName="DeleteSelected" ToolTip="Delete Item"
    ImageUrl="~/Img/deleteN.png" HoveredImageUrl="~/Img/deleteH.png">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton>
<ItemTemplate>
        <telerik:RadButton ID="BtnToggle" runat="server" ButtonType="ToggleButton" 
        ToggleType="CustomToggle" AutoPostBack="false" Checked="true" BackColor="White"
        ToolTip="Toogle Folders" OnClientClicked="jsToggleGroup">
            <ToggleStates>
                <telerik:RadButtonToggleState Text="Collapse" Selected="true">
                </telerik:RadButtonToggleState>
                <telerik:RadButtonToggleState Text="Expand" >
                </telerik:RadButtonToggleState>
            </ToggleStates>
        </telerik:RadButton>
</ItemTemplate>
</telerik:RadToolBarButton>

and so on ...

What's the best way to do that? I noticed that RadToolBar has "EnableImageSprites" option. Does anyone have some sample code to enable sprites in RadToolBar?

Thanks.

The team,
http://www.megasearches.com/
Kate
Telerik team
 answered on 23 Jan 2013
4 answers
184 views
Hello,
 I am using telerik listView control for displaying data on web page. I have 16 object in data source and I am binding in to list view control. What I want is that it should display 4X 4 format(4 rows and 4 columns) on page. When i am doing it is displaying all 16 elements in a single column. How I will do this?
Ranjan
Top achievements
Rank 1
 answered on 23 Jan 2013
6 answers
221 views
I have a RadRotator that takes several images from a database (the image url's)
All images may not be exactly the same size (they dont vary by much though)
How can I force all images displayed in the rotator to be the same size ?  Ive used this

<telerik:RadRotator ID="RadRotator1" runat="server"
                     ScrollDuration="700" FrameDuration="5000"  RotatorType="SlideShow" SlideShowAnimation-Type="Fade" ItemHeight="162px" ItemWidth="207px" PauseOnMouseOver="False">
                     <ItemTemplate>
                         
                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ImageURL") %>'   Height="162px" Width="210px" /> 
                         
                     </ItemTemplate>
        </telerik:RadRotator>

but it doesnt work properly, when images fade in and out, I can still see the remnants of the previous image behind the current image.  I just want all images to be the same size and not to see any of the previous images in the background.  Can anyone help ?
Slav
Telerik team
 answered on 23 Jan 2013
7 answers
297 views
Hi there

I'm wondering how it is possible to use both the radScriptManager and a radCaptcha control that stores its image in the server-side session?

I've tried amending the web.config entry to the httphandler entry, from Telerik.Web.UI.WebResource to Telerik.Web.UI.WebResourceSession, but on doing this, the page will no longer load, as the RadScriptManager control complains it can no longer find Telerik.Web.UI.WebResource, at least I assume that is what is happening, as the page just stops with the error:

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config.


Could anybody let me know what would be the correct way of configuring web.config to keep both these controls happy? Leaving both of the options in does not appear to work either?

Thanks if you can advise.

Regards

Slav
Telerik team
 answered on 23 Jan 2013
1 answer
117 views
Hello Telerik-Team,
I would like to know if there is a maximum width for the rsContentTable, the rsAllDayTable and the rsHorizontalTable.

I'm using the RadScheduler control inside a RadSplitter control. In the day view I'm using grouping and currently I have 31 resources. In the code behind, I set the ColumnWidth property of the RadScheduler object to 200px if the user changes to day view and use overflow-x to create a horizontal scroll bar (otherwise the scheduler will render 31 columns in the width of the RadScheduler control object and the columns will be very small).

Now if I try to switch from the day view into week or month view I get an error. The error looks like an internal telerik error and I added a screen shot.

Now if I do not use 200px as columns width for the grouping, but instead of a width of 151px or smaller, the switching of the views works. In other words, if the width for all resource grouping columns altogether is below 4681px it works, if it is bigger, the error occurrs.

Do you have any ideas?

We are using telerik version 212.2.724.40 and the error occurs both with FF 18.0 and IE 9.

Thanks,
Richard Huber
Plamen
Telerik team
 answered on 23 Jan 2013
4 answers
393 views
Hello Team,

I am trying to export RadhtmlChart (pie chart) to PDF format using third party tool called "EvoPDF" which helps to convert HTML to PDF.
EVO HTML to PDF Converter offers full support for HTML tags, CSS and SVG.


Currently using EvoPDF i am successfully able to generate pie chart into PDF, but issue is the pie chart which is exported to PDF is
getting black.The original pie series consist of various different colors and in the PDF all the pie series are getting black.

Can you help to get the RadHtmlChart work together with EvoPDF.

Did RadHtmlChart support EvoPDF(EvoPDF supports SVG)?

We have attached the Pie chart getting black when exporting it into PDF using EvoPDF approach.

Thanks,
Aakansha
Nicolaï
Top achievements
Rank 2
 answered on 23 Jan 2013
1 answer
67 views
Hi,

I am rendering appointments by using web method some times i got the following error

i don't know how to solve this. let me know what is that problem??????
Plamen
Telerik team
 answered on 23 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?