Hi,
We have implemented following solution on grid to stop row drop postback when gird data is changed
https://www.telerik.com/forums/disable-postback-on-dropped-item
But doing so we are now facing issue on inline combo box doesn't work anymore, after this solution. combo box drop option gets prevent because of grid dropping event. how we can overcome this
<telerik:RadGrid ID="ProcessStepListGrid" EnableEmbeddedSkins="false" runat="server" Height="100%" AutoGenerateColumns="False"
GridLines="None" PagerStyle-Mode="NumericPages" AllowPaging="false"
AllowAutomaticDeletes="true" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
AllowSorting="True" GroupingEnabled="False" EnableAJAX="false" OnNeedDataSource="ProcessStepListGrid_NeedDataSource"
OnRowDrop="ProcessStepListGrid_RowDrop">
<MasterTableView EnableColumnsViewState="false" DataKeyNames="Guid" ShowFooter="true"
CommandItemDisplay="None" EditMode="Batch" >
<CommandItemSettings ShowAddNewRecordButton="false" ShowCancelChangesButton="false" AddNewRecordText="" SaveChangesText="Save" CancelChangesText="Cancel" ShowSaveChangesButton="false"/>
<Columns>
<telerik:GridTemplateColumn UniqueName="Typical" HeaderText="" ColumnGroupName="Typical" >
<ItemTemplate>
<asp:Label ID="lblTypical" runat="server"></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadNumericTextBox ID="rnbTypical" ShowSpinButtons="true" runat="server" Width="50px" MinValue="0" MaxValue="100" NumberFormat-AllowRounding="true" NumberFormat-DecimalDigits="0">
<ClientEvents OnKeyPress="NumbersOnly" />
</telerik:RadNumericTextBox>
</EditItemTemplate>
<FooterTemplate>
<telerik:RadNumericTextBox ID="rnbTypical" ShowSpinButtons="true" runat="server" Width="50px" MinValue="0" MaxValue="100" NumberFormat-AllowRounding="true" NumberFormat-DecimalDigits="0">
<ClientEvents OnKeyPress="NumbersOnly" />
</telerik:RadNumericTextBox>
</FooterTemplate>
<HeaderStyle Width="50px" CssClass="headerBorder" />
<ItemStyle Width="50px" />
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="TypicalMeasure" HeaderText="" ColumnGroupName="Typical" >
<ItemTemplate>
<asp:Label ID="lblTypicalMeasure" runat="server"></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadDropDownList ID="ddlTypicalMeasure" runat="server" DataTextField="DisplayName" DataValueField="Guid" DataSourceID="ReportingPeriodDataSource" Width="50px" DropDownWidth="150px"></telerik:RadDropDownList>
</EditItemTemplate>
<FooterTemplate>
<telerik:RadDropDownList ID="ddlTypicalMeasure" runat="server" DataTextField="DisplayName" DataValueField="Guid" DataSourceID="ReportingPeriodDataSource" Width="50px" DropDownWidth="150px"></telerik:RadDropDownList>
</FooterTemplate>
<HeaderStyle Width="60px" CssClass="headerBorder" />
<ItemStyle Width="60px" />
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings AllowRowsDragDrop="true">
<Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
<ClientEvents OnRowDropping="onRowDropping" />
</ClientSettings>
</telerik:RadGrid>
<script>
function onRowDropping(sender, args) {
var grid = $telerik.findControl(document, "ProcessStepListGrid");
var hasChanged = grid.get_batchEditingManager().hasChanges(grid.get_masterTableView());
if (hasChanged) {
args.set_cancel(true);
}
}
</script>
I'm running into a problem where a clientside add-entry attempt on an empty AutoCompleteBox is growing vertically, breaking my design. Investigating the DOM indicates that the input, with a class of "racEmptyMessage", remains and is overflowing the height.
Clicking into the AutoCompleteBox to give it focus, then clicking away, resolves the design break.
Here's the code that I'm using to add the entry, pulled from the documentation:
function CreateRABEntry(txt, val){ var rab = $find("<%= AutoCompleteBox1.ClientID %>"); var newEntry = rab.createEntry(txt, val); var entries = rab.get_entries(); entries.add(newEntry);}
What am I doing wrong here?

i use 2 list boxes and transfer data between them
also i use direction rtl and it works fine
the data transfer from right to left
also i need to use keyboards, so i implemented the KeyboardNavigationSettings property inside the listbox
and it works but not as all accepted
because the keyword ctrl + right now still transfer the data to the right instead as accepted to the left
and so the keyword ctrl + left is working, but the the opposite way, not as accepted
what is the way to fix that behavior?
Hi,
I have a page which uses a radwindow. In the development environment it works fine. However when its deployed to a production environment the styling appears to be broken. The title bar is transparent.
Here is what it looks like in IE 11
It works as expected in Chrome.
Any ideas / solutions?

