Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
135 views
When I look in code the LightBox DIV has z-index 3006.
That is way too low, RadMenu has 7000...

Marc
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 08 Sep 2014
1 answer
128 views
Telerik Version is 2013.1.403.35
i want to use BatchEdit in RadGrid
but there are no 'Batch' in MasterTableView's EditMode



Eyup
Telerik team
 answered on 08 Sep 2014
2 answers
91 views
Hi All ,

New to the forum and telerik.
I have to achieve a functionality to export radgrid to all formats and save it to some location on a single button click.
How can accomplish this.
The export method for the radgrid doesnot seem to work simultaneously one after another.

Thanks in advance 
Keshav
Top achievements
Rank 1
 answered on 08 Sep 2014
6 answers
327 views

I am using the Q2 2011 version of Telerik's ASP.NET AJAX controls installed with Visual Studio 2010.

I have dropped a RadScheduler onto my Test.aspx and I am binding it to a SQL Server backend, much like the RadScheduler TimelineView example that is included/installed with the Telerik controls. Everything was good, until I applied a GroupBy to the scheduler control. With the GroupBy included, my data no longer appears in the scheduler control when I browse the Test.aspx.

The GroupBy was initially assigned to the overall scheduler control, and no data would appear in any of the 4 scheduler views (Day, Week, Month, or Timeline). Then I moved the GroupBy to just the <TimelineView> and I could then see data in every view (Day, Week, and Month), except the Timeline view. If I completely remove the GroupBy from the scheduler, I can once again see data in all 4 views, but I want to be able to group my data.

I can't locate the cause of the problem. Here is my Test.aspx (there is no code directly behind this aspx):

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
<%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="scriptMgr" runat="server"></asp:ScriptManager>
        <asp:Panel ID="pnlForScheduler" runat="server">
            <telerik:RadScheduler ID="radScheduler" runat="server" AllowDelete="true"
                AllowEdit="true" AllowInsert="true"
                DataSourceID="dsAppts" DataKeyField="ApptID" DataSubjectField="Subject"
                DataStartField="Start" DataEndField="End" GroupBy="Trucks" <--- Does Not Work Here!
                OverflowBehavior="Expand" SelectedView="TimelineView">
                <AdvancedForm Modal="true" />
                <ResourceTypes>
                    <telerik:ResourceType Name="Trucks" KeyField="TruckID" TextField="TruckName" ForeignKeyField="TruckID" DataSourceID="dsTrucks" />
                </ResourceTypes>
                <TimelineView ColumnHeaderDateFormat="MM/dd/yyyy" GroupBy="Trucks" <--- Does Not Work Here Either!
                              GroupingDirection="Vertical" NumberOfSlots="7" SlotDuration="1.00:00:00" TimeLabelSpan="1" UserSelectable="true" />
            </telerik:RadScheduler>
        </asp:Panel>
        <sds:SessionDataSource ID="dsAppts" runat="server" DisplayWarning="false"
        PrimaryKeyFields="ApptID" ProviderName="System.Data.SqlClient"
        ConnectionString="Server=Test\SQLExpress;Initial Catalog=Appointments;UID=sa;Pwd=123456789"
        SelectCommand="SELECT ApptID, [Subject], Start, [End], UserID, TruckID FROM tblAppointments"
        InsertCommand="INSERT INTO tblAppointments([Subject], Start, [End], UserID, TruckID) VALUES(@Subject, @Start , @End, @UserID, @TruckID)"
        UpdateCommand="UPDATE tblAppointments SET [Subject] = @Subject, Start = @Start, [End] = @End, UserID = @UserID, TruckID = @TruckID WHERE ApptID = @ApptID"
        DeleteCommand="DELETE FROM tblAppointments WHERE ApptID = @ApptID">
        <DeleteParameters>
            <asp:Parameter Name="ApptID" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="UserID" Type="Int32" />
            <asp:Parameter Name="TruckID" Type="Int32" />
            <asp:Parameter Name="ApptID" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="UserID" Type="Int32" />
            <asp:Parameter Name="TruckID" Type="Int32" />
        </InsertParameters>
    </sds:SessionDataSource>
    <sds:SessionDataSource ID="dsTrucks" runat="server" DisplayWarning="false"
        ProviderName="System.Data.SqlClient"
        ConnectionString="Server=Test\SQLExpress;Initial Catalog=Appointments;UID=sa;Pwd=123456789"
        SelectCommand="SELECT TruckID, TruckName FROM tblTrucks">
    </sds:SessionDataSource>
    </div>
    </form>
</body>
</html>
S
Top achievements
Rank 1
 answered on 05 Sep 2014
10 answers
421 views
Hello:

I am using the Rad StylesheetManager in version 2009.3.1503.35.

I have successfully created custom skins for all controls including all parts of radeditor with the exception of displaying the toolbar Icons. It appears that the image associated with the following class does not want to display:
.reTool span
{
    background-image: url('<%=WebResource("CustomSkinsManager.VoltTrack.Editor_Images.CommandSpritesLight.png")%>');
}

I've tried replacing this image with several others with no luck. All other images associated with RadEditor display perfectly including the hover state for each item in the toolbar. All items in the toolbar are functional with the exception of the actual icon displaying.

Is there something else I need to update in order for this to work?

I previously had this set up as a custom skin within the main project and it was working perfectly.

Waseem
Top achievements
Rank 1
 answered on 05 Sep 2014
