Telerik Forums
Kendo UI for jQuery Forum
1 answer
244 views
Hello,

I just took a look at your menu example and for some reason, the menu thiner by about 50% in your example.

I'm a javascript / kendoui newbie and I can't understand how to change the style for my menu.  I guess it's in a css file that isn't displayed in the demo source code but I might be wrong.

Is there any documentation about the CSS file and how I can change the height of the menu?

Best regards,

Simon
Iliana Dyankova
Telerik team
 answered on 18 May 2012
1 answer
124 views
Good morning,

Is there is any way for a stack chart to let every stacked bar start from 0 in Axis?, and display in front the bar with less value overlapped with the one with greater value on the back?

The default functionality is displayed on kendo2.jpg and the desire graph is displayed on kendo1.jpg. 

Thanks for your help.
Iliana Dyankova
Telerik team
 answered on 18 May 2012
1 answer
299 views
hi this is my code:
<WebMethod()>
   Public Shared Function Pcpacking() As IEnumerable(Of Packing)
       Dim db As New STOREEntities
       Return db.PC_PACKING_HISTORIES. _
       Where(Function(q) q.PACK_DATE > "1388/11/07"). _
       Select(Function(q) New Packing _
                  With {.Packdate = q.PACK_DATE,
                        .Packserialnumber = q.PACK_SERIAL_NUMBER,
                        .Netweight = q.NET_WEIGHT,
                        .Packusername = q.PACK_USER_NAME}).ToList()
   End Function

$(function () {
           $("#grid").kendoGrid({
               height: 200,
               columns: [
                    { field: "Packserialnumber", width: "150px" },
                   { field: "Netweight", width: "50px" },
                   { field: "Packusername", width: "150px" },
                   { field: "Packdate", width: "100px" }
               ],
               editable: false,
               dataSource: {
                   schema: {
                       data: "d",
                       model: {
                           id: "Packserialnumber",
                           fields: {
                               Packserialnumber: { editable: false, nullable: true },
                               Netweight: { type: "number", validation: { required: true, min: 1} },
                               Packusername: { validation: { required: true} },
                               Packdate: { validation: { required: true} }
                           }
                       }
                   },
                   batch: false,
                   transport: {
                       read: {
                           url: "Default.aspx/Pcpacking",
                           contentType: "application/json; charset=utf-8",
                           type: "POST"
                       }
                   }
               }
           });
       });

