Telerik Forums
Kendo UI for jQuery Forum
1 answer
83 views
Hi,all..I put a Grid under the TabStrip.The TabStrip is generated before the Gird and then the Grid is generated dynamically by script(by clicking a button), I got the following problem:
If the Tab is active when generating the Grid then everything works fine.
http://dexterlab.sinaapp.com/tab3.png
but if the target Tab is not active when inserting the grid, the grid's height seems not right, it will overflow in the Tab..Even if I specify the height attribute of Grid.
http://dexterlab.sinaapp.com/tab1.png
http://dexterlab.sinaapp.com/tab2.png
I think there is something wrong with the height calculation of grid under this situation.How to fix it? Thanks!
Dimo
Telerik team
 answered on 19 Dec 2011
4 answers
321 views
Hi guys,

I'm having a problem with the z-indexing on some combo box controls that are placed in the div of a window control. Basically, the combo box appears okay in the window, but if you click the combo box and try and make a selection, the k-animation-container always appears around z-index 10002 or 10003, which is always under the window control.

Or am i doing it wrong?

Tony
Dimo
Telerik team
 answered on 19 Dec 2011
1 answer
171 views
How can I implement firing upload while clicking submit as below code?

@using (Ajax.BeginForm("Upload", null, null, null }))
{
<input id="Uploaded" name="Uploaded" type="file" />
<input type="submit" class="buttonPro k-upload-selected" value="Add"  />
}

for server-side, code is :
[HttpPost]
public Boolean Upload(HttpPostedFileBase Uploaded)
{
  ...
}
John
Top achievements
Rank 1
 answered on 19 Dec 2011
1 answer
153 views
I have a simple grid set however my grid does not display any data anyone know have any clues
$(document).ready(function () {

        $("#grid").kendoGrid({
            columns: [{ title: "Number", field: "Number" },
                    { title: "Title", field: "Title" }
                ],
            dataSource: {
                dataType: "json",
                transport: {
                    read: "/Accreditation/Requirement/GetRequirements"
                }
            }
         
         
        });

    });


here is my json object display coming from my action method
JSON
Id
0
Number
"1"
Title
"test"

Alexandru
Top achievements
Rank 1
 answered on 19 Dec 2011
0 answers
115 views
Hello,

 I want to ajax post to a url when I change the slider value. But it posts every-time when I initialize the slider. For example : 

 $("#abc").kendoRangeSlider({

    .......................................
change:changeFunction
 
}); 

I want to call the changeFunction only when I am changing the slider values. NOT while I initialize the slider itself. The reason is that  I need to ajax different URLs while initialize and change values.

Please help me how can I get around it ?
Thanks. 
Umesh
Top achievements
Rank 1
 asked on 19 Dec 2011
2 answers
169 views
Problem 1:
I think it's the way I have it setup, it shouldn't be initialized EVERY time...but I'm just not sure how to re-call the DS with the proper values.  The problem is the error event KEEPs getting triggered even though it appears as if it works.
Video:http://screencast.com/t/xopirauz0W

Ok, so if I have the error event in there, it just hits it immediatly, if I remove the error event it WORKS the first time, then fails the second time.

function calculateResult() {
    var result = 0.0;
 
    var quantity = _quantityBox.value();
    var fromList = $("#from-select").data("kendoDropDownList");
    var toList = $("#to-select").data("kendoDropDownList");
 
    var toDataItem = getWeightDataItem(toList.value());
 
    //Calculate Result
    $("#result").html("Calculating Result...one moment please");
 
    var conversionDS = new kendo.data.DataSource({
        transport: {
            read: {
                url: _oDataBasePath + "/USDA.svc/ConvertData?$format=json&$callback=callback&ndbno=" + toDataItem.NDB_No + "&seq=" + toDataItem.Seq + "&qty='" + quantity + "'&from='" + fromList.text() + "'&fromID=" + fromList.value() + "&to='" + toList.text() + "'&toID=" + toList.value(),
                dataType: 'jsonp',
                cache: false,
                jsonp: false,
                jsonpCallback: 'callback'
            }
        },
        change: function () {
            alert("works!");
            var convertedData = this.data().d[0];
 
            $("#result").html(convertedData);
        }
    }).read();

Live URL: http://dev.gourmetsleuth.com/calc.aspx

Problem 2:
So I tried seperating it out to the "data" property to see if that changed anything.  However the data property is encoding variables on me
So given this:
data: {
                    $format : "json",
                    $callback: "callback",
                    ndbno: toDataItem.NDB_No,
                    seq: toDataItem.Seq,
                    qty: quantity,
                    from: "'" + fromList.text() + "'",
                    fromID: fromList.value(),
                    to: "'" + toList.text() + "'",
                    toID: toList.value()
                },

the $format and $callback get changed to %24format which obviously fails....so no big deal, if I add them to the transport->read->url then it's smart enough to append the other data items without the duplicate question mark (great!)

However the oData\WCF service fails if I don't wrap my string variables in single quotes....but when I DO that in the above case it again encodes it, and fails :/
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 18 Dec 2011
3 answers
159 views
Hi,

I would like to customize tooltip for a line chart using templates. I need a serie's name and value but can't get it to work (I can only get category name).

I would appreciate help on this.


Thanks,

Igor
Hristo Germanov
Telerik team
 answered on 18 Dec 2011
2 answers
192 views
Hi All,

I have a list of products and allowing the end user to select one product at a time and drop onto two possible locations/divs.

Depending on the selected product (some business rules), I want to have different hint depending which location the product is dragging into.  So let say, if the product is dragging into location one, the hint can be either "dennied", a green icon, again, depending on the "current state of the product".

So would be great if someone can provide an example of how/where to hook up an event handler to change the drag hint dynamically.


Thanks!

JB
JB
Top achievements
Rank 1
 answered on 16 Dec 2011
0 answers
122 views
If I load up a datasource with states( one-time), for example, can I include the datasource on 2 different html templates/pages?
Thomas
Top achievements
Rank 1
 asked on 16 Dec 2011
4 answers
267 views
Hi,

Apologises in advance as this is probably the wrong section completely!

Basically, I have been using Kendo UI on one of my projects whilst it was in the beta stage. I can't afford the commercial license so want to use the GPLv3 version of Kendo UI. However, I'm not an expert on licensing at all. My current project will be open sourced (I don't know which license this will be under) and just wondered if anyone could list what implications the GPLv3 license might have on my current project.

Sorry again if this is in the wrong section but any help would be greatly appreciated.
Thanks
briankb
Top achievements
Rank 2
 answered on 16 Dec 2011
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
SPA
Filter
Drawer (Mobile)
Drawing API
Globalization
Gauges
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?