6 answers
223 views
Hi,
I updated the version of my telerik control to Q1 2012 sp1.
In rad editor image of flash-administration is showed as i also image of media-administration is showed as i.
Please provide the necessary solution.Urgently Needed

Thanks,
Sandeep
Waseem
Top achievements
Rank 1
 answered on 05 Sep 2014
5 answers
446 views
Hi,

I'm new here and I wish to ask help from you guys regarding my problem.

We upgraded our copy of the telerik version from 2009 to 2010 and changed our application's skin to Default. Every thing's looking good. We decided to create a custom skin and registered it on our application. Every thing went well with the custom skin except for the RadEditor and DateTimePicker. The said controls were in the RadGrid's EditItemTemplate.

We set the property EnabledEmbeddedSkin to false. And then the images on the rad editor's tools were not displayed. The buttons for the date time picker didn't display either. And also, the checkboxlist in the radgrid didn't appear either.

Please help? See the attached screenshot.


Thank you!

Regards,
Jeanne
Waseem
Top achievements
Rank 1
 answered on 05 Sep 2014
4 answers
440 views
I've added two custom buttons to the toolbar on the rad editor to save files.  I've created icons for these buttons which I've placed into a folder called "images", relative to the webpage the editor is on.  When I run the page, all the out-of-the-box buttons in the editor's toolbar are displayed.  But, the two custom buttons I've added are using a telerik default floppy disk icon for the "Save" function, and a callout bubble containing an "i" icon for the "SaveAs" function instead of the images I've specified.

View source on the browser shows the codebehind did not insert the paths to the images specified by the ImageUrl attributes.  I've looked around the telerik forum and found some posts saying stylesheet classes are required, however, adding them hasn't helped.  The css classes only affect clientside script, and the omission of the images seems to be happening serverside.

What am I doing wrong?

I'm using Telerik RAD controls 2011.2.915.35 on windows 7 SP1 and am launching the page from inside of visual studio on the personal web browser.

directory structure:
[AllLanguagesSolution]
   [Images]
*      radeditorSave.jpg
*      radeditorSaveAs.jpg
   [Images] END
*   HTMLeditor.aspx
[AllLanguagesSolution] END

<head runat="server">
<title>HTML Editor Dialog</title>
<link href="styles/Main.css" rel="stylesheet" type="text/css" />
<link href="styles/authorit.css" rel="stylesheet" type="text/css" /> 
    <style type="text/css">
        .reTool .Save
        {
            background-image: url(Images/radeditorSave.jpg);
        }
        .reTool .SaveAs
        {
            background-image: url(Images/radeditorSaveAs.jpg);
        }
    </style> 
</head>

<form id="frmHTMLeditor" runat="server">
<table>
<tr><td>
<telerik:RadScriptManager ID="mgrScriptHTMLeditor" Runat="server"></telerik:RadScriptManager>
</td></tr>
<tr><td>
<telerik:RadEditor ID="telerikeditor" Runat="server"
                   OnClientLoad="onClientLoad"
                   OnClientCommandExecuting="OnClientCommandExecuting">
    <Tools>
        <telerik:EditorToolGroup Tag="grpInputOutput">
            <telerik:EditorTool ImageUrl="./Images/radeditorSave.jpg"
                ImageUrlLarge="~/Images/radeditorSave.jpg" Name="Save" ShowText="True"
                Text="Save" />
            <telerik:EditorTool ImageUrl="./Images/radeditorSaveAs.jpg"
                ImageUrlLarge="~/Images/radeditorSaveAs.jpg" Name="SaveAs" ShowText="True"
                Text="Save As" />
        </telerik:EditorToolGroup>       
   </Tools>      
   <Content></Content>             
</telerik:RadEditor>

Waseem
Top achievements
Rank 1
 answered on 05 Sep 2014
2 answers
298 views

Hi,

I have issue with some of the tools icons in RadEditor. Some of the icon shows and functioning as it supposed to, but some it does not show the icon image and looks like it has some problem firing the event for the button as well. This is really simple and I haven’t used any JavaScript. I also attached couple of images for mentioned issue.

Your advice and help would greatly be appreciated!



<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="TestAndDelete._Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
 
    <telerik:RadEditor ID="RadEditor1" runat="server">
        <Tools>
            <telerik:EditorToolGroup>
                <telerik:EditorTool Name="Font" />
                <telerik:EditorTool Name="Paragraph" />
                <telerik:EditorTool Name="Italic" />
                <telerik:EditorTool Name="InsertTable" />
            </telerik:EditorToolGroup>
        </Tools>
        <Content>
</Content>
    </telerik:RadEditor>
</asp:Content>
Waseem
Top achievements
Rank 1
 answered on 05 Sep 2014
6 answers
158 views
I have setup the web.config to use my custom theme:

<appSettings>
    <add key="Telerik.EnableEmbeddedSkins" value="false" />
    <add key="Telerik.Skin" value="Portal" />
  </appSettings>

This works when I have:
<compilation debug="false" 

When I set debug="true" I get 404 errors for the custom images etc I am using on the RadGrid, e.g.:

GET /NotFound?aspxerrorpath=/PortalDev/Content/Grid/sprite.gif HTTP/1.1  <-- missing the path to Portal theme

The path used when debug is false (and this works) is: "PortalDev/Content/themes/Portal/Grid/sprite.gif"

What setting do I need to use to get this to work?

Thanks
Tony
Pavlina
Telerik team
 answered on 05 Sep 2014
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?