Telerik Forums
Kendo UI for jQuery Forum
0 answers
169 views
i have a problem with window popup. Window's content  is open in page not in popup.
You can see online this file on.
1.click on Publish and see the first grid ,there are "Presentation" column .
2.In that column click on "Align" link and see the window is not popup .
http://98.130.153.40/botCreaterNewIdFor.html?id=4e5bb37258200ed9aabc6e61
here is my code
//window code

 $(".facetsProperty").click(function(){
                         var window = $("#windowFacets  "),
                        undo = $("#undo")
                                .bind("click", function() {
                                    window.data("kendoWindow").open();
                                    undo.hide();
                                });
                    var onClose = function() {
                        undo.show();
                    }
                    $("#close4").click( function (e) {
                        window.data("kendoWindow").close();
                    });
                   if (!window.data("kendoWindow")) {
                        window.kendoWindow({
                            resizable: true,
                            width: "500px",
                            scrollable:true,
                            title: "Facets Of Property",
                            close: onClose
                        });
                    }window.data("kendoWindow").open();
                        });           

//display  grid data in templates

 <table class="publish0 tableGrid" >
                <thead>
                    <tr>
                        <th>Property ID</th>
                        <th>Data Type</th>
                        <th>Presentation</th>
                          <th>Prompt</th>
                            <th>Source</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td colspan="4"></td>
                    </tr>
                </tbody>
            </table>
            <script id="templatePublish0" type="text/x-kendo-template">
            <# for (var i=0; i< messages[0].property_groups[0].bot_property_group_view[0].properties_in_view.length; i++) { #>
                <tr>
                    <td>
       #= messages[0].property_groups[0].bot_property_group_view[0].properties_in_view[i].property_id #
    </td>
    <td>&nbsp;</td>
    <td> <a href="\\#" id="windowFacets displayText5"  class="k-group facetsProperty " onclick="javascript:toggle5();">
      #=messages[0].property_groups[0].bot_property_group_view[0].properties_in_view
[i].facets[6].name #
    </a> </td>
        <td>
      #=messages[0].property_groups[0].bot_property_group_view[0].properties_in_view
[i].facets[0].value #
    </td>
        <td><a href="\\#" id="windowSource displayText4"  class="k-group sourceProperty " onclick="javascript:toggle4();">
      #=messages[0].property_groups[0].bot_property_group_view[0].properties_in_view
[i].value_source.source_type #
</a>    </td>
    
                </tr><# } #>
            </script>

//pop up code it is hide by default , when user click on "#=messages[0].property_groups[0].bot_property_group_view[0].properties_in_view
[i].facets[6].name # " link then it is open but now it open in page not in popup.

 <div id="windowFacets">
        <div id="gridFacets"></div>
        <p align="center">
          <input type="button" value="OK" id="close4" class="k-button"/>
          &nbsp;
          <input type="button" value="Cancel" id="close" class="k-button"/>
        </p>
      </div>
Mahesh
Top achievements
Rank 1
 asked on 24 Jan 2012
3 answers
278 views
Hi, I've been playing around with Kendo UI and am currently testing loading a grid from a HTML table. I also am also testing with and without a row template. One problem that I'm having is I want to include some Javascript that dynamically creates a button when the page loads (for each row). I'm using this in a lot of other places on my site and I'd just like to do the same thing here. I can't seem to include any sort of script tag in the HTML table or when using the row template, it all gets removed. The important thing isn't so much showing a button, but just the ability to execute Javascript inside of a column in each row. Any way to do this?
John Thompson
Top achievements
Rank 2
 answered on 24 Jan 2012
3 answers
394 views


Hi everyone! I'm testing this new API and i really like it, but I'm trying to put a personal button in a kendoGrid field, but i don't really know how to made this.

I look in the documentation, and anything in it help me to solve my problem.

I've tried to put some HTML in it, but i didn't find an associated type for HTML insertion.

