Telerik Forums
Kendo UI for jQuery Forum
10 answers
340 views
Using IE9, if you browse to http://demos.kendoui.com/web/editor/index.html and click on an option in the Editor toolbar that opens a dialog (e.g. “insert image” or “insert hyperlink”), the modal dialog that opens will scroll the browser window to the bottom of the page. I mentioned this in an email to Tim Tognacci in your sales team and he came back with "this is actually an issue with IE9, not Kendo UI" ...LOL!
Dimo
Telerik team
 answered on 26 Apr 2013
1 answer
133 views
Hi,

I'm using KendoUI Web v2013.1.319 and developing Grid (popup editing) fetching data from my web service inorder to fetch my data. Now I want to two add new button on end of each row when user clicks I need popup an window to perform CURD operation. 

First button need to pass data from row selected along with additional details and second button is totally new page based on updating I need to navigate to sub-subsequent page which similar to task flow.

Please anyone help me out.

Regards
Amar
Daniel
Telerik team
 answered on 26 Apr 2013
4 answers
267 views
Hi, when I use e.response the object contains a whole lot of information that was not returned from the server.
How do I access just the raw remote service response?
Regards
Andrew
andrew
Top achievements
Rank 1
 answered on 26 Apr 2013
3 answers
223 views
My Data Source is set up to read JSON from my server for a Grid with scrollable.virtual = true. 

I would like to access the data being returned from the server each time the Data Source makes a request and gets more data as the Grid is being scrolled. I think requestEnd is the event I should be using for this. 

However, the requestEnd event seems to fires only once the first time the Grid loads. When the Grid is scrolled down, subsequent requests are made to the server, data is returned and displayed however requestEnd is not fired again. Is this expected? 

Kenny
Rosen
Telerik team
 answered on 26 Apr 2013
3 answers
214 views
Hi,

Is there a way to load a content of an external file onto a ScrollView?

Suppose I have a file named data.html with the following content:

data.html
<b>
This is a sample text in data.html
</b>


Then I have a kendoUI page like this:

<!DOCTYPE html>
<html>
<head>
    <title></title>

<link href="css/kendo.common.min.css" rel="stylesheet" type="text/css" />
    <link href="css/kendo.default.min.css" rel="stylesheet" type="text/css" />
    <link href="css/kendo.mobile.all.min.css" rel="stylesheet" type="text/css" />
<link href="css/TON/generic.css" rel="stylesheet" type="text/css" />

<script src="cordova-2.5.0.js"></script>
    <script src="js/jquery.min.js"></script>
    <script src="js/kendo.mobile.min.js"></script>
    <script src="js/kendo.all.min.js"></script>
</head>
    
    <body>
        <!-- This is our Main Tab -->
        <div data-role="view" id="pregnancyarticledetails" data-layout="default" data-title="Shocker" data-init="mobileListViewDataBindInitFlat">

            <div id="article_content">
            <div style="height:5px;">&nbsp;</div>
                <div id="pregnancy_detail" data-role="scroller" class="scroller-content"></div>
                <div style="height:76px;">&nbsp;</div>
            </div>
            </div>

 <script>
$("#pregnancy_detail").load("data.html");
</script>
    
    </body>
</html> 


The ScrollView seems to be empty. Has anyone done something like this? Any ideas you can share please? Thanks!

Antonio
Kamen Bundev
Telerik team
 answered on 26 Apr 2013
2 answers
140 views
Dear Kendo Team,
I have an issue with a grid in editable mode (incell), selectable row and navigatable.
A column is set as number, so when the grid is in edit mode, a kendoNumericTextBox is shown.
When i navigate into the cell, with the tab key, the other cells (not numeric) throw the save event binding to the grid.
All works fine in chrome, but in IE10, the event is not thrown....and the value is not updated. Only the "enter" key throws the save event for this kind of cell (=>kendoNumericTextBox)
Could you provide a solution for this issue?
Thanks in advance
HUA
Top achievements
Rank 1
 answered on 26 Apr 2013
