Telerik Forums
Kendo UI for jQuery Forum
5 answers
657 views
Could someone please show me an example of how we could load an array of dates when a user selects a month?

What I am trying to achieve is very similar to the customizing templates example, except when a user changes months I need to dynamically load the "special" days from the database via ajax and run the array against the calendar to highlight the days from the array.

This is instead of loading every single possible special day as we cannot predict what month the user will look at.

I know there is a navigate event, but unsure how to determine if the user is at the day level of the calendar and what the current month is, if we can get that info we can load the dates, but then unsure how to go through the days in the calendar and style them.

Scott
Top achievements
Rank 1
 answered on 06 Aug 2012
0 answers
170 views
Hi,

NO IDEAS????

i like to use a sqlite-database as datasource for my dataViz-project. Is there any example somewhere?

thanks a lot
best regrads
Rene
ITA
Top achievements
Rank 1
 asked on 06 Aug 2012
16 answers
528 views
I'm trying out Kendo UI Mobile, but the first issue I have is that the tabStrip positions itself below the fold, that is, you have to scroll up to see it (+it should not scroll at all).
This happens always, whatever method I try to use/initiate the TabStrip. The example html with Carine Callahan is even worse, because the first page is so long, you cannot get at the tabstrip at all...

This happens only in iOS, browser & android are fine...

Could anybody help me, I do like the idea, plus initial results, I would like to use this in a production PhoneGap project...

Antal


-- edit: This problem seems not to be related to the TabBar, but seems to bee a bigger problem of the header & footer sections in combination with phonegap... See thread: <a href="http://www.kendoui.com/forums/mobile/general-discussions/header-footer-problems-in-ios-with-phonegap.aspx#1972091">header-footer-problems-in-ios-with-phonegap</a>

Petyo
Telerik team
 answered on 06 Aug 2012
6 answers
551 views
Hello,

1. I am trying to open a PopOver from within a list view.
in this way any clicked <li> will open a PopOver, where at any given moment, a maximum of only 1 PopOver will be open and visible at any given time.
2. Assuming we've succeeded the above, the plan is to open each PopOver with it's relevant info.
For example a listView with

Remarks...
Remarks...
Remarks...

Will open a PopOver with the actual remarks for each line ( <li> ).
I am a newby at Kendo Mobile, but it looks like something trivial for someone who knows what they are doing :)

What I've tried so far
According to the docs:
"The Mobile PopOver widget can be open when any mobile navigational widget (listview link item, button, tabstrip, etc.) is tapped. To do so, add data-rel="popover" attribute and a href attribute equal to the PopOver id to the navigational widget DOM element (prefixed with #, like an anchor)."

Not 100% working. I've tried opening from within the ListView with a button (data-role="button").
The only kind of working option, is opening the PopOver from within
<div data-role="header"> or <div data-role="footer"> only.

Another thing I've tried is opening the PopOver directly using various jQuery commands. Not recommended :)
PopOver officially has a .close() command. if only it had an .open() command...

Any help is appreciated.
Many thanx
Ran
PS - I am developing on FireFox on Windows 7
 
 
Ran
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
574 views
How can I control the content of the grouped header? I don't want the column name - I just want to format the date nicely.

Thanks
Matt
Rosen
Telerik team
 answered on 06 Aug 2012
2 answers
138 views
When I try log into console dataSource.data() (readed from remote url json data) I have an empty result (but ajax request is complete and correct), but then I try read dataSource again, the .data() is displayed, but from previous result.
// call from detailInit grid
 function getCustomer(e){
      country = e.data.COUNTRY;
      customer.read(); //datasource
      console.log(customer.data());
}

There is examples in attachments (CodeIgniter controller and view. I also use employee firebird DB to read data)
Dimm
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
367 views
hi,
i'm using the kendo datepicker but i want to add a custom validation rule to this.. how do i go about it? if i combine datepicker + validator, the validation is triggered on clicking the date calender button.
Iliana Dyankova
Telerik team
 answered on 06 Aug 2012
2 answers
271 views
//THE COMBOBOX 
 @(Html.Kendo()
                  .ComboBox()
                  .HtmlAttributes(new { style = "width: 900px" })
                  .Name("cbTscmis")
                  .Filter(FilterType.StartsWith)
                  .MinLength(3)
                  .Suggest(true)
                  .HighlightFirst(true)
                  .DataSource(source =>
                  {
                      source.Read(read =>
                      {
                          read.Action("_LoadTscmisData", "Event", new { area = "Event" });
                      }).ServerFiltering(true);
                  }))



//THE ACTION METHOD
public ActionResult _LoadTscmisData(string text)

//THE ERROR WHE THE PAGE LOADS
Object doesn't support property or method 'requestData'
Ryan Lege
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
538 views
I am using ASP.NET kendo grid helper and server binding. I want to have an anchor element with its id is the concatenated string text and the dynamic value of @item.ID, so I have something like:
cols.Bound(p => p.ID)
   .Template(@<text><a id="Foo_\@item.ID" href= "#someLink" > @item.ID </a></text>);

this code works and:

.Template(@<text><a id="@item.ID" href= "#someLink" > @item.ID </a></text>);

using bare @item.ID or with "\" or "/" or "-" and other symbols, its value is dynamic indeed,
BUT if I instead use just "Foo_@item.ID", the id resulted is as is -> "Foo_@item.ID"

What should I code in order to properly concatenate strings with @item.ID in a column template?
Thanks!
Avitot
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
172 views
Hi can you please tell me if the following approach the best for consuming the data from SQL utilizing WebService. 
The following code is working correctly. However I need to know if I'm designing dataSource correctly. At this stage I'm only intending to read the data.

DataViewModel

public class LedgerViewModel
{
    public int? lindex { get; set; }
    public int? linvoice { get; set; }
    public string lperiod { get; set; }
    public decimal? lamount { get; set; }
}

WebService

[WebMethod(Description = "Gets ledger info")]
       public List<LedgerViewModel> Read()
       {
            
           using (var db = new LedgerConnection())
           {
               return db.ledgers.Where(x => x.lmatter == "2007714")
                   .Select(l => new LedgerViewModel
                   {
                       lindex = l.lindex,
                       linvoice = l.linvoice,
                       lamount = l.lamount,
                       lperiod = l.lperiod
                   }).ToList();
           }
       }

Sample WebService Output

<ArrayOfLedgerViewModel>
  <LedgerViewModel>
    <lindex>698567</lindex>
    <linvoice>871181</linvoice>
    <lperiod>0511</lperiod>
    <lamount>0.0000</lamount>
  </LedgerViewModel>
  <LedgerViewModel>
    <lindex>698568</lindex>
    <linvoice>871181</linvoice>
    <lperiod>0511</lperiod>
    <lamount>0.0000</lamount>
  </LedgerViewModel>
</ArrayOfLedgerViewModel>

Kendo UI dataSource

dataSource: {
      transport: { }
          read: {
              url: "GetLedger.asmx/Read",
              contentType: "application/json; charset=utf-8",
              type: "POST"
          }
      },
      schema: {
          type: "xml",
          data: "/ArrayOfLedgerViewModel/LedgerViewModel",
          model: {
              fields: {
                  linvoice: "linvoice/text()",
                  lperiod: "lperiod/text()",
                  lamount: "lamount/text()"
              }
          }
      },
        sort: {
            field: "lperiod",
            dir: "asc"
        }
    }

Daniel
Top achievements
Rank 1
 answered on 06 Aug 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
Drag and Drop
Application
Map
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?