Telerik Forums
Kendo UI for jQuery Forum
0 answers
90 views
How do I make an edit field in the phase of inserting a new record, but not during update.
Suggestions?
Thank you.
Mike
Top achievements
Rank 1
 asked on 03 Mar 2012
2 answers
442 views
Hi,

How to make a
range between two dates in a grid?

Many Thanks,
Sakn


Esteban
Top achievements
Rank 1
 answered on 03 Mar 2012
1 answer
63 views
I can't find the kendoEditor in the latest commercial package, kendoui.web-dataviz.2011.3.1407.commercial

Thanks in advance.
Clint
Top achievements
Rank 1
 answered on 03 Mar 2012
1 answer
143 views
I'm new here, and I have been looking at the grid in the Editable part and was wondering how could I connect it to my MySql DB and still be able to do the work. (Add, Edit, Delete). I have one PHP page called data.php, this one page using a $table variable, chooses the table, loads the column names and then loads the data in a table created by PHP. This works just fine, except I want it to all be editable with the grid. Can someone please help me understand what I need to do? I'm very new to KendoUI and if this has already been asked please please please redirect me. 

Thank you so much for your time, and thank you in advanced for helping me!
Darrel
Darrel
Top achievements
Rank 1
 answered on 03 Mar 2012
2 answers
222 views
Hi,

I am trying to style certain rows within a grid.  For example I would like to have the 4th row in a Grid have a specific class associated with it.  What is the best way to accomplish this?

Many Thanks!
Rhys
Boone
Top achievements
Rank 2
 answered on 02 Mar 2012
2 answers
229 views
I'm assuming that the Editor control could be used to replace text area entries on a form and the data would be saved as usual with a Post to the server.

However, let's assume that I wanted to use it as a way for an admin user to edit content on the website - such as the the 'About' section of their webpage.  

Since this data isn't stored in the database and just text on an html page, how would I go about saving these edits?


Phillip
Top achievements
Rank 1
 answered on 02 Mar 2012
0 answers
102 views
I want to draw a bar graph on the click of a button on the same page. What do i need to edit to get this functionality?
Kishan
Top achievements
Rank 1
 asked on 02 Mar 2012
1 answer
187 views
I've tried both adding the menu items as a json object and directly as li/ul elements in the html code.

I just can't seem to get the menu to expand....

<div id="example" class="k-content">
   <div id="megaStore">
     <ul id="kendoMenu">
       <li>Products
         <ul>
           <li>Furniture
             <ul>
               <!-- moving the UL to the next line will cause an IE7 problem -->
               <li>Tables & Chairs</li>
               <li>Sofas</li>
               <li>Occasional Furniture</li>
               <li>Childerns Furniture</li>
               <li>Beds</li>
             </ul>
           </li>
           <li>Decor
             <ul>
               <!-- moving the UL to the next line will cause an IE7 problem -->
               <li>Bed Linen</li>
               <li>Throws</li>
               <li>Curtains & Blinds</li>
               <li>Rugs</li>
               <li>Carpets</li>
             </ul>
           </li>
           <li>Storage
             <ul>
               <!-- moving the UL to the next line will cause an IE7 problem -->
               <li>Wall Shelving</li>
               <li>Kids Storage</li>
               <li>Baskets</li>
               <li>Multimedia Storage</li>
               <li>Floor Shelving</li>
               <li>Toilet Roll Holders</li>
               <li>Storage Jars</li>
               <li>Drawers</li>
               <li>Boxes</li>
             </ul>
           </li>
           <li>Lights
             <ul>
               <!-- moving the UL to the next line will cause an IE7 problem -->
               <li>Ceiling</li>
               <li>Table</li>
               <li>Floor</li>
               <li>Shades</li>
               <li>Wall Lights</li>
               <li>Spotlights</li>
               <li>Push Light</li>
               <li>String Lights</li>
             </ul>
           </li>
         </ul>
       </li>
       <li>Stores
         <ul>
           <li>
             <div id="template" class="k-content" style="padding: 10px;">
               <h2>
                 Around the Globe</h2>
               <ol>
                 <li>United States</li>
                 <li>Europe</li>
                 <li>Canada</li>
                 <li>Australia</li>
               </ol>
               <img src="../../content/web/menu/map.png" alt="Stores Around the Globe" />
               <button class="k-button">
                 See full list</button>
             </div>
           </li>
         </ul>
       </li>
       <li>Blog </li>
       <li>Company </li>
       <li>Events </li>
       <li disabled="disabled">News </li>
     </ul>
   </div>
 </div>
 <script type="text/javascript">
 
   $(document).ready(function () {
 
     $("#kendoMenu").kendoMenu();
   });