when q.pack_date > "1388/11/07" everything works well and  query retrive 366. if i change date(q.pack_date > "1388/11/06"  1219 records) getting error:
{"Message":"Error during serialization or deserialization using the JSON JavaScriptSerializer.
 The length of the string exceeds the value set on the maxJsonLength property.
 ","StackTrace":"   at System.Web.Script.Serialization.JavaScriptSerializer.
 Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat)\r\n
    at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj,
     SerializationFormat serializationFormat)\r\n
       at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context,
        WebServiceMethodData methodData, IDictionary`2 rawParams)\r\n  
         at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)",
         "ExceptionType":"System.InvalidOperationException"}


sorry for my bad english
Meysam
Top achievements
Rank 1
 answered on 18 May 2012
1 answer
57 views
Hi,
I would like to know how could i display greek characters in my applications.
Michael
Top achievements
Rank 1
 answered on 18 May 2012
0 answers
138 views
Hi,
I have a WCF service which returns below JSON data & Below is my JQuery function to read JSON data, bind the same to grid.
Problem is: Unable to bind data to grid. Please suggest what changes required to my below function.

Note: my WCF is a RESTful service & multipleSiteBindingsEnabled="true"

[{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"E7B","Name":"Abraham, Bethany(426) ","Notifications":0,"Picture":null,"Resno":426,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"S26A","Name":"Banks, Rebecca M(301) ","Notifications":0,"Picture":null,"Resno":301,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"","Name":"Carr, William J(405) ","Notifications":0,"Picture":null,"Resno":405,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"W15A","Name":"Dickerson, Ann A(434) ","Notifications":0,"Picture":null,"Resno":434,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"E9A","Name":"Dorsey, Linda M(332) ","Notifications":0,"Picture":null,"Resno":332,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"E5B","Name":"Downey, Darlene J(407) ","Notifications":0,"Picture":null,"Resno":407,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"E11B","Name":"Easterling, Denise(443) ","Notifications":0,"Picture":null,"Resno":443,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"E9B","Name":"Eatherly, Harriet(445) ","Notifications":0,"Picture":null,"Resno":445,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"E10A","Name":"Edgar, Gloria J(430) ","Notifications":0,"Picture":null,"Resno":430,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4},{"Alerts":0,"Cono":"03","CurrentPageIndex":0,"Locations":"W20A","Name":"Evans, Kelly(461) ","Notifications":0,"Picture":null,"Resno":461,"Search":null,"Sort":null,"Status":0,"pageSize":0,"rcount":4}]


$(document).ready(function () {
    $("#grid").kendoGrid({
        dataSource: {
            type: "odata",
            transport: {
                read: "http://localhost:3472/Service1.svc/json/getresident",
                dataType: "jsonp"
            },
            schema: {
                model: {
                    fields: {
                        Resno: { type: "number" },
                        Alerts: { type: "number" },
                        Notifications: { type: "number" },
                        Locations: { type: "string" },
                        Name: { type: "string" }
                    }
                }
            },
            pageSize: 10,
            serverPaging: true,
            serverFiltering: true,
            serverSorting: true
        },
        height: 250,
        filterable: true,
        sortable: true,
        pageable: true,
        columns: [{
            field: "Resno",
            title: "Res No",
            width: "100px"
        }, {
            field: "Name",
            title: "Res Name",
            width: "200px"
        }, {
            field: "Locations",
            title: "Location"
        }, {
            field: "Notifications",
            title: "Notifications",
            width: "200px"
        }, {
            field: "Alerts",
            title: "Alerts"
        }]
    });
});
Balu
Top achievements
Rank 1
 asked on 18 May 2012
5 answers
207 views

What i was wanting to happen is for my aspx page to load a number of user controls and then for the tabstrip control turn each loaded user control into a tabstrip item. I have written some code that will take the contents of a div and set it as the title then another div as the content. The idea was to have more control over the tab titles and for the tabs to be created dynamically. The amount of user controls and the content isnt known till the page is loaded

Basically the exact same code as below works with 2011 Q3 but not with the new update.

Javascript

$(document).ready(function () {
// var ParentID;
$("#tabstrip").kendoTabStrip({
});
var tabstrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
//for each DIV within tab content, move it to a new tab within the tad strip
$('#tabcontent').children().each(function (index) {
//Get HTML from DIV
var title = $(this).find('.tab_title').html();
$(this).find('.tab_title').css('display', 'none');
var innerHTML = $(this).html();
//Append to the TABStrip
tabstrip.append(
[{
text: title,
content: innerHTML
}]
);
//Remove original DIV
$(this).remove();
});
$('#tabstrip .k-tabstrip-items').children().each(function (index) {
var th = $.trim($(this).text());
$(this).html(th);
});
});


aspx page

<div id="tabstrip">
     </div>
     <div id="tabcontent">
         <asp:PlaceHolder ID="PHContent" runat="server"></asp:PlaceHolder>
     </div>

N.B. Placeholder is where the user controls is loaded into


User Control

<div class="editDefaultInfo" title="Tab Title">
<div class="tab_title">
<span class="glyph listicon"></span>
<p>Tab Title</p>
</div>
<h1>Tab Title</h1>
<div class="form_content">
Tab Content
</div><!--form_content-->
</div><!--Defaultinfo-->



Has something changed with the tabstrip control that would mean it no longer works?

Dr.YSG
Top achievements
Rank 2
 answered on 18 May 2012
1 answer
257 views
I looking to find a way to get the value of the textbox onkeyup.  The value has not changed for the input until the input loses focus.  I am trying to find a why where as the user types a total value can be updated instantly, and not have to wait until a focus change.  Is there any way to achieve this?

Thanks,
Joe
Joseph Roberts
Top achievements
Rank 1
 answered on 18 May 2012
2 answers
235 views
Hi there everyone,

I'm having an very strange problem with my project with TabStrips : it goes fast as hell on any desktop but it's really really slow on my tablet... 
Have you guys any advice about give it a little burst on performance?

Thanks a lot
supsym
Top achievements
Rank 1
 answered on 18 May 2012
3 answers
170 views
I purchased the web version straight after looking at the excellent demo's, assuming, wrongly, that like almost all software I have purchased in the past, DETAILED documentation for using PHP and Jquery would be provided.

I'm new to this, I need a good set of examples or documentation that will help me learn and, in time. become a skilled and fluent user of Kendo UI, I am really disappointed that this is not provided.

It's hard enough trawling through the web learning how to use PHP, but I DID expect a company of known high repute like Telerik to have excellent examples and documentation for me to learn, from a single source, the bulk of what I need to know, particularly after parting with hard earned $$$ for the Kendo UI web version.

After trawling through posts for three days, looking at examples given, I'm no closer to having a fairly simple working combo box with a drop down or a multu select list with a customers contact details on final selection, than i was before I purchased.

I'm starting to think I'll get a trip to Mars on a Virgin flight before I get something up and running with Kendo

It's also obvious from Posts and questions that even highly experienced programmers and web designers are also frustrated at poor documentation.

Before you start writing any more widgets, bells, whistles or flying pig switches, hows about writing some good, robust and easy to follow documentation with excellent examples of DataSource connection using PHP, it's not a lot to ask.
Georgi Tunev
Telerik team
 answered on 18 May 2012
9 answers
265 views
I'm using a KendoUI Grid on a page. It works fine on any desktop browser, but I have a problem on Mobile Safari (iPad or iPhone).

It seems that the grid's change event is being triggered when I'm scrolling the grid on the iPad (same on iPhone).

Is there a way to prevent that behavior?

Thanks.
Alexander Valchev
Telerik team
 answered on 18 May 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
Chat
DateRangePicker
Dialog
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?