Telerik Forums
Kendo UI for jQuery Forum
1 answer
318 views

I have no problem to call JSONResult action in Controller from javascript, however, as soon as I deploy the app(same computer), it came out with the 401 errors

js code sample:
ds = new kendo.data.DataSource({
    transport: {
        read: {
            url: ("/Report/GetJsonGroupedCategoryData"),
            type: "POST"
        }
    }
});

Error:
POST http://128.73.0.194/Report/GetJsonGroupedCategoryData
401 Unauthorized
115m

same as GET call:
GET http://128.73.0.194/home/KendoCategoryRead

HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.



Thanks

Colin
Top achievements
Rank 1
 answered on 04 Jan 2012
0 answers
386 views
Hello,

I want to have a DropDownList with multiple columns. I know you can use templates to customize an listitem, but that way it is not very easy to get a 'table like' dropdown which auto-sizes to the content of the columns.
The nicest way would be perhaps to display a Grid inside the dropdown, so that I have all the sorting, filtering and paging functionality of the grid.
Or should I move away from the DropDownList and create some custom widget with a window popup containing a grid?

Regards, Jaap
Jaap
Top achievements
Rank 2
 asked on 04 Jan 2012
1 answer
262 views
Hey Guys,

Is it possible that we can select multiple nodes in tree view and drop it to other tree view.

Regards

Ali Zaidi
Alex Gyoshev
Telerik team
 answered on 04 Jan 2012
4 answers
377 views
Is there such an option right now? We don't want users to be able to cancel an upload in progress.

Thanks.
Joel
Top achievements
Rank 1
 answered on 04 Jan 2012
2 answers
292 views
The documentation only lists a date format as an example:

$(".k-grid").kendoGrid({
     dataSource
: {
         data
: createRandomData(50),
         pageSize
: 10
     
},
     columns
: [
         
{
             field
: "BirthDate",
             title
: "Birth Date",
             format
: "{0:dd/MMMM/yyyy}" // <- Other formatting options available?
       
}
     
]
 
});

For example, I'm looking to format currency values and long integers (for example vehicle mileage as 24,000 with a comma). I could format on the server but then the sort gets broken since, for example, it sorts currency as a string. Adding smart sorting would be another great solution I've seen elsewhere.

Thanks! Loving KendoUI so far!
Joel
Top achievements
Rank 1
 answered on 04 Jan 2012
4 answers
303 views
I'm well aware that Kendo UI is fairly new and that the team is working hard to improve various aspects of the framework. But RIGHT NOW, what would be the best way to start building a serious, large application with Kendo UI? I'm especially interested in the following topics:

  • Maybe I am blind but so far I haven't seen anything like layouts (see e.g. ExtJS) which help me in building complex, resizeable arrangements of the various UI widgets. So assuming there are no layouts at the moment, what is the best way to get similar results?
  • Probably most complex applications use some kind of docking component (see e.g. RadDocking) which lets the user rearrange different views. Are there any plans on building such a component for Kendo UI?
  • For the moment I could live without a docking component as long as there are some basic layouts as mentioned above and some kind of collapsible containers. Is there anything like that?
  • I've seen that the next framework version will provide a MVVM infrastructure. This is great news. But when I need to setup my application architecture right now, how would I do this? Knockout.js? Do you think it's possible to migrate from Knockout to Kendo's MVVM infrastructure afterwards?

Alright, these are quite my primary questions. It would be great to get some feedback about this.

Thank you in advance and
merry christmas,

Stephan

Dimo
Telerik team
 answered on 04 Jan 2012
1 answer
92 views
Hi

Can anyone recommend me a good backend service that works well with kendoui, with security

cheers

Jason
Rosen
Telerik team
 answered on 04 Jan 2012
1 answer
116 views
How do limit the validator to only validate items within the form in wich it is declared?  I dont want my other forms on the page to trigger validation when they get submitted.

Thanks
-J
Rosen
Telerik team
 answered on 04 Jan 2012
5 answers
74 views
Can you please add search feature at the forum level so we can search for an issue before reporting it. 

Thanks,
Piyush Bhatt
Filip
Telerik team
 answered on 04 Jan 2012
1 answer
700 views
I am having trouble with programmatically selecting an item in a Kendo DropDownList.

I want to preselect an item in a list of regions/languages based on the current culture.  I have created the following, but the item is not being preselected (at least visually).

The HTML:
<div id="localization_container" class="localization_container">
        <input id="localization_dropdownlist" class="localization_dropdownlist"></input>
    </div>
 
<div id="script_references">
        <script src="scripts/jquery.min.js" type="text/javascript"></script>
        <script src="scripts/kendo.all.min.js" type="text/javascript"></script>
        <script src="scripts/templates.js" type="text/javascript"></script>
        <script src="scripts/framework.js" type="text/javascript"></script>
    </div>


The XML:
<?xml version="1.0" encoding="utf-8" ?>
<localization>
    <language>
        <display_name>United States (English)</display_name>
        <local_identifier>us</local_identifier>
        <culture_info>en-US</culture_info>
        <image><![CDATA[images/en-US/flag.png]]></image>
    </language>
    <language>
        <display_name>France (French)</display_name>
        <local_identifier>fr</local_identifier>
        <culture_info>fr-FR</culture_info>
        <image><![CDATA[images/fr/flag.png]]></image>
    </language>
    <language>
        <display_name>Sweden (Swedish)</display_name>
        <local_identifier>se</local_identifier>
        <culture_info>sv-SE</culture_info>
        <image><![CDATA[images/se/flag.png]]></image>
    </language>
    <language>
        <display_name>Philippines (Tagalog)</display_name>
        <local_identifier>ph</local_identifier>
        <culture_info>en-PH</culture_info>
        <image><![CDATA[images/en-PH/flag.png]]></image>
    </language>
</localization>

The JavaScript:
// === LOCALIZATION DROPDOWNLIST ===
var template_localization_dropdownlist = kendo.template('<img src="#=image#" style="width: 16px; height: 11px; border-width: 0px;" /> #=display_name#');
 
$(document).ready(function () {
    var selected_culture = get_current_culture()
    if (selected_culture == '') {
        selected_culture = 'en-US';
    }
    $("#localization_dropdownlist").width(200).kendoDropDownList(
    {
        autoBind: false,
        dataTextField: "display_name",
        dataValueField: "culture_info",
        filter: "contains",
        template: template_localization_dropdownlist,
        dataSource: {
            transport:
            {
                read: "xml/localization.xml"
            },
            schema:
            {
                type: "xml",
                data: "/localization/language",
                model:
                {
                    fields:
                    {
                        display_name: "display_name/text()",
                        local_identifier: "local_identifier/text()",
                        culture_info: "culture_info/text()",
                        image: "image/text()"
                    }
                }
            }
        },
        change: function () {
            this.value(selected_culture);
        }
    });
});
Daniel
Telerik team
 answered on 03 Jan 2012
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?