I am generating a dynamic table based on user input, for giving input i am using ribbonbar combobox. And i have a list view, contain some items. I want to drag and drop listview items in generated table cells. How can i achieve this?? can someone help me with code i am new to teleriks.
Thank, regards.
script:
var getValue = null; function OnClientComboBoxTextChanged(sender, args) { getValue = args.get_comboBox().get_text(); }function CreateTable() { var rowCtr; var cellCtr; var rowCnt = getValue; var cellCnt = getValue; var myTableDiv = document.getElementById('myDynamicTable'); var table = document.createElement('TABLE'); table.setAttribute("contenteditable", "true"); table.border = '1'; table.id = 'myTable'; var tableBody = document.createElement('TBODY'); table.appendChild(tableBody); for (rowCtr = 0; rowCtr < rowCnt; rowCtr++) { var tr = document.createElement('TR'); tableBody.appendChild(tr); for (cellCtr = 0; cellCtr < cellCnt; cellCtr++) { var td = document.createElement('TD'); td.width = '120'; td.height = '50'; td.appendChild(document.createTextNode("")); tr.appendChild(td); } } myTableDiv.appendChild(table);}
Markup:
<telerik:RibbonBarGroup Text="Table Generator"> <Items> <telerik:RibbonBarControlGroup Orientation="Horizontal"> <Items> <telerik:RibbonBarComboBox ID="txtRow" Width="60" runat="server"> <Items> <telerik:RibbonBarListItem Selected="true" /> </Items> </telerik:RibbonBarComboBox> <telerik:RibbonBarComboBox ID="txtCol" Width="60" runat="server"> <Items> <telerik:RibbonBarListItem Selected="true" /> </Items> </telerik:RibbonBarComboBox> <telerik:RibbonBarButton ID="btnGenerate" runat="server" Text="Create" /> </Items> </telerik:RibbonBarControlGroup> </Items> </telerik:RibbonBarGroup><telerik:RadListView ID="RadListView1" runat="server" RenderMode="Lightweight"> <LayoutTemplate> <div style="padding:10px 0 0 10px"> <telerik:RadLabel Text="RadLabel1" ID="rlb1" runat="server" RenderMode="Lightweight" CssClass="listViewStyles"> </telerik:RadLabel> <br /> </div> <div style="padding:10px 0 0 10px"> <telerik:RadTextBox ID="RadTextBox1" runat="server" RenderMode="Lightweight"> </telerik:RadTextBox> </div> <div style="padding:10px 0 0 10px"> <telerik:RadTimePicker ID="RadTimePicker1" runat="server" RenderMode="Lightweight"> </telerik:RadTimePicker> </div> <div style="padding:10px 0 0 10px"> <telerik:RadDatePicker ID="RadDatePicker1" runat="server" RenderMode="Lightweight"> </telerik:RadDatePicker> </div> <div style="padding:10px 0 0 10px"> <telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server" RenderMode="Lightweight"> </telerik:RadDateTimePicker> </div> </LayoutTemplate> <ClientSettings> <DataBinding ItemPlaceHolderID="itemContainer"> <ItemTemplate> <div id="#= ItemHeader #" class="ListViewStyle"> <div style="vertical-align: top; width: 100%"> <table id="ListviewTable"> <tr> <td colspan="2"> <span id="ItemHeader" class="ItemHeaderStyle"><b>#= ItemHeader #</b></span> </td> </tr> </div> </ItemTemplate> </DataBinding> </ClientSettings> </telerik:RadListView>

I'm trying to move a dynamically created Dock from One Zone (not dynamic) to another
Getting some weird results; after the post back the
1. dragged Dock just floats to the top of the screen.
2. the dock expands in the source zone and it un-clickable
3. if i use the ApplyState (ala the demo and many posts), the ViewState becomes corrupt, and the RadGrid on the page fires the NeedsDataSource after every postback
4. get a
There is quite a lot of code to post, so i've linked a sample project that demonstrates the problem
--Jason
i'm fairly certain this is a noob error, but i cant see it

Hi ,
I have an application(say - MyApp) which has an aspx page with RadAjaxManager and multiple rad controls in it. I am trying to access this hosted application in other html page on my desktop (say an html page with an iframe src = 'url of MyApp'). The problem i am facing here is when the page with the radcontols is loaded, the iframe of the html page disappears and even the url in the window refreshes/changes from "C:\\users\Abc\Desktop\Iframe.html" to the "Url of the MyApp" as if the application is run directly without the iframe. We are mostly using the 2014 version of RadControls

I have used the Telerik RadCaptcha control in a number of projects and can never get a skin to work with it. All other controls are using the skin defined in the Web.config file in the key:
<add key="Telerik.Skin" value="Bootstrap"/>
Does anyone have any idea why the RadCaptha is the only control that doesn't follow this in my projects?
Paste is greyed out and has stopped working in RADEditor since our users have upgraded to Firefox v52. Paste works fine in Firefox v37 and Chrome. I have created a demo page below to demonstrate the issue, can anyone help fix it?
http://fdsrv.fire-defence.com/editordemo.aspx

Hi
i use a kendoGrid to provide data in my .net webfrontend. The data is shown correct, but sorting and filtering is nor working. But why?
<script> $(document).ready(function () { $("#grid").kendoGrid({ dataSource: { type: "json", transport: { read: "fabico1.json" }, schema: { model: { fields: { Artikel: { type: "string" }, Bez: { type: "string" }, Menge: { type: "number" }, Einh: {type: "string"} } } }, pageSize: 30, serverPaging: true, serverFiltering: true, serverSorting: true }, height: 430, filterable: true, sortable: true, pageable: true, columns: [{ field: "Artikel", width: 150, filterable: true }, { field: "Bez", }, { field: "Menge" }, { field: "Einh", width: 150 } ] }); }); </script>Can someone provide a working example of how we can compare data in different rows but within the same column? Or see what I'm missing?
Below is a function that throws an error due to an index not existing... but the data populates. If I remove most of the code and add an alert box, it shows the itemindex #.
This grid is populated from code-behind and the columns are dynamic (meaning, specified by the data, not in the markup).
ADMIN EDIT: Solution created by OP: https://www.telerik.com/forums/compare-data-in-different-rows-but-same-column#4BzUDXkNFU2U_FM8atHFbw.
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
RadGrid radGrid = (RadGrid)sender;
if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
{
GridDataItem gridDataItem = (GridDataItem)e.Item;
if (e.Item.ItemIndex > 0)
{
decimal fte;
decimal fteTarget;
GridDataItem previousGridDataItem = radGrid.Items[1];
GridDataItem currentGridDataItem = radGrid.Items[2];
for (int c = 1; c < previousGridDataItem.Cells.Count; c++)
{
if (decimal.TryParse(previousGridDataItem.Cells[c].Text, out fte) && decimal.TryParse(currentGridDataItem.Cells[c].Text, out fteTarget))
{
if (fte <= fteTarget)
{
previousGridDataItem.Cells[c].ForeColor = Utility.Green;
}
else if (fte > fteTarget)
{
previousGridDataItem.Cells[c].ForeColor = Utility.Red;
}
}
}
}
}