So how can i instantiate a button in my kendoGrid.

Thank you !
 
Amol
Top achievements
Rank 1
 answered on 24 Jan 2012
2 answers
77 views
Can I get an example of how to do this in MVC 3, as I tried implementing the example into my mvc 3 application, and cannot get it to work.
Mark
Top achievements
Rank 1
 answered on 24 Jan 2012
0 answers
102 views
Hello All,

I am new to kendo ui. I have used grid and used template. It is very fine with mozila but in IE8 it show that it has error on line 3 of kendo/js/jquery.min.js

on IE it is now showing drop of kendo ui.

I have no clue to resolve this issue.

Please tell me solution if any one already faced this issue.

Thanks in advance

Regards,
Ashok
Ashok
Top achievements
Rank 1
 asked on 24 Jan 2012
0 answers
96 views
On alpha-numeric strings, I'm kinda glued to an "Asciibetical" sort due to how strings are sorted.

Does the datasource control have any injection points to override the default sort comparer for strings?
Joel
Top achievements
Rank 1
 asked on 24 Jan 2012
0 answers
215 views
Hi again,
There's an issue with the k-textbox style in the black theme. The color is set to #FFFFFF, and since the bg is also white, the text is invisible.
You can appreciate that easily in the validator demo if you switch to the black theme:
http://demos.kendoui.com/web/validator/index.html

Also, i see in the fourm that k-textbox is the suggested class to style regular textboxes similarly to other kendo input controls, but they don't really look similar in some cases, you can see in the same demo that the regular textboxes look quite different to the autocomplete (border, hover effects...).
Should I be using another class or is this something that needs to be fixed?

Thanks!

Andrés
Andrés
Top achievements
Rank 1
 asked on 24 Jan 2012
7 answers
218 views

I've reproduced a problem I'm seeing in my own application by modifying the Data Source > Binding to XML example to use a grid for rendering rather than a template, as shown in the code below.   Except for specifying an original sort order, the data source is unchanged.  I've configured the grid to allow grouping and sorting.  However, whenever I attempt to either group or sort, I get

    Error: Unable to get value of the property 'book': object is null or undefined

The debugger call stack indicates that the error is occurring in an "evaluate" method in kendo.data.xml.min.js.  (I have the trial version, so can't inspect the source code further.)

Additionally, my original sort order is not being respected;  the grid loads unsorted.

Are these bugs mine or the framework's?

<div id="grid"></div>
 
<script>
    $(document).ready(function() {
        var element = $("#grid").kendoGrid({
            dataSource: {
                transport: {
                    read: "books.xml"
                },
                schema: {
                    type: "xml",
                    data: "/books/book",
                    model: {
                        fields: {
                            title: "title/text()",
                            author: "author/text()",
                            url: "url/text()",
                            cover: "@cover"
                        }
                    },
                sort: { field: "title", dir: "asc" }
                }
            },
            columns: [ "title", "author", "url" ],
            groupable: true,
            sortable: {
                mode: "single",
                allowUnsort: false
                }
        });
    });
</script>

Rosen
Telerik team
 answered on 23 Jan 2012
1 answer
106 views
In the Feed Reader demo by Todd, collapsing the Feed list using the vertical splitter's collapse feature. The right pane turns all screwy and doesn't resize correctly.

Check it out here : http://htmlui.com/demos/kendo/feedreader/index.html 

I've attached a screenshot of what it looks like.
Alex Gyoshev
Telerik team
 answered on 23 Jan 2012
2 answers
192 views
I'm using the inbuild function of the grid to do filtering via OData source.

When I try to filter a numeric value, I get this error from the odata service:

Operator 'eq' incompatible with operand types 'System.Int32' and 'System.String' at position 5.

Is there a way to configure the filter expression?

Thanks
Eric
Eric Schoenholzer
Top achievements
Rank 2
 answered on 23 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?