Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
164 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
224 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
247 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
335 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
137 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
428 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
81 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
1 answer
62 views
hello
when i try to use the example of double clicking edit that you have on your demos section i ran into a problem. the grid disappear instead of entering edit mode.
also, anybody knows how can i start the grid so it will be always in edit mode?
regards 
maor
Shinu
Top achievements
Rank 2
 answered on 23 Jan 2013
1 answer
94 views
Rad
<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadCodeBlock runat="server" ID="radCodeBlock">
        <script type="text/javascript">

        </script>
    </telerik:RadCodeBlock>
    <div>
        <table style="height: 350px; width: 50%; azimuth: center">
           
            <tr>
                <td style="border-top: none; border-color: White">
                    <asp:Label ID="Label17" runat="server" ForeColor="Red" Text="*" Width="1px"></asp:Label>
                    <asp:Label ID="DateofCommence" runat="server" Text="<%$ Resources:FormName, DtofcommenCommon %>"></asp:Label>
                </td>
                <td style="border-top: none; border-color: White; border-left: none">
                    <telerik:RadDatePicker ID="DateofCommencement" AutoCompleteType="Disabled" runat="server"
                        onkeydown="return (event.keyCode!=13);" ShowPopupOnFocus="true" EnableTyping="false">
                        <DateInput ID="DateInput1" DateFormat="dd/MM/yyyy" runat="server" FocusedStyle-BackColor="Lavender">
                        </DateInput>
                    </telerik:RadDatePicker>
                </td>
            </tr>
</table>
</div>
</asp:content>

That's not open ,
That is inside the <asp:content>
see the image

Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 23 Jan 2013
1 answer
84 views

see the attachment , i have three root nodes ,
i have one drop in  top of the list and i bind the all root node value ,
which value is chosen that value value only going to assign in treelist ,
How i achieve this


Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 23 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?