Telerik Forums
Kendo UI for jQuery Forum
1 answer
72 views
Hi,
I'm using something like this:

<
div id="tabstrip">
<ul>
<li class="k-state-active">
Movies
</li>
<li>
Series
</li>
</ul>
<div>
<div id="gridMovies" />
<div>
Second Tab Content
</div>
</div>


With that, the content of the second tab is rendered at the bottom of the first tab after the grid.
When I change it to
<div id="gridMovies"></div> 
it works fine.

Is that because the document isn't valid ("XHTML 1.0 Transitional")   ?   
Is it necessary to be 100% valid?
Using IE9.

Thanks
Eric
Dimo
Telerik team
 answered on 13 Jan 2012
1 answer
103 views
just one bug report - in IE 9 when go one month back, slide animation is white... Pic attached.
Kamen Bundev
Telerik team
 answered on 13 Jan 2012
3 answers
115 views
Hi
Greetings!!!!
We have one security concern and that is how to protect client from viewing the code. Secondly we want to implement licencing policy in the finished product, so please let us know how to do the same.
Thanks in advance.

Regards
Manash Dutta
Atanas Korchev
Telerik team
 answered on 13 Jan 2012
1 answer
204 views
Hello all,

 I have an existing Asp.Net MVC app that I would like to start using Kendo in. I am new to this type of development so please forgive my newbieness here. I am guessing that I should copy all of the Kendo js script files to the "Script" folder in the project, then put the themes and their folders under the "Content\Themes\" folder?

Any advice on how to structure this would be greatly appreciated.
Thank you in advance

MacK
Dimo
Telerik team
 answered on 13 Jan 2012
3 answers
381 views
Hello,

I am following Hierarchy example to build the parent-child grid.                  

I have this in the view
function detailInit(e) {
    $("<div/>").kendoGrid({
        dataSource: {
            transport: {
                read:  {
                    url: "../OrderDetailJson/",
                    dataType: "json"
                },
            },
            filter: { field: "orderid", operator: "eq", value: e.data.Id }
        },
     ....
}
 
and this in controller
public JsonResult OrderDetailJson(int orderid){
...
}

but client side code will never hit this code saying orderid is null hence route doesn't match.  Why is filter: { field: "orderid", operator: "eq", value: e.data.Id }  doesn't work???  I thought it will work like jquery .post/json call but it doesn't.

Will someone help me?

thanks guys
william
Rosen
Telerik team
 answered on 13 Jan 2012
0 answers
159 views

I am using the kendo ui autocomplete on one of my pages. I am having so issues retrieving the value entered in the autocomplete input box. Below is a sample of the code I use to get autocomplete suggestions with a WebMethod via Ajax:

<P>$(".input_project").kendoAutoComplete({<BR>                   
minLength:
1,<BR>                   
dataTextField:
"value",<BR>                   
dataSource:
{<BR>                       
serverFiltering:
true,<BR>                       
serverPaging:
true,<BR>                       
schema:
{<BR>                           
data:
"d"<BR>                       
},<BR>                       
transport:
{<BR>                           
read:
{<BR>                               
url:
"<remote url>",<BR>                               
data: function ()
{<BR>                                   
return
{<BR>                                       
valuetocompare:
$(".input_project").val()<BR>                                   
};<BR>                               
},<BR>                               
contentType: 'application/json;
charset=utf-8',<BR>                               
type:
'POST',<BR>                               
dataType:
'json'<BR>                           
},<BR>                           
parameterMap: function (options)
{<BR>                               
return
kendo.stringify(options);<BR>                           
}</P>
<P>                       
}<BR>                   
},<BR>                   
change: function ()
{<BR>                       
var value =
this.value();                       
<BR>                       
$('#selectedProject').val(value);<BR>                   
}<BR>               
});<BR></P>

The problem in this case lies in the fact that I have multiple input fields with the same css class to identify my autocomplete fields. The idea is that all these input fields would be having an autocomplete on them. To get an idea of what I am building: I have a table with which contains both spans and div with dynamic id values. To simulate inline editing a toggle visibility on these div and spans.

Normally if you would like to retrieve data from the autocomplete, you would do something like below, but in my case this would not work since there are more input elements that carry the same css class. I know this is not the way to use autocomplete, since normally every input would have it's own identifier. Is there any way I can make this work. Right now I am using hidden fields to store the value entered but I think there should be a more efficient way to accomplish this behaviour.

<BR>data: function ()
{<BR>                                   
return
{<BR>                                       
valuetocompare:
$('#input_project').val()<BR>                                   
};<BR>                               
},
Willem
Top achievements
Rank 1
 asked on 13 Jan 2012
4 answers
514 views
I'm using Jasmine for BDD style testing.  I'm testing that selecting a row in a kendoGrid will call my callback function.  To test this I'm creating an element on the fly using
element = $('<div></div>'); 

when I attach a kendo grid to a div under that dynamically created div, it mostly seems to work except for selection.  I can populate the grid with data and see the correctly generated html in the debugger.  However, if I do :
 var firstRow = kendoGrid.tbody.find(">tr:first");
kendoGrid.select(firstRow);

Then my workspaceGrid.Select callback is not called, and the grid.select() returns no elements.
Is there a better way to host the grid when I'm doing unit testing?
I find the syntax for selecting a particular row very awkward. I would be much easier to do
kendoGrid.select(0) to get the first row.


Nikolay Rusev
Telerik team
 answered on 13 Jan 2012
3 answers
198 views
I've spent the last day trying to create a splitter like this image: http://imageshack.us/photo/my-images/683/mockupm.jpg/

What I end up with is:
  • top vertical row shrinks and shows scrollbars
  • does not resize on window change
  • scroll bars showing vertically in horizontal rows despite having little content

I've followed this post: http://www.kendoui.com/forums/ui/splitter/100-window-height-splitter.aspx with no luck.
I've also copied everything Dimo posted and it doesn't work correctly - similar problem to what I've described above. Not sure if it is an IE9 thing...

Dimo
Telerik team
 answered on 13 Jan 2012
2 answers
98 views
I have the demo kendo auto complete working in a stand-along aspx page and html page.  

When I try code the same demo in a project using asp Site.Master page, then placing the code in 

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"></asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"></asp:Content> 

it does not work.  The page reacts, but the results are not displayed.  

I has was able to duplicate this behavior when pacing the working kendo auto-complete demo  inside a telerik:raddock

<telerik:RadDock ID="RadDock1" runat="server" Title="Test1" Width="250px" >
                            <ContentTemplate>
                                <!--#include file="test1.htm"-->
                            </ContentTemplate>
 </telerik:RadDock>

Is there some issue getting Kendo to work inside ASP Content Holders or is there something else I'm likely missing?  I did try loading the CSS and JS files in the Master, as well as then trying in the Content Header.
Paulie
Top achievements
Rank 1
 answered on 12 Jan 2012
4 answers
287 views
The panes and split bars within the overall splitter bar container all have absolute positioning set, which puts them outside the document flow. However, the container height is not set by the splitter bar, so markup after the container is positioned within the container area rather than below it.

I think it would be a good idea to manage the size of the splitter bar container in conjunction with calculating the pane and split bar positions.

Or, is there already a solution to this that I missed?

Regards,
Gary


Gary
Top achievements
Rank 1
 answered on 12 Jan 2012
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
MultiColumnComboBox
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
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
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?