Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
301 views

Good afternoon

We have a very simple test: we would like to display RadWindowManager.RadConfirm() on an existing aspx Website.

Therefore, we have:

  • edit.aspx
    <%@ Page Title="" Language="C#" … AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="EnAW.EnergieModell.UserInterface.Web.Zielvereinbarung.Selbstbeurteilung.Edit" %>
    <%@ Register Src="~/UserControls/Message/ValidationDisplay.ascx" TagPrefix="uc" TagName="ValidationDisplay" %>
    <%@ Register Src="~/UserControls/Zielvereinbarung/Selbstbeurteilung/Edit.ascx" TagPrefix="uc" TagName="Edit" %>

    <asp:Content runat="server" ContentPlaceHolderID="ctpMainContent">
        <telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server" EnableShadow="true" />
        <asp:Panel ID="pDeleteConfirm" runat="server"
  • edit.aspx.cs
    void Test() {
    RadWindowManager1.RadConfirm("Server radconfirm: Are you sure", "confirmCallBackFn", 330, 180, null, "Server RadConfirm");
    }

 

Unfortunately, if we call RadConfirm(), nothing happens.

Is it a problem to embed <telerik:RadWindowManager ..> into <asp:Content ...>?

 

Thanks a lot for any help in advance,
kind regards,
Thomas

 

AKROS
Top achievements
Rank 1
 answered on 27 Aug 2016
1 answer
548 views

My grid is setup as below, the grid contains 10 columns where as the filtering doesn't work for only ID column,please help.....
The datatype is int32 and tried with the option but no luck....

<telerik:RadGrid 
        ...
        AllowMultiRowSelection="false" 
        AllowFilteringByColumn ="true"
        runat="server" 
        AllowSorting="true" 
        AllowPaging="true" 
        GridLines="None" 
        EnableHeaderContextMenu="true">
        <MasterTableView 
            ...
            <Columns>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn 
                    UniqueName="ID" 
                    SortExpression="ID" 
                    HeaderText="ID" 
                    DataField="ID" 
                    Groupable="false" 
                    AllowFiltering="true" 
                    AutoPostBackOnFilter="true" 
                    CurrentFilterFunction="Contains" 
                    FilterControlWidth="30px" 
                    FilterControlToolTip="Filter grid by ID" 
                    FilterControlAltText="Filter grid by ID">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblID" Text='<%# Eval("ID") %>'></asp:Label>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn 
                  .........
                </telerik:GridTemplateColumn>

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 26 Aug 2016
14 answers
167 views

Hi,

I've noticed that on my site some of the rightmost drop down elements on a Navigation menu open partially off screen.  In the demo I have seen that they seem to work better.  Is there some css based mechanism on the parent div that will force menus to open on screen.  I saw the menus open to the left on the demo here (http://demos.telerik.com/aspnet-ajax/navigation/overview/defaultvb.aspx?show-source=true), on my bar the last element would open displaying the menu off screen...

 Regards

Jon

Keith
Top achievements
Rank 1
 answered on 26 Aug 2016
1 answer
127 views

I have a ASP Dropdown list and Telerik RadComboBox. Both are binding same values.

Now I want to select same value in RadComboBox which user select in ASP Dropdown list.

I have used below codes but RadComboBox always shows previous selcted value only.

 

1.     string Name = ddlList.SelectedItem.Text;

        rcbComboBox.ClearCheckedItems();
        rcbComboBox.Text = string.Empty;
        rcbComboBox.Text = Name;
        rcbComboBox.Items.FindItemByText(Name).Checked = true;

        rcbComboBox.Items.FindItemByText(Name).Selected = true;

 

2.   

Ivan Danchev
Telerik team
 answered on 26 Aug 2016
6 answers
138 views

Hi all,

I'm having huge problems attempting to bind a radgrid to a WCF service using JSON using the built-in ClientSettings-DataBinding

The various code components:

WCF Call - returning a WSResponse_Machine_Readings class
 
Interface:
 