Hi,
I am using radsearch filter in my application and i want the filter to retain the value which I gave even if it is not there in the filter dropdown at postback of the page.
Usually, the property of radsearch filter is like when we hit space or if we type something then it makes a server call and start searching for all the data for the 1st dropdown and once we select any value from the dropdown and click on add icon of radsearch filter to add more condition then it will retain the value what we have selected for the 1st dropdown, but only when the value has been selected from the drop down. My requirement is like if I am typing something and even if the data is not there in the dropdown and I click on add icon to add more condition it should retain the value which I have given in the drop down.
Kindly help me in finding a solution for this.
Regards,
Saurabh
I'm using a radgrid and I would like to add an Edit column that uses the default skin edit pencil that opens the radwindow. The radgrid is dependent upon a combobox selection.
What would the best column be for that please? I'm also not sure how to tie it to the radwindow. I'd like to do this on the client side without code behind if possible, but I would use code behind if it's not.
Thank you,
J
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
Here is code in my aspx page.
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage/iCRAMaster.Master" CodeBehind="ScheduleAppointment.aspx.cs" Inherits="iCRA_UI.FieldTech.ScheduleAppointment" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="lib/qsf.js"></script>
<link href="lib/qsf.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
<div class="demo-container no-bg">
<telerik:RadScheduler RenderMode="Lightweight" runat="server" ID="RadScheduler1" GroupBy="Speaker" GroupingDirection="Horizontal"
OnNavigationCommand="RadScheduler1_NavigationCommand"
AppointmentStyleMode="Default" DataSourceID="EventsDataSource" DataKeyField="ID"
FirstDayOfWeek="Friday" LastDayOfWeek="Sunday" DataSubjectField="Description"
DataStartField="StartTime" DataEndField="EndTime" DataRecurrenceField="RecurrenceRule"
SelectedView="DayView" DataRecurrenceParentKeyField="RecurrenceParentID" AllowInsert="true" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentDelete="RadScheduler1_AppointmentDelete" OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnResourceHeaderCreated="RadScheduler1_ResourceHeaderCreated"
OverflowBehavior="Auto">
<AdvancedForm Modal="true"></AdvancedForm>
<MonthView UserSelectable="false"></MonthView>
<TimelineView />
<ResourceHeaderTemplate>
<asp:Panel ID="ResourceImageWrapper" runat="server" CssClass="ResCustomClass">
<asp:Image ID="SpeakerImage" runat="server" AlternateText='<%# Eval("Text") %>'></asp:Image>
</asp:Panel>
</ResourceHeaderTemplate>
<ResourceTypes>
<telerik:ResourceType KeyField="UserID" Name="Speaker" TextField="Fullname" ForeignKeyField="UserID"
DataSourceID="SpeakersDataSource1"></telerik:ResourceType>
</ResourceTypes>
<ResourceStyles>
<telerik:ResourceStyleMapping Type="Speaker" Key="1" BackColor="#eb901b"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="2" BackColor="#8fd21b"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="3" BackColor="#278ce9"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="4" BackColor="#f14db2"></telerik:ResourceStyleMapping>
</ResourceStyles>
<TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
<AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
</telerik:RadScheduler>
</div>
</telerik:RadAjaxPanel>
<asp:SqlDataSource ID="SpeakersDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:SQL %>" SelectCommand="SELECT * FROM [user_view]"
>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SpeakersDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:myConnectionString %>" SelectCommand="SELECT * FROM [sp_view]"></asp:SqlDataSource>
<asp:SqlDataSource ID="EventsDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:myConnectionString %>"
SelectCommand="SELECT * FROM [sp_view]" InsertCommand="INSERT INTO [sp_view] ([Description], [StartTime], [EndTime], [SpeakerID]) VALUES (@Description, @Start, @End, @SpeakerID)"
UpdateCommand="UPDATE [sp_view] SET [Description] = @Description, [Start] = @Start, [End] = @End, [RoomID] = @RoomID, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [UserID] = @SpeakerID WHERE [UserID] = @ID"
DeleteCommand="DELETE FROM [sp_view] WHERE [UserID] = @ID">
<DeleteParameters>
<asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Description" Type="String"></asp:Parameter>
<asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
<asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
<asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="Description" Type="String"></asp:Parameter>
<asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
<asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
<asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
</InsertParameters>
</asp:SqlDataSource>
</asp:Content>
what am doing wrong?

