Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
Is it possible to use cursor up/down keys to select child menu items?

We know access keys are available for selection but cannot get cursor keys to work when running the following demo:

http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/keyboardsupport/defaultcs.aspx

Thanks in advance....Bob Baldwin
Trabon
Kate
Telerik team
 answered on 30 Aug 2013
3 answers
196 views
Anyone have an example to drag from Listbox to Radgrid?  I can not even get any of the Rowdrop, transferring, dropping etc... to fire?

 

 

<telerik:RadListBox ID="lstPlansMissing" runat="server" AllowAutomaticUpdates="True" AutoPostBack="True" DataTextField="ippComponentDesc" DataValueField="ippComponentID" Font-Size="Small" Height="380px" Skin="Metro" Style="top: 0px; left: 0px; width: 252px; height: 400px;" Width="100%" AllowTransfer="True" AllowTransferOnDoubleClick="True" AutoPostBackOnTransfer="True" EnableDragAndDrop="True">

 

 

 

</telerik:RadListBox>

 



Do I have to enable something on the grid side?  I just want to be able to drag from Listbox to Radgrid.  Don't even need to go the other way just one.  The visual is there when I drag and drop but I can't seem to find a place to catch the code to see which item was selected and dropped.  Do I do that in the grid dropped sub?

Thanks doing this in VB.
Nencho
Telerik team
 answered on 30 Aug 2013
1 answer
378 views
We were given a website to edit that has ComponentArt controls.  The ComponentArt license has expired and we use Telerik controls anyway.  I'd like to change the ComponentArt controls to Telerik.  Is there an easy (or easier) way to do this besides rewriting most of the code?

For example, here's a menu in the code.  How would I change this to use a Telerik menu without just deleting the old code and writing new code?

<ComponentArt:Menu id="Menu1" runat="server" ClientScriptLocation="~/client_scripts/componentart_webui_client/"
    DefaultGroupItemSpacing="1" CollapseTransition="Fade" ExpandTransition="Fade" EnableViewState="false"
    ImagesBaseUrl="images/" ExpandDelay="100" DefaultDisabledItemLookId="DisabledItemLook" DefaultItemLookID="DefaultItemLook"
    DefaultGroupCssClass="MenuGroup" CssClass="TopGroup" Orientation="Horizontal">
    <ItemLooks>
    <ComponentArt:ItemLook LookId="TopItemLook" CssClass="TopMenuItem" ExpandedCssClass="TopMenuItemExpanded"
            HoverCssClass="TopMenuItemHover" LabelPaddingLeft="15" LabelPaddingRight="15" LabelPaddingTop="0" LabelPaddingBottom="0" />
    <ComponentArt:ItemLook LookID="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" LabelPaddingLeft="5"
        LabelPaddingRight="5" LabelPaddingTop="3" LabelPaddingBottom="3" />
    <ComponentArt:ItemLook LookID="DisabledItemLook" CssClass="DisabledMenuItem" HoverCssClass="DisabledMenuItemHover"
        LabelPaddingLeft="15" LabelPaddingRight="10" LabelPaddingTop="3" LabelPaddingBottom="3" />
    <ComponentArt:ItemLook LookID="BreakItem" ImageUrl="break.gif" CssClass="MenuBreak" ImageHeight="1" ImageWidth="100%" />
    </ItemLooks>
</ComponentArt:Menu>
Kate
Telerik team
 answered on 30 Aug 2013
1 answer
88 views
Hi,

breaking my head on this one.
I've implemented a scheduler and used the ajax tooltip wich displays a ascx with my custom information, just like in the demo http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultvb.aspx?#qsf-demo-source
I also added a Ical export button in my appointment template. All works fine.

The appointments need to be editable with rightclick, so I set my tooltipmanager to ShowEvent="OnClick".
But when I clcik the ical button, the export starts, but also the tooltip is shown.
The same when i click the delete button.

I tried excluding in code behind in the AppointmentCreated, clientside  with OnClientBeforeShow, but no luck.
So: what's the right way to exclude the ical export and delete button from triggering the tooltip?

thx!
Plamen
Telerik team
 answered on 30 Aug 2013
7 answers
294 views
Hi,
I am using the attachment feature in a radGrid and it is working but I have no idea on where the attchment get saved and how I can define the folder path to save the files. I do not like them into the database but in a dedicated directory.



Felice
Top achievements
Rank 1
 answered on 30 Aug 2013
2 answers
95 views
I have a situation where I need to be able to modify the text alignment for all the cells in a specific column from left-aligned to right-aligned.  For reasons which are too complicated to go into here, is there a way that I can do this with client-side code?  If the properties to do this are not exposed in the client-side api, is there a css setting that I could modify to do the same thing?  If I had to go the css route I could use jQuery to modify the css at runtime.

Thanks,
Scott
Scott
Top achievements
Rank 1
 answered on 30 Aug 2013
1 answer
122 views
    
Hi,
    I am using the user control on aspx page in sharepoint project .On  user control i have taken radgrid.Paging,filtering of Radgrid is working fine but 'Drag a column header and drop it here to group by that column' is giving the 'Server error '/' in application . I have also tried to resolve this using NeedDatasorce event .Please resolve this. 
    Thanks in advance..


   testControl.ascx

 
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="testControl.ascx.cs" Inherits="CSOM_RetrieveItemsInAList.ControlTemplates.testControl" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
 
 
 
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
    AllowSorting="True"
CellSpacing="0" GridLines="None" AllowFilteringByColumn="True"
    ShowGroupPanel="True" Skin="Outlook" PageSize="50"
    AutoGenerateColumns="False" onneeddatasource="RadGrid1_NeedDataSource">
<GroupingSettings RetainGroupFootersVisibility="True"
ShowUnGroupButton="false" />
<GroupingSettings RetainGroupFootersVisibility="True"></GroupingSettings>
 