Captain Awesome
Top achievements
Rank 2
 answered on 02 Mar 2012
2 answers
151 views
Hello Everyone,

I'm having some issues binding my calendar to local data.

Basically, what I'm hoping to do is have someone enter in data on each day. Then the calendar would spit out the code they entered for that day. They'd be able to view the data in the month calendar view.

So I have this local data I need to bind. As far as I can tell this part is set up correctly. My issue is that I'm getting an error of "action" is not defined, and the script kills and doesn't load the calendar.

Is there something I'm not doing right here?

Here is my code: 

$(document).ready(function() {
      
    var Priority = [
        {   PriorityId: "1",
            Action: "Lorem Ipsum Dolor Sit",
            Completed: true,
            PersonID: "2",
            PriorityDate: "02/22/12"},
        {   PriorityId: "2",
            Action: "Lorem Ipsum Dolor Sit",
            Completed: false,
            PersonID: "2",
            PriorityDate: "02/23/12"},
        {   PriorityId: "3",
            Action: "Lorem Ipsum Dolor Sit",
            Completed: true,
            PersonID: "2",
            PriorityDate: "02/24/12"},
        {   PriorityId: "4",
            Action: "Lorem Ipsum Dolor Sit",
            Completed: false,
            PersonID: "2",
            PriorityDate: "02/25/12"},
        {   PriorityId: "5",
            Action: "Lorem Ipsum Dolor Sit",
            Completed: true,
            PersonID: "2",
            PriorityDate: "02/26/12"},
        {   PriorityId: "6",
            Action: "Lorem Ipsum Dolor Sit",
            Completed: false,
            PersonID: "2",
            PriorityDate: "02/27/12"},
    ];
      
     var today = new Date();
    $("#kendoCalendar").kendoCalendar({
        value: today,
        depth: "month",
        format: "dd/MM/yyy",
        dataSource: Priority,
        month: {
            content: '<div class="custom"><#= Action #></div>'
         },
        change: function(e) {
            var title = "Today's Top Priority";
            var url = "top-tasks-add.aspx"
            var win = $(".modal-window");
            if (!win.data("kendoWindow")) {
                // window not yet initialized
                win.kendoWindow({
                    content: url,
                    title: title,
                    draggable: true,
                    modal: true,
                    resizable: false,
                }).data("kendoWindow").open().center();
            }
            else {
                // reopening window
                win.data("kendoWindow")
                .refresh(url) // request the URL via AJAX
                .title(title)
                .open() // open the window
                .center();
            }
        }
    });
});


Just to explain a little more, the "change" function opens a kendo window that will allow the user to input their "action" for that particular day.

Thanks for any help, guys and gals!
Jeremy
Top achievements
Rank 1
 answered on 02 Mar 2012
5 answers
717 views
Hi,
We have a requirement of sharing a content [ basically a div and some controls inside it] with multiple tabs.
Now while doing that, we have to generate these tabs dynamically and assign it to the common control we already have in the mark up.

Let me give an example:
<div id="lefttabstrip">
 
                <ul class="Home">
                    <li class="TabAct k-state-active">All Rules</li>
               </ul>
 
               <div id="homediv>
                     Home text
               </div>
 
              <div id="mycommondiv>
                     some controls here
              </div>
 
<div>

Now we already have Home tab which will show content of "homediv" .
What we want to do now is to append tabs to the home tab which all will be showing the content of "mycommondiv".
Any work around for this?

Any help is much appreciated.

Thanks,
Sourish

 

Alexander Valchev
Telerik team
 answered on 02 Mar 2012
Narrow your results
Selected tags
Tags
+? 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?