Telerik Forums
Kendo UI for jQuery Forum
2 answers
88 views
I'm trying to set the background of a screen that only displays an image. I have tried a few things on the css but it seems I'm not using the correct class to achieve the background change. I want to set the background color to black since the default is white. 
Norman
Top achievements
Rank 2
 answered on 10 Jun 2013
1 answer
173 views
I have a tabstrip with two tabs.   The first tab is a list of documents in a grid.   The second tab is an upload control and these work perfect independently.   I need to refresh the partial view grid though on the first tab click as the users will upload files on the second tab then I need the first tab to reflect the added files. 

Thanks all
Ram
Top achievements
Rank 1
 answered on 10 Jun 2013
8 answers
220 views
Hey,
Ive got a set of data which im using for a kendo line chart and it renders it fine, I use the same dataset on a stockchart (type: line) and choose the same baseUnit as the line chart and it crashes. It happens probably because there are too many point. Could this be the case that a simple line chart can handle that amount of points and the stock chart cant.
Regards,
Neil
Iliana Dyankova
Telerik team
 answered on 10 Jun 2013
2 answers
81 views
I am new to Kendoui and have been setting up my own css sheet to modify minor elements of the the Kendo defaults and need to know the difference between roles and classes.  I am familiar to the concept of class from using html coding, but I am new to the concept of roles.  Could someone give an idiots brief to how the roles affect the layout and whether they can also be modified?
Many thanks
marion
Top achievements
Rank 1
 answered on 10 Jun 2013
2 answers
125 views
I have partial views under 7 tabs. first 1-2 tabs loads the content but after that it throws "loading failded" error. Please help.

Here is my code:

@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(events => events
//.Select("onSelect")
//.Activate("onActivate")
.ContentLoad("onContentLoad")
.Error("onError")
)

.Items(tabstrip =>
{
tabstrip.Add().Text("Specifics")
.Selected(true)
.LoadContentFrom("SelectSpecifics", "Citation", new { id = @Model.CitationID, docType = @Model.DocType });

tabstrip.Add().Text("Authors")
.LoadContentFrom("Authors", "CitationAuthors", new { id = @Model.CitationID });

tabstrip.Add().Text("Abstract")
.LoadContentFrom("Abstract", "CitationAbstract", new { id = @Model.CitationID });

tabstrip.Add().Text("Notes")
.LoadContentFrom("Notes", "CitationNotes", new { id = @Model.CitationID });


tabstrip.Add().Text("Descriptors")
.LoadContentFrom("Descriptors", "CitationDescriptors", new { id = @Model.CitationID });


tabstrip.Add().Text("Groups")
.LoadContentFrom("Groups", "CitationGroups", new { id = @Model.CitationID });

tabstrip.Add().Text("DeletionHistory")
.LoadContentFrom("DeletionHistory", "CitationHistory", new { id = @Model.CitationID });

tabstrip.Add().Text("RetrievalHistory")
.LoadContentFrom("RetrievalHistory", "CitationHistory", new { id = @Model.CitationID });

tabstrip.Add().Text("Accession No.")
.LoadContentFrom("AccessionNumber", "CitationHistory", new { id = @Model.CitationID });


tabstrip.Add().Text("CopyRequest")
.LoadContentFrom("CopyRequest", "CopyRequest", new { id = @Model.CitationID });


tabstrip.Add().Text("Events")
.LoadContentFrom("Events", "CitationEvents", new { id = @Model.CitationID });

tabstrip.Add().Text("ClearingHouse")
.LoadContentFrom("ClearingHouse", "CitationClearingHouse", new { id = @Model.CitationID });
})
)

</div>

<p>
<input type="submit" id="btnSubmit" value="Submit" name="submit" />
<input type="submit" id="btnCancel" value="Cancel" name="cancel" />

</p>
}

<script>
function onSelect(e) {
//kendoConsole.log("Selected: " + $(e.item).find("> .k-link").text());
alert("Activate fired");

}