<ClientSettings Selecting-AllowRowSelect="true" AllowDragToGroup="True" EnablePostBackOnRowClick="true" >
<Selecting AllowRowSelect="True" UseClientSelectColumnOnly="True"></Selecting>
 
 
</ClientSettings>
 
 
 
 
<MasterTableView CommandItemDisplay="Top" >
<CommandItemSettings ShowExportToExcelButton="True" ShowExportToWordButton="True"
        ShowExportToPdfButton="True" ShowExportToCsvButton="True"
        showaddnewrecordbutton="False"></CommandItemSettings>
 
    <Columns>
    <telerik:GridTemplateColumn >
            <ItemTemplate>
         
              <asp:LinkButton ID="linkbtnViewDetail" runat="server" OnClick="linkbtnViewDetail_Click"  CausesValidation="false" AutoPostBack="True">View Details</asp:LinkButton>
 
        </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn FilterControlAltText="EmpName"
            UniqueName="EmpName" DataField="EmpName" HeaderText="EmpName">
            <ItemTemplate>
         
            <asp:Label ID="lblempName" runat="server" Text='<%#Eval("EmpName") %>'></asp:Label>
 
        </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Flag"
            FilterControlAltText="Filter Flag column" HeaderText="Flag"
            UniqueName="Flag" Visible="False">
            <ItemTemplate>
           
            <asp:Label ID="lblflag" runat="server" Text='<%#Eval("Flag") %>'></asp:Label>
 
        </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Employee_x0020_ID"
            FilterControlAltText="Employee_x0020_ID" HeaderText="Employee ID"
            UniqueName="EmployeeID">
            <ItemTemplate>
          
            <asp:Label ID="lblEmpID" runat="server" Text='<%#Eval("Employee_x0020_ID") %>'></asp:Label>
 
        </ItemTemplate>
        </telerik:GridTemplateColumn>
 
        <telerik:GridTemplateColumn DataField="ID"
            FilterControlAltText="ID" HeaderText="ID" UniqueName="ID" Visible="False">
            <ItemTemplate>
           
            <asp:Label ID="lblitemID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
 
        </ItemTemplate>
        </telerik:GridTemplateColumn>
 
        <telerik:GridTemplateColumn DataField="LeaveRequestID"
            FilterControlAltText="LeaveRequestID" HeaderText="LeaveRequestID"
            UniqueName="LeaveRequestID" Visible="False">
            <ItemTemplate>
            
            <asp:Label ID="LblLeaveReqId" runat="server" Text='<%#Eval("LeaveRequestID") %>'></asp:Label>
 
        </ItemTemplate>
        </telerik:GridTemplateColumn>
 
        <telerik:GridTemplateColumn DataField="WeekNumber"
            FilterControlAltText="Filter WeekNumber column" HeaderText="WeekNumber"
            UniqueName="WeekNumber" Visible="False">
            <ItemTemplate>
            <asp:Label ID="lblWeekNo" runat="server" Text='<%#Eval("WeekNumber") %>'></asp:Label>
        </ItemTemplate>
        </telerik:GridTemplateColumn>
 
        <telerik:GridTemplateColumn DataField="Status"
            FilterControlAltText="Filter Status column" HeaderText="Status"
            UniqueName="Status">
            <ItemTemplate>
            <asp:Label ID="ll12" runat="server" Text='<%#Eval("Status") %>'  ></asp:Label>
        </ItemTemplate>
        </telerik:GridTemplateColumn>
 
        <telerik:GridTemplateColumn DataField="Title"
            FilterControlAltText="Filter Subject column" HeaderText="Subject"
            UniqueName="Subject">
            <ItemTemplate>
            <asp:Label ID="ll8" runat="server" Text='<%#Eval("Title") %>'></asp:Label>
        </ItemTemplate>
        </telerik:GridTemplateColumn>
 
    </Columns>
 
</MasterTableView>
<PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
</telerik:RadGrid>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data;
using Microsoft.SharePoint;
 
namespace CSOM_RetrieveItemsInAList.ControlTemplates
{
    public partial class testControl : UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
          bindGrid();
        }
                                                                       
 
      public void bindGrid()
        {
            SPSite site = new SPSite("http://pasha-pc:42916");
            SPWeb web;
            DataTable dttask = new DataTable();
            DataTable dtNewtask = new DataTable();
             
            web = site.OpenWeb();
            SPList list = web.Lists["Tasks1"];
           
 
 
            dttask = list.Items.GetDataTable();
 
           RadGrid1.DataSource = dttask;
           }
              protected void linkbtnViewDetail_Click(object sender, EventArgs e)
                            {

                             }
           }
 
 
              }
        
 
        
           
        
    

Maria Ilieva
Telerik team
 answered on 30 Aug 2013
8 answers
188 views
Dear Telerik,

is there a automatic spellcheck in editor?

Thank you
Sebastian
Telerik team
 answered on 30 Aug 2013
3 answers
105 views
I have a master page that has a notification control. I want to update the notification as needed during all callbacks. Is there a way to do this without having to add the control to every ajaxsetting. I use a proxy on the content pages and add ajaxsettings programmatically so I would also have to create a reference to the notification control from the master page to add it to the ajacsettings. I have over a hundred ajax calls throughout the site. I basically want to use the notification to show messages for all actions/activity on the site.

Thanks
Maria Ilieva
Telerik team
 answered on 30 Aug 2013
1 answer
86 views
I am having the issue in my attached screenshot.  I cannot figure out why exactly I'm seeing this problem.

My web.config file has maxJsonLength set to max - 2147483644.

How do I know what elements are getting sent into DescribeAppointment that are too large?
Plamen
Telerik team
 answered on 30 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?