Telerik Forums
Kendo UI for jQuery Forum
1 answer
57 views
Hi,
If I'm in for example the asp.net wrapper/grid category and searches for 'window' I'm getting 18000 < results and the first page of results are not results from the current category I'm in.
So when searching, it should first search in the current category and after that, if I want to, I can expand to search in the whole website.

You already have this functionality on the main telerik.com website so why haven't you this function here?

Regards,
Mattias
Dimo Mitev
Telerik team
 answered on 11 Feb 2013
5 answers
303 views
I have two html pages
default.htm With LoginView
Views/Home.htm With HomeView

in javascript when login is successfull In trying to navigate to HomeView with this sintax
app.navigate('Views/Home.htm');
and produce this url
http://localhost/Default.htm#ViewsHome.htm

that is incorrect and shows a blank page only

but if I navigate with a link
<a data-align="right" data-role="button" class="nav-button" href="Views/home.htm">Home page</a>
produce this url
http://localhost/Default.htm#HomeView

and shows all the markup.

I've tried all the url variations and still doesn't know what's happening please help me.
Alexander Valchev
Telerik team
 answered on 11 Feb 2013
1 answer
485 views
This code fails if the Guid is in uppercase:

 datasource.bind("change", function (e)
    {
        var element = datasource.get('90a11073-cbfe-4442-9330-9b94d83d53a2')
        ok(element);
        start();
    });

How can I make the id in the schema case insenstive?

Thanks,
Pedro
Daniel
Telerik team
 answered on 11 Feb 2013
2 answers
111 views
my sample xml is 

<id> 
  <r rn="1">
   <vw n="address" v="Mycomp" />
   <vw n="description" v="AdminOU" />
   <vw n="identifier" v="1" />
 </r>
 <r rn="2">
     <vw n="address" v="Mycomp" />
   <vw n="description" v="SASDesignOU" />
   <vw n="identifier" v="2" />
 </r>
 </id>

i have 3 columns in my grid , 
{
                type: 'xml',
                data: '/id/r/vw',
                model: {
                    id: 'rn',
                    fields: {
                        id:     '@rn',
                      address:   { field:    '@v'},
                      description: '@v',
      identifier  : '@v'
                        
                    }
                }
            }

since my <element> having duplicated in the <r> node, the output is coming as

address        description     identifire
---------         --------------     -----------
Mycomp       Mycomp         Mycomp

AdminOU       AdminOU       AdminOU
  1                    1                    1

like that is coming, but i need the grid row values should be [ mycomp, adimin ou, 1],  in <vw> element i have @n, based upon the attribute value can i load the grid as i wish.. can u please help me regarding this

Selvamani
Top achievements
Rank 1
 answered on 11 Feb 2013
3 answers
205 views
Hi All,

Will kendo controls be supported in Metro UI? In our current project, we are going to use kendo controls in Metro UI. For sample purpose, I have created Metro UI with 3 kendo controls like kendo upload, kendo dropdown and kendo listview. But kendo controls are not properly rendering in Metro UI. For your reference, I am adding the screenshot of it. Immediate help would be appreciated.

Regards,
Partha.
Atanas Korchev
Telerik team
 answered on 11 Feb 2013
1 answer
165 views
I'm trying to create a drag/drop order-able list built on KendoUI and I am running into trouble determining the position of the draggable object in relation to other objects in the list

How would you determine the following:
  • The Draggable's position relative to its container?
  • The position of a DropTarget relative to the same container
The idea being that I can determine when an object move above (or below) another object and then swap their positions in the list.

Here is a jsfiddle containing the prototype
http://jsfiddle.net/raltman/KDRtT/1/
Petyo
Telerik team
 answered on 11 Feb 2013
6 answers
1.6K+ views
Hello All,

I am working with the New Kendo UI Web Controls and so far they have been fairly easy to integrate into my existing application. I know Kendo UI is new and there are a bunch of things in the works but I was curious if there was a way to make a custom command.


My Grid Golumns are set up as follows

columns: [                        
                        { field: "subcatid", width: 90, title: "Subcatagory" },
                        { field: "title", width: 90, title: "Title" },
                        { field: "order", width: 90, title: "Order" },
                        { field: "author", width: 90, title: "author" },
                        { field: "lastupdate", width: 90, title: "Last Update" },
                        { field: "usecms", width: 90, title: "Use Update" },
                        { field: "alturl", width: 90, title: "Alt URL" },
                        { field: "active", width: 90, title: "Active" },                                    
                        { command: ["edit", "destroy", "View"], title: "&nbsp", width: 90 }
        ],

Doing this creates a new Button with the Commands called "View" I would like this button to redirect to a page when clicked. I am using the following bits of JQuery to call the function, however I would much rather add a class descriptor to this button that is unique to View Commands to replace the selector with $('.k-grid-view') Is there an easy way to do this?

$('td .k-button:last').live('click', function ()
{       
        var itemToView;
        var grid = $("#grid").data("kendoGrid");
        var gridData = grid._data;
        var uid = $(this).parent().parent().attr('data-uid');

        $(gridData).each(function () {
            var item = this;

            if (item.uid == uid.toString())
                itemToView = this;
        });

        window.location.replace(itemToView.view);
    });

ps view is not a column but exists in the model

Thanks

- Josh
Rosen
Telerik team
 answered on 11 Feb 2013
1 answer
188 views
Hi, 

I was trying to create data grid, One column is Dropdownlist.  I want  to pass the dynamic  datasource from the Model. where Model is List<object>  . But the ForeignKey cloumn accepts only SelectList as second parameter. But I want  to make this dynamic i.e model.

See Below)

Current Functionality :

  columns.ForeignKey(s => s.FaceId, SelectList)

I need like   columns.ForeignKey(s => s.FaceId, x => x.FacesList)

Please suggest me to achieve this  functionality.

Thanks
Reddy
Brad Fulton
Top achievements
Rank 1
 answered on 09 Feb 2013
2 answers
186 views
Using Ajax as the data source for a KendoUI Grid on a MVC4 application.  I have no problem updating the data automatically every few seconds using "dataSource.read()".  Is it possible for that update to happen without the grid showing the "spinning" icon that indicates that it is fetching data?  I would like the updates to happen seemlessly.  (The grid is read only.)

I would appreciate any thoughts or to point me in the right direction.

Thanks,
Steve
steve
Top achievements
Rank 1
 answered on 09 Feb 2013
3 answers
404 views
Hi there...

I have a strongly typed partial view that utilizes attribute based validations on the view model properties. In addition to the data annotation validation I need to make an asynchronous call to the web server to validate some info on the fly. If the response is false (indicating an incorrect value) I just want to display the "validation bubble" that informs the user of an incorrect entry. The true/false value is coming back correctly from the server but it is not raising the validation bubble if false.

<div id="datatovalidate">
    <div class="float-left editor-label">
        @Html.LabelFor(model => model.ProductCode)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.ProductCode, new { @class = "k-textbox" })
    </div>
    <div class="clear"></div>
</div>

$('#datatovalidate').kendoValidator({
        rules: {
            InvalidProdCode: function (input) {
                var isValid = true;

                if (input.is('[id=ProductCode]')) {
                    $productCode.val($productCode.val().toUpperCase());

                    if ($isPidx.prop('checked')) {
                        $.post('@UrlMaker.ToValidateProductCode()' + $productCode.val(), function (data) {
                            isValid = data;
                        });
                    }
                }

                return isValid;
            }
        },
        messages: {
            InvalidProdCode: "Invalid Product Code"
        }
    });
Matt
Top achievements
Rank 1
 answered on 08 Feb 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)
Filter
SPA
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?