or
<div data-role="view" data-layout="app" data-title="about" id="viewid">
<iframe src="http://easytrip.fusio.net/easytrip.htm"></iframe
</div>
But the iframe isn't scrollable in a mobile browser. Is there a way of making the iframe scrollable or a different method of loading a remote page into a view and have it scrollable?
$(document).ready(function () { $(document).on("click", ".ceva", getNextState); }); function getNextState(e) { var grid = $("#Grid").data("kendoGrid"); var ID = $(e.currentTarget).attr('id'); var orderID = $(e.currentTarget).attr('data-ID'); var urlCon = "Idea/NextState?state=" + ID + "&iD=" + orderID; $.ajax({ type: "POST", url: urlCon, contentType: "application/json; charset=utf-8", success: function (data) { var x = data; grid.dataSource.data(data); grid.refresh(); }, error: function () { alert("something went wrong"); } });<asp:Repeater runat="server" ID="repList" EnableViewState="False"> <HeaderTemplate><table id="grid"> <thead> <tr> <th data-field="ShortName">Short Name</th> <th data-field="Site">Site</th> </tr> </thead> <tbody> </HeaderTemplate> <ItemTemplate> <tr> <td><%#Eval("ShortName")%></td> <td><%#Eval("tblSite.Site")%></td> </tr> </ItemTemplate> <FooterTemplate></tbody></table></FooterTemplate></asp:Repeater><script type="text/javascript"> $(function () { $('#grid').kendoGrid({ datasource : { group: {field: "Site"}}, groupable: true, scrollable: true, sortable: true, pageable: true, filterable: true }); });</script>dataSource.sync();$(document).ready(function() { var dataSource = new kendo.data.DataSource({ transport: { read: { url: "/rentingtenants/?property_id=#{@property.id}", dataType: "json" }, update: { url: "#{update_attribute_rentingtenants_url}", dataType: "json", type: "GET", complete: function(e) { $("#grid").data("kendoGrid").dataSource.read(); } }, destroy: { url: "#{remove_rentingtenants_url}", dataType: "json", type: "GET" }, create: { url: "#{rentingtenants_url(:property_id => @property.id )}", type: "POST", complete: function(e) { $("#grid").data("kendoGrid").dataSource.read(); } }, parameterMap: function(options, operation) { if (operation !== "read" && options.models) { return {models: kendo.stringify(options.models)}; } } }, batch: true, schema: { model: { id: "id", fields: { renter: { editable: true, type: "string", validation: { required: true } }, useright: { editable: false, type: "string" }, rentablespace: { editable: true, nullable: false, type: "number", validation: { min: 1, rules: { required: true }, messages: { required: "Bitte geben Sie eine Mietfläche ein." } } }, vacant: { editable: true, type: "boolean" }, monthlyrent: { editable: true, type: "number" }, rental_end: { editable: true, type: "date"}, indexfree: { editable: true, type: "boolean" }, option: { editable: true, type: "boolean" }, comments: { editable: true, type: "string" } } } }, aggregate: [ { field: "rentablespace", aggregate: "sum" }, { field: "monthlyrent", aggregate: "sum" }] }); $('#grid').kendoGrid({ sortable: true, dataSource: dataSource, navigatable: true, dataBound: onDataBound, remove: function(e) { handleRemoveChanges(e, this); }, saveChanges: function (e) { handleSaveChanges(e, this); }, toolbar: [ { name: "create", text: "Neue Mieteinheit" }, { name: "save", text: "Änderungen speichern" }, { name: "cancel", text: "Änderungen verwerfen" } ], columns: [ { field: "renter", title: "Mieter", width: 100, editor: renterDropDownEditor }, { field: "useright", title: "Nutzungsrecht", width: 120}, { field: "rentablespace", title:"Mietfläche", template: "#= kendo.toString(rentablespace, 'n2') # m²", footerTemplate: "#= kendo.toString(sum, 'n2') # m²", width: 110 }, { field: "vacant", template: "#= vacant == true ? 'Ja' : 'Nein' #", title:"Leerstehend", width: 80 }, { field: "monthlyrent", title:"Monatsmiete", format: "{0:c}", footerTemplate: "#= kendo.toString(sum, 'c2') #", width: 90 }, { field: "rental_end", title:"Vertragsende", width: 90, template: "#= rental_end != 'null' && rental_end != '' ? kendo.toString(rental_end, 'dd.MM.yyyy') : '' #", width: 90 }, { field: "indexfree", title:"Indexfrei", template: "#= indexfree == true ? 'Ja' : 'Nein' #", width: 60 }, { field: "option", title:"Option", template: "#= option == true ? 'Ja' : 'Nein' #", width: 50 }, { field: "comments", title:"Kommentar", width: 100 }, { title: "", width: 100, command: [{ name: "copy", text: "Kopieren", className: "copy-button"}, { name: "destroy", text: "Löschen" }] }, ], editable: { update: true, confirmation: "Wollen Sie die Mieteinheit wirklich löschen?", save: true, mode: "incell" } }); $("#grid").delegate(".copy-button", "click", function(e) { var row = $(this).closest("tr"), grid = $(this).parents("[data-role=grid]").data("kendoGrid"); //gets child grid var model = grid.dataItem(row); dataSource.insert(0, model); dataSource.sync(); e.preventDefault(); }); });columns.Template(@<text>
@Html.ActionLink(@item.Id.ToString(), "Edit", "CompanyDtails", new { companyId = @item.Id, currentIndex = 0 })
</text>)
.ClientTemplate("<a href='/CompanyDetails/CompanyDetail?companyId=#=Id#¤tIndex=#=0#'>Edit</a>")
.Title("Edit").Width("4%");