function onActivate(e) {
//kendoConsole.log("Activated: " + $(e.item).find("> .k-link").text());
alert("Activate fired");

}

function onContentLoad(e) {
//kendoConsole.log("Content loaded in <b>"+ $(e.item).find("> .k-link").text() + "</b> and starts with <b>" + $(e.contentElement).text().substr(0, 20) + "...</b>");
//alert("Activate fired");


}

function onError(e) {
//kendoConsole.error("Loading failed with " + e.xhr.statusText + " " + e.xhr.status);
alert("error fired");
}
 
Thanks
Vandana
Petur Subev
Telerik team
 answered on 10 Jun 2013
3 answers
400 views
Hi!
I'm developing a Kendo Mobile App for which I'm using Charts and Grids contained in a ScrollView Widget. The problem is when I swype, the labels from the pie chart legend interfere because they are clickable. Is there a way to disable this functionality. Disabling the legend is not an option... The API reference doesn't mention anything about this. Please help.
Alexandru
Top achievements
Rank 1
 answered on 10 Jun 2013
5 answers
490 views
After creating the tab with:
$elem.kendoTabStrip({
    animation: {
        open: {
            effects: effet
        }
    }
});
I do:
var objKendoTabStrip = $elem.data("kendoTabStrip")
objKendoTabStrip.select("li:contains(" + tab + ")")
I can see that the tab is selected, but ton content are not displayed. I think the tab do not extend. If I click on another tab, I see the selected tab momentary fadeout and then the new tab fadein.
Any suggestion?
Thanks
Daniel
Telerik team
 answered on 10 Jun 2013
1 answer
113 views
Hi,
I'm trying to user MVVM to bind to a TreeView and send in an array of ids and check the corresponding nodes. The recursive function works when I've expanded the root node. But it doesn't work initially when the root is collapsed.

Here is a JsBin that demonstrates the issue.

Thanks,
Jon
Daniel
Telerik team
 answered on 10 Jun 2013
1 answer
198 views
Hello.

I have a project with kendo-kncokout plugin and real time data using signarR.
 the data is pushed to the KO view model which is bonded  to the grid and updates the data.

While sorting  on regular grid the data is  resorted on update, but when i try to do this on a templated row it doesn't work. 

 

I'm using a   'useKOTemplates: true'  attribute for the template.

Is there a way to make the sorting  work for a template row?



code :

    <table id="grid" data-bind="kendoGrid: { 
    data: GridTable,
    rowTemplate: 'rowTmpl', 
    useKOTemplates: true,  
    pageable: false, 
    sortable: true, 
    resizable: true, 
    reorderable: true,
    columnMenu: true,
    
    filterable: {extra: false, operators: {string: {eq: 'Full Name',startswith: 'Starts with', }, } }, 
    columns: [
    {field: 'CName()', title: 'CName'},
    {field: 'WOName()', title: 'WOName'},  
    {field:'WOPercentProduced()',type: 'number', title: 'WOPercentProduced'}, 
    {field: 'WODate()', type: 'date', title:  'WODate'} ],  
    dataSource: {data:  GridTable ,schema: { model: { fields: 
    { 
     CName: { type: 'string'},
     WOName: { type: 'string' }, 
     WOPercentProduce: { type: 'number'}, 
     WODate: { type: 'date' }
     } }}}  }">
      

      
        <thead>
            <tr>
                <th data-field="CName">
                    CName
                </th>
                <th data-field="WOName">
                    WOName
                </th>
                <th data-field="WOPercentProduced">
                    WOPercentProduced
                </th>
                <th data-field="WODate">
                    WODate
                </th>
            </tr>
        </thead>
    </table>



tnx

Yaniv
Alexander Valchev
Telerik team
 answered on 10 Jun 2013
1 answer
152 views
Hi,
How can I override select event for tabstrip? I need to block possibility of select tabs by clicking on it. Only way to move between strips is to click "next" or "back" button.
Alexander Valchev
Telerik team
 answered on 10 Jun 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
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
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
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
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
StockChart
ContextMenu
TimePicker
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?