1 answer
231 views
Hello,

I wanted to develop application using kendo mobile ui in Asp.net MVC 3.  In my application for all view couple of things are common like footer. 

I want same footer in all pages . Right now I am writing below code in all my view. I don't wont to write below code in all my view.

<footer data-role="footer">
              <div data-role="tabstrip">
                 <a href="#home" data-icon="home">Home</a>          
                 <a href="#products" data-icon="info">Products</a>
                 <a href="#settings" data-icon="cart">Cart</a>         
                 <a href="#contact" data-icon="contacts">Contact</a>
              </div>
 </footer>

Is there any way to achieve this thing? Can any one please send me sample code for this?

Thanks
Don
Top achievements
Rank 1
 answered on 26 Apr 2013
4 answers
4.0K+ views
I keep coming across usage of the data-role attribute, but I can't find any documentation that explains what it is for and how to use it. Can you help?
Arshad
Top achievements
Rank 1
 answered on 25 Apr 2013
2 answers
222 views
Here's the scenario, I have a grid (i'm using MVC wrapper to create it, but the problem is on the client so this forum should be ok...), the grid is setup for editing in popup mode. On the databound event, I have some script that alters the buttons to use my own icons rather than the default and it removes any text in the buttons as well.

This is made necessary since there is no way to customize the button's html.

Here's the script that runs on the databound event:
function updateGridButtons() {
$(".k-grid-Details")
.each(function () { styleGridButton(this, "View Details", "e-icon-viewDetails"); });
$(".k-grid-edit")
.each(function () { styleGridButton(this, "Edit", "e-icon-customEdit"); });
$(".k-grid-delete")
.each(function () { styleGridButton(this, "Delete", "e-icon-customDelete"); });
}
function styleGridButton(button, title, icon) {
$(button)
.removeClass("k-button-icontext")
.addClass("k-button-icon")
.attr("title", title)
.html("<span class=\"k-icon " + icon + "\"></span>");
}
The above script works great, it displays exactly like i want it to. The details button is a custom button, while the edit and delete are the default output of the MVC wrapper for those commands. The problem starts when I complete an edit, rather when i click the "Update" or "Cancel" button on the popup. For some reason, the buttons switch back to thier original state with the original icons and text.

I've tried binding to the click events of the update and cancel, but the change is occuring after that event. I've tried binding to the DOMNodeInserted/DOMNodeRemoved events but I cannot seem to get those events to bind or fire consistently across all browsers or all situations.

Any ideas on how to prevent the buttons from changing back to thier original state? Any help would be appreciated.

Mike
Top achievements
Rank 1
 answered on 25 Apr 2013
2 answers
302 views
I built a custom download using your tool for the last release. I now need to use the current internal build/hotfix but the custom download tool does not support internals, apparently.

How can I combine the .js files I need into one kendo.custom.min.js file? Is it simply a matter of iterating thru each file and concatenating the text into the new file? Is there an order that must be observed?

I tried this LinqPad C# script but the resulting .js file did not appear to work.
// Iterate thru .js files in KendoCustom to create kendo.custom.min.js
 
void Main()
{
        var files = Directory.EnumerateFiles(@"C:\Users\me\Desktop\KendoCustom\", "*.js");
        var outputFile = @"C:\Users\me\Desktop\KendoCustom\kendo.custom.min.js";
        if (File.Exists(outputFile)) File.Delete(outputFile);
         
        foreach (var fileName in files)
        {
                var contents = File.ReadAllText(fileName);
                contents = "/* " + fileName + " */ " + contents + "\n\n";
                File.AppendAllText(outputFile, contents);              
        }
}
Thanks,
Gary Davis
Gary Davis
Top achievements
Rank 2
 answered on 25 Apr 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Drag and Drop
Application
Map
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?