<OperationContract()> _
<WebInvoke(Method:="POST", ResponseFormat:=WebMessageFormat.Json, RequestFormat:=WebMessageFormat.Json, BodyStyle:=WebMessageBodyStyle.Wrapped, UriTemplate:="GetMachineReadings/")> _
 
Function GetMachineReadings(ByVal startRowIndex As Integer, ByVal maximumRows As Integer, ByVal sortExpression As String, ByVal filterExpression As String) As Machines.WSResponse_Machine_Readings
 
Function:
 
    Public Function GetMachineReadings(ByVal startRowIndex As Integer, ByVal maximumRows As Integer, ByVal sortExpression As String, ByVal filterExpression As String) As Machines.WSResponse_Machine_Readings Implements IRicohData.GetMachineReadings
        Dim orgID As Integer = 39311
        Dim Serial As String = "W3009606995"
        Dim Contract As String = "233807"
 
        Dim _response As New Machines.WSResponse_Machine_Readings
        Dim _items As New List(Of Machines.MachineReading)
        _items = Machines.getReadingsList(orgID, "", Serial, Contract)
        _response.Count = _items.Count
        _response.Data = _items
 
        Return _response
    End Function
 
 
WSResponse_Machine_Readings Class:
 
    Public Class WSResponse_Machine_Readings
        Public Property Count()
        Public Property Data() As List(Of MachineReading)
    End Class
 
 
MachineReading Class:
 
    Public Class MachineReading
        Public Property ReadingDate
        Public Property ReadingType
        Public Property ReadingBLK
        Public Property ReadingCLR
    End Class
 
Function populating my List(of MachineReading):
 
    Public Shared Function getReadingsList(ByVal orgID As Integer, ByVal Model As String, ByVal Serial As String, ByVal Contract As String) As List(Of MachineReading)
        Dim results As DataView = executeGetContractData(orgID, Model, Serial, Contract, "Readings")
        Dim _items As New List(Of MachineReading)
        For Each result As DataRowView In results
            Dim _item As New MachineReading
            With _item
                .ReadingDate = result("ReadingDate").trim()
                .ReadingType = result("ReadingType").trim()
                .ReadingBLK = result("ReadingBLK").trim()
                .ReadingCLR = result("ReadingCLR").trim()
            End With
            _items.Add(_item)
        Next
        Return _items
    End Function
 
RadGrid definition:
 
                        <telerik:RadGrid ID="gridReadings" runat="server" AutoGenerateColumns="False"
                            AllowPaging="True" Height="420px" Width="850px" EnableViewState="False" BorderStyle="None"
                            AllowSorting="True" PageSize="10" ClientSettings-Scrolling-UseStaticHeaders="true"
                            CellSpacing="0" GridLines="None">
                            <MasterTableView Font-Size="90%" NoMasterRecordsText="No readings to display">
                                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column column" HeaderText="Date"
                                        HeaderStyle-Width="100" DataField="ReadingDate" UniqueName="ReadingDate">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Type"
                                        HeaderStyle-Width="200" DataField="ReadingType" UniqueName="ReadingType">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" HeaderText="Black"
                                        HeaderStyle-Width="100" DataField="ReadingBLK" UniqueName="ReadingBLK">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" HeaderText="Colour"
                                        HeaderStyle-Width="100" DataField="ReadingCLR" UniqueName="ReadingCLR">
                                    </telerik:GridBoundColumn>
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                    </EditColumn>
                                </EditFormSettings>
                                <PagerStyle AlwaysVisible="True" PageButtonCount="5"></PagerStyle>
                            </MasterTableView>
                            <ClientSettings>
                                <ClientEvents />
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" />
                                <DataBinding SelectMethod="GetMachineReadings/" Location="https://ws.ricoh.co.nz/Services/Ricoh/RicohData.svc" FilterParameterType="List" SortParameterType="List">
                                </DataBinding>
                            </ClientSettings>
                            <PagerStyle AlwaysVisible="true" />
                            <GroupingSettings CaseSensitive="False" />
                            <FilterMenu EnableImageSprites="False">
                            </FilterMenu>
                        </telerik:RadGrid>
 
