Telerik Forums
Kendo UI for jQuery Forum
0 answers
212 views
How do i set a custom command button with dynamic id="2012-12-1 23:23"?
I was trying:
columns.Command(command => command.Custom("Avboka").Click("confirmBookingRemoval").HtmlAttributes(new { @Id =  Model.First().StartDate.ToString() }));

But the model is null when i tries to use it.
Stefan
Top achievements
Rank 2
 asked on 02 Nov 2012
2 answers
543 views
Hi,

For some reason after changing font of the grid my header height doesn't match with footer height.

How can I change Grid's footer height?  Actually I need to remove padding from it.

Thanks a lot.

Sincerely,
Vlad.
Vlad
Top achievements
Rank 1
 answered on 02 Nov 2012
1 answer
110 views
Hi,

How would I invert the yAxis on a scatterLine chart.
Essentially I want the min value to be at the top.

Many Thanks
Iliana Dyankova
Telerik team
 answered on 02 Nov 2012
0 answers
90 views
Hi,


I use EF 5 with the "Include" statement such as:

public ActionResult List([DataSourceRequest] DataSourceRequest request)
{
    ... initialize context...
    context.Configuration.ProxyCreationEnabled = false;
    IQueryable<User> set = context.Set<User>().Include(u => u.Country);

    return Json(set.ToDataSourceResult(request));
}

(In order to avoid erros such as "circular reference", I had to disable EF proxy creation.)

The grid works fine until the user starts grouping the columns, at which point the included objects are null, causing the JS to fail and not display the expected data any more.

If I enumerate the source to memory prior to converting to DataSourceResult, it works, the includes are present:

public ActionResult List(DataSourceRequest request)
{
     ... initialize context...
     context.Configuration.ProxyCreationEnabled = false;
     IQueryable<User> set = context.Set<User>().Include(u => u.Country);

    set.ToArray().AsQueryable(); // if I do this it works with Groups...

     return Json(set.ToDataSourceResult(request));
}

How can I make it work without enumerating the data source in memory first? I do not want to use model projection if possible to avoid the 'Include".


Thank you,
Lusu
Leontin
Top achievements
Rank 1
 asked on 02 Nov 2012
1 answer
129 views
Hi!

I need to insert some new views at runtime. Just doing it like this is not working.

dummy='<div data-role="view" data-layout="overview-layout-back" id="standortauskunft-01" data-title="Standort'><ul data-role="listview" data-style="inset" data-type="group"><li>test bla bla</li></ul></div>';
$('#standorte').after(dummy);

I think, i need to render(?) the newly inserted view, but don't know how.

Hope, someone can help me.

Ralf

Dner
Top achievements
Rank 1
 answered on 02 Nov 2012
1 answer
109 views
Hi, I need to add views at runtime in the body and then do a navigate.

I append a new view to body at runtime:
<div data-role="view" data-layout="layout" data-title="view2" id="view2">

Is it possible to programmatically add new views and is recognized by kendo.mobile.Application?

Thanks!
Dner
Top achievements
Rank 1
 answered on 02 Nov 2012
1 answer
195 views
Hi,

I am dynamically creating a tabstrip using tabstrip.append method as below,

tabStrip.append( { text: Name, content: "test" })

Now I want to add content to this tabstrip using the div tab dynamically.

something like,

$("#tabstrip-4").addContent(); --> I want to attach a jquery function which will populated the value in this div tag.

I am not sure how to get back the DIV id of the newly created tab when using tabstrip.append function. Can someone please help?

Thanks,
Barani
Shane
Top achievements
Rank 1
 answered on 02 Nov 2012
0 answers
91 views
Hi

I know its been asked a few times, but there has been no real solution offered.
Will you be adding a isRemovable option to the tabs soon, or at least allow templating so we can get a remove button in there with a click event?

Thanks
-Shane
Shane
Top achievements
Rank 1
 asked on 02 Nov 2012
1 answer
52 views
I'm trying to create a tablet type application with a similar look to the stock application in the dataviz demo. I can create the header display and the tabs, but once I try to put data underneath the tabs it display under the stip but above the tab block.

What I would like

application title

tabstrip1
-graph
tabstrip2
-graph

metrics

What I get

Application title

tabstrip1
tabstrip2

metrics

graph1
graph2
Iliana Dyankova
Telerik team
 answered on 01 Nov 2012
1 answer
161 views
I am having trouble getting the grid save function to work with a WebMethod. The short version of the code:


       transport: {
                :
                :
                    update: {
                        url: crudServiceBaseUrl + "/Update",
                        contentType: 'application/json; charset=utf-8',
                        dataType: "json",
                        type: 'POST'
                    },
                    parameterMap: function (data, operation)
                    {
                        if (operation !== "read" && data.models)
                        {
                            return JSON.stringify({ JSONparam: data.models });
                        }
                    }

     

My server side code:

       [WebMethod()]
        static List<bool> Update(string JSONparam)
        {
            List<bool> boolList = new List<bool>();
                   :
                   :
            return boolList;
        }


The server side code is never called. What should the "update" section of the transport look like? I probably have it wrong.
John
Top achievements
Rank 1
 answered on 01 Nov 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
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
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?