JSON return from the service:
 
{"GetMachineReadingsResult":{"Count":31,"Data":[{"ReadingBLK":"22,554","ReadingCLR":"0","ReadingDate":"14\/09\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"21,206","ReadingCLR":"0","ReadingDate":"14\/08\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"20,787","ReadingCLR":"0","ReadingDate":"07\/08\/13","ReadingType":"Engineer Reading"},{"ReadingBLK":"19,872","ReadingCLR":"0","ReadingDate":"14\/07\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"18,826","ReadingCLR":"0","ReadingDate":"14\/06\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"17,044","ReadingCLR":"0","ReadingDate":"14\/05\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"16,155","ReadingCLR":"0","ReadingDate":"14\/04\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"15,049","ReadingCLR":"0","ReadingDate":"14\/03\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"13,470","ReadingCLR":"0","ReadingDate":"14\/02\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"13,470","ReadingCLR":"0","ReadingDate":"14\/01\/13","ReadingType":"Customer Reading"},{"ReadingBLK":"13,405","ReadingCLR":"0","ReadingDate":"14\/12\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"12,783","ReadingCLR":"0","ReadingDate":"14\/11\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"12,113","ReadingCLR":"0","ReadingDate":"14\/10\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"11,424","ReadingCLR":"0","ReadingDate":"14\/09\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"10,228","ReadingCLR":"0","ReadingDate":"14\/08\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"9,310","ReadingCLR":"0","ReadingDate":"14\/07\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"8,997","ReadingCLR":"0","ReadingDate":"14\/06\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"8,320","ReadingCLR":"0","ReadingDate":"14\/05\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"6,809","ReadingCLR":"0","ReadingDate":"14\/04\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"6,809","ReadingCLR":"0","ReadingDate":"14\/03\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"6,329","ReadingCLR":"0","ReadingDate":"14\/02\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"5,841","ReadingCLR":"0","ReadingDate":"14\/01\/12","ReadingType":"Customer Reading"},{"ReadingBLK":"5,819","ReadingCLR":"0","ReadingDate":"14\/12\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"5,306","ReadingCLR":"0","ReadingDate":"14\/11\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"4,576","ReadingCLR":"0","ReadingDate":"14\/10\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"4,224","ReadingCLR":"0","ReadingDate":"14\/09\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"3,071","ReadingCLR":"0","ReadingDate":"14\/08\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"1,988","ReadingCLR":"0","ReadingDate":"14\/07\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"1,988","ReadingCLR":"0","ReadingDate":"14\/06\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"119","ReadingCLR":"0","ReadingDate":"14\/05\/11","ReadingType":"Customer Reading"},{"ReadingBLK":"119","ReadingCLR":"0","ReadingDate":"02\/05\/11","ReadingType":"Initial Reading"}]}}


I know the service is returning results, and I can output data using jquery, but the grid simple refuses to bind.
I've searched the forums and examples and can't find anything that will help me resolve this problem.

Any help would be appreciated
Cheers!


Marin
Telerik team
 answered on 26 Aug 2016
4 answers
2.2K+ views

Here is a link to a demo you have for the RadGrid:

http://demos.telerik.com/aspnet-ajax/grid/mobile-examples/overview/default.aspx?name=overview&utm_source=AJAX+Demos&utm_medium=QRcode&utm_campaign=Ajax_mobile_demos_qrcode

I have a RadGrid with Static Headers=True and AutoGenerateColumns = False.  The RadGrid is populated by a DataSet.  My RadGrid does not respond like this demo does when the window of the browser is resized.  I have tried RenderMode=Auto and the resizing in Client Settings.

I do have an AjaxLoadingPanel for my RadGrid.

What do I need to do to get my RadGrid to respond like the demo does?

Can you provide an example code so the RadGrid responds the same as this demo when browser window is resized?

Please help!

Here is the markup for my RadGrid:

<telerik:RadAjaxLoadingPanel runat="server" ID="gridLoadingPanel"></telerik:RadAjaxLoadingPanel>
<telerik:RadGrid ID="rgRYGReport" runat="server" Height="456px" Width="100%" AutoGenerateColumns="False" AllowPaging="True" PageSize="100"
        OnDataBinding="rgRYGReport_DataBinding" OnPageIndexChanged="rgRYGReport_PageIndexChanged" OnNeedDataSource="rgRYGReport_NeedDataSource" ShowStatusBar="True">
    <GroupingSettings CollapseAllTooltip="Collapse all groups" />
    <ExportSettings IgnorePaging="True">
        <Pdf AllowPrinting="False">
        </Pdf>
        <Excel FileExtension="xlsx" Format="Xlsx" />
    </ExportSettings>
    <ClientSettings>
        <Selecting AllowRowSelect="True" />
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
        <Resizing AllowResizeToFit="True" />
    </ClientSettings>
    <MasterTableView EnableViewState="true" DataKeyNames="MILL_PART_NO,RSDC_PART_NO,PO_SUPPLIER_CODE" ClientDataKeyNames="MILL_PART_NO,RSDC_PART_NO,PO_SUPPLIER_CODE">
        <Columns>
            <telerik:GridBoundColumn DataField="MILL_PART_NO" FilterControlAltText="Filter column0 column" HeaderText="<br/><br/><br/>Mill Part No." ReadOnly="True" UniqueName="MillPartNbr">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="RSDC_PART_NO" FilterControlAltText="Filter column1 column" HeaderText="<br/><br/><br/>RSDC Part No." ReadOnly="True" UniqueName="RSDCPartNbr">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="OVRALL_DOH_RATIO" FilterControlAltText="Filter column2 column" HeaderText="<br/><br/>OVL<br/>DOH" ReadOnly="True" UniqueName="OvlDOH">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="OVRALL_STATUS" FilterControlAltText="Filter column3 column" HeaderText="<br/><br/>OVL<br/>Status" ReadOnly="True" UniqueName="OverallStatus">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DOH_WHSE" FilterControlAltText="Filter column4 column" HeaderText="<br/><br/>DOH<br/>WHSE" ReadOnly="True" UniqueName="DOHWhse">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FINAL_PROCESSING" FilterControlAltText="Filter column5 column" HeaderText="<br/><br/><br/>Proc" ReadOnly="True" UniqueName="Proc">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="TIER" FilterControlAltText="Filter column6 column" HeaderText="<br/><br/><br/>Tier" ReadOnly="True" UniqueName="Tier">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PART_TYPE" FilterControlAltText="Filter column7 column" HeaderText="<br/><br/>Part<br/>Type" ReadOnly="True" UniqueName="PartType">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="GM_PRESSLINE" FilterControlAltText="Filter column8 column" HeaderText="<br/><br/>Press<br/>Line" ReadOnly="True" UniqueName="PressLine">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="COMMENTS" FilterControlAltText="Filter column8 column" HeaderText="<br/><br/><br/>Comments" ReadOnly="True" UniqueName="Comments">
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn UniqueName="TemplateCommentsColumn">
                <ItemTemplate>
                    <asp:HyperLink ID="CommentsLink" runat="server" Text="Add/Edit Comment"></asp:HyperLink>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="<br/><br/><br/>Release" UniqueName="TemplateReleaseColumn">
                <ItemTemplate>
                    <asp:HyperLink ID="ReleaseLink" runat="server" Text="Click To Order"></asp:HyperLink>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn DataField="PO_SUPPLIER_CODE" FilterControlAltText="Filter column9 column" HeaderText="<br/><br/><br/>Mill" ReadOnly="True" UniqueName="Mill">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="SHIP_TO_CODE" FilterControlAltText="Filter column10 column" HeaderText="<br/><br/><br/>MFD" ReadOnly="True" UniqueName="MFD">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="VEHICLE" FilterControlAltText="Filter column11 column" HeaderText="<br/><br/><br/>Vehicle" ReadOnly="True" UniqueName="Vehicle">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PROG_NO" FilterControlAltText="Filter column12 column" HeaderText="<br/><br/><br/>Prog." ReadOnly="True" UniqueName="ProgNbr">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DESCRIP" FilterControlAltText="Filter column13 column" HeaderText="<br/><br/><br/>Desc." ReadOnly="True" UniqueName="Description">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="REQ_MIN_QTY" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/><br/>Coil Min" ReadOnly="True" UniqueName="CoilMin">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="REQ_MAX_QTY" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/><br/>Coil Max" ReadOnly="True" UniqueName="CoilMax">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="REWORKHOLWGT" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/>Rework/Hol<br/>Weight" ReadOnly="True" UniqueName="ReworkHolWgt">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="REWORKHOLPCS" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/>Rework/Hol<br/>Pcs." ReadOnly="True" UniqueName="ReworkHolPcs">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="MASTER_AVAILABLE" FilterControlAltText="Filter column14 column" HeaderText="<br/>Available<br/>Master Coils<br/>Weight" ReadOnly="True" UniqueName="AvailMasterCoilsWgt">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="MASTER_TO_PRODUCE" FilterControlAltText="Filter column14 column" HeaderText="Approx.<br/>Yield From<br/>Coils<br/>Weight" ReadOnly="True" UniqueName="ApproxYieldFromCoilsWgt">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PULL_SIZE" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/>Per Day<br/>Part Usage" ReadOnly="True" UniqueName="PerDayPartUsage">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="REQ_REC_QTY" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/>Pcs/Kgs<br/>Min" ReadOnly="True" UniqueName="PcsKgsMin">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="REQ_REC_MAX_QTY" FilterControlAltText="Filter column14 column" HeaderText="<br/><br/>Pcs/Kgs<br/>Max" ReadOnly="True" UniqueName="PcsKgsMax">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="RTSWHSEPCSKGS" FilterControlAltText="Filter column14 column" HeaderText="<br/>RTS<br/>WHSE<br/>Pcs/Kgs" ReadOnly="True" UniqueName="RTSWhsePcsKgs">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PCS_AT_OPW" FilterControlAltText="Filter column2 column" HeaderText="<br/><br/>OWH<br/>Pieces" ReadOnly="True" UniqueName="OWHPieces">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="COIL_KGS_AT_OPW" FilterControlAltText="Filter column2 column" HeaderText="<br/><br/>OWH<br/>Coils" ReadOnly="True" UniqueName="OWHCoils">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PCS_INTRANSIT_OPW" FilterControlAltText="Filter column14 column" HeaderText="<br/>RTS<br/>Intransit<br/>Pieces" ReadOnly="True" UniqueName="RTSIntransitPcs">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="RTSINPRRSDCPCSKGS" FilterControlAltText="Filter column14 column" HeaderText="RTS/Inpr<br/>RSDC<br/>Pieces<br/>Kgs" ReadOnly="True" UniqueName="RTSInprRSDCPcsKgs">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
</telerik:RadGrid>

Keith
Top achievements
Rank 1
 answered on 26 Aug 2016
2 answers
68 views

I have a sliding panel bar setup on my pages. Every time I click on the button to open it, the panel bar slides open, but it throws this error, "Object doesn't support property or method 'stopTransition'", and I can not close the panel bar.  I thought may be I did something wrong so I created a page and copied the example here, http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/slidingpanelbar/defaultvb.aspx . When I tried running that it also threw the error and behaved the same way.

The version I am using is the latest one : 2016.2.607.45 .

There is another project that I have that has the sliding panel bar and that is working. The only difference with that project is that its running 2014.2.724.45. So what is the issue?

Ivan Danchev
Telerik team
 answered on 26 Aug 2016
3 answers
173 views

I have combo added to every cell header of my grid to provide row filtering but I'm trying to load the data in the combo when it is clicked as per your sample:

http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboboxvsdropdownlist/defaultcs.aspx?skin=Sunset

but no data is requested as per your sample. If I type something in the combo, it does trigger the ItemsRequested event, but I would like to load data when the combo is clicked. The reason I don't want to preloaded (as it is currently done!) is that if a user never uses any of the filters, he/she should not have to be penalized having to wait additional time for these to be filled, queries to get this data should not be executed, etc...

This is the code I'm currently using:

RadComboBox comboBox = new RadComboBox();
comboBox.ID = GetFilterID(columnIndex);
comboBox.MarkFirstMatch = true;
comboBox.AutoPostBack = true;
comboBox.CssClass = "Filter";
comboBox.TextChanged += new EventHandler(comboBox_TextChanged);
comboBox.ShowDropDownOnTextboxClick = true;
comboBox.AppendDataBoundItems = true;
comboBox.EnableLoadOnDemand = true;
comboBox.DataTextField = filterableField.DataField;
comboBox.DataValueField = filterableField.DataField;
//comboBox.DataSource = GetFilterData(filterableField.DataField);
comboBox.ItemsRequested +=new RadComboBoxItemsRequestedEventHandler(comboBox_ItemsRequested);
comboBox.EnableVirtualScrolling = false;
comboBox.ShowMoreResultsBox = false;
comboBox.AllowCustomText = false;

headerCell.Controls.Add(comboBox);

private void comboBox_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
    Debug.WriteLine("");  //Load additional data from here.
}

There is no html code as this is all done at run-time. Based on your sample as per link above, I can't spot any difference except that you have a RenderMode to "LightWeight" but I don't think that's the problem.

Any ideas?

Thanks.

Peter Milchev
Telerik team
 answered on 26 Aug 2016
6 answers
138 views
Hi,

I have a strange behaviour when dragging and dropping appointments in RadScheduler. What I am seeing is that under some circumstances, if the mouse button is released, the cursor still has a drag/drop helper tracking it - on clicking the mouse button again, the drop completes, but the helper still follows the cursor, if I click again, the drag completes again, in fact the ghost does not go away at all!

It appears to occur if the mouse button is accidentally released during the start of the drag - often happens with laptop panels rather than mice.

I suspect that this is my fault however, because I have inserted icons into each appointment using JQuery, and it appears that the drag operation sometimes doesn't start properly when the icon is dragged, but seems to start fine if I drag the appointment background (or the text).

Does anybody know either:

A) How I can make my inserted IMG tag act as in integral part of the appointment, or
B) Have I overlooked a RadScheduler ClientLib method of adding an icon to an appointment.

Thanks in advance for your help on this.
Veselin Tsvetanov
Telerik team
 answered on 26 Aug 2016
1 answer
102 views

When I change an image in IE11, Radeditor insert the image to different position. There is no issue with Chrome and Firefox.

Repro Step:

1. Go http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

2. Copy following HTML with HTML tab.

3. Chage an image with Desigh tab.

Result: <img> tab is inserted to differint position. 

Is there any workaround on this?

 

<div class="col-sm-12">
<div class="row child_container">
<div class="col-sm-6" style="float: left;">
<div class="row">
<div class="img col-sm-12">
<img alt="" src="/aspnet-ajax/Editor/images/UserDir/Marketing/Tokyo.png" />
</div>
<div>
<dl class=" col-sm-12">
    <dt>xxxxxxxxxxxxxxxxxxxxxx</dt>
    <dd>xxxxxxxxxxxxxxx</dd>
    <dd><a class="link">xxxxxxxxxxxxxxxxx</a>          </dd>
</dl>
</div>
</div>
</div>
<div class="col-sm-6" style="float: left;">
<div class="row">
<div class="img col-sm-12">
<img alt="" src="/aspnet-ajax/Editor/images/UserDir/Marketing/Tokyo.png" />
</div>
<div>
<dl class=" col-sm-12">
    <dt>xxxxxxxxxxxxxxxxxxxxxx</dt>
    <dd>xxxxxxxxxxxxxxx</dd>
    <dd><a class="link">xxxxxxxxxxxxxxxxx</a>          </dd>
</dl>
</div>
</div>
</div>
</div>
</div>

Joana
Telerik team
 answered on 26 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?