Telerik Forums
UI for ASP.NET MVC Forum
0 answers
95 views
I seem to be initializing the TabStrip twice but not meaning too. Once happens on the MVC helper call
@(Html.Kendo().TabStrip()...

And the other I do on the Jquery document ready to set the configuration options. I am doing this because I can’t seem to find another way to do this in the html helper. Where should I be setting the configurations options(For instance collapsible and animation)? Example code would be great as I don't see examples for this on your site.

Nathan
Top achievements
Rank 1
 asked on 20 Jun 2012
12 answers
1.0K+ views
How do you set the width on the client-side via javascript for the NumericTextBox....?
Dimo
Telerik team
 answered on 20 Jun 2012
1 answer
166 views
Hi,
Is there a way to set the animation and collapsible object properties using the Kendo MVC TabStrip helper method? The default behaviour of the generated tabstrip seems to collapse/expand tabs when you move between tabs. I'd like to disable that if possible.

Best regards, IP
Georgi Krustev
Telerik team
 answered on 20 Jun 2012
9 answers
3.5K+ views
How do I hide the NumericTextBox on the client side via javascript?
Scott
Top achievements
Rank 2
 answered on 20 Jun 2012
1 answer
274 views
Dear all,

I have a problem with a server binding (I also try a ajax() binding without success).

Here is my model:
public class PlaceModel
{
    public Guid Id { get; set; }
    public string Name { get; set; }
 
    public PlaceModel()
    {
    }
}
Here is mycontroller
namespace Noolibee.Presentation.Web.SandBox.Controllers
{
    public class InventoryController : Controller
    {
        //
        // GET: /Inventory/
 
        public ActionResult Inventory()
        {
            //Get all places in the database
            IInventoryService serviceRepo = ServiceBusinessFactory.Create<IInventoryService>();
            List<INV_Place> places = serviceRepo.GetAllPlaces();
 
            //Convert the places to a placeModel (for testing purpose)
            List<PlaceModel> placesModel = new List<PlaceModel>();
            foreach (INV_Place item in places)
            {
                placesModel.Add(new PlaceModel() { Id = item.Id, Name = item.Name });
            }
 
            //Return the view with the list of placeModel for the combobox
            return View(placesModel.AsEnumerable<PlaceModel>());
        }
    }
}
End finally, my webpage:
@model IEnumerable<Noolibee.Presentation.Web.SandBox.Models.PlaceModel>
@{
    ViewBag.Title = "Inventory";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
 
<h2>Inventory (size = @Model.Count())</h2>
 
<div>
        @(Html.Kendo().ComboBox()
            .Name("placesDropDownList")
            .DataTextField("Name")
            .DataValueField("Id")
            .BindTo(Model)
            .SelectedIndex(0)
        )
 
         
</div>
So, the value @Model.Count tells me that there's 1 item, but the combobox is empty.
I should have miss something, but what ?

Thanks for your help
Sylvain
Sylvain
Top achievements
Rank 1
 answered on 20 Jun 2012
3 answers
584 views
Hi,

I have a grid with columns Qty, Price and Total.  When the user changes the Qty and clicks on Update, I want to recalculate the total and update the Total cell.  How would you do that?  The grid is setup with GridEditMode.InLine.

And while were adding things up, how do you do a grand total and display it in the footer?

Thx,

PT
Pierre
Top achievements
Rank 1
 answered on 19 Jun 2012
0 answers
77 views
1.  can we add  a  Combobox to datagrid  in Kendo MVC /If  yes  can you  please  provide a  example.                                              
2.  when  using the  both  grouping and  inline  bulk edit  create event  is  getting fired  when we change the values and  click on save  button but  actually  Edit event  needs  to fired  can  you  please  let  us  if  it  know  issuse 
3. can we  hide the  toolbar  and  call this  methods  from  other custom HTML  buttons  in the  code  . 


Please give detials  as  we  need to  evaluate  the  Controls  .
Rajesh
Top achievements
Rank 1
 asked on 18 Jun 2012
0 answers
144 views
i don't know how to set it.
charn
Top achievements
Rank 1
 asked on 17 Jun 2012
0 answers
305 views
I can't get this up and running, get the compilation error:
 
'Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilder<Core.Country>' does not contain a definition for 'Data' and no extension method 'Data' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilder<Core.Country>' could be found (are you missing a using directive or an assembly reference?)

I'm using :

@using Kendo.Mvc.UI
@
using Kendo.Mvc.Extensions

 

 
@model Core.Country[]

Can someone tell me, am I  missing a using directive or an assembly reference?

Many thanks in advance.



Sorted: The extension method 'Data' is on .Read(...) not the datasource as the documentation on Ajax Binding: "Pass Additional Data to Action Method" would have you believe.

K.

Kevin
Top achievements
Rank 1
 asked on 15 Jun 2012
1 answer
199 views
I have a page with both the kendo mvc grid and chart. If i add both
<script src="@Url.Content("~/Scripts/kendo.aspnetmvc.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.dataviz.min.js")"></script>
, chart does not work. if i remove aspnet.min.js reference, it works fine.
This is what my Layout.cshtml looks like
<!DOCTYPE html>
<
html>
<
head>
   <title>@ViewBag.Title</title>
   <
link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />   
   <
link rel="stylesheet" href="@Url.Content("~/Content/kendo.common.min.css")">
   <
link href="@Url.Content("~/Content/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" />
   <
link rel="stylesheet" href="@Url.Content("~/Content/kendo.default.min.css")">
   <
script src="@Url.Content("~/Scripts/jquery.min.js")"></script><br>
   <
script src="@Url.Content("~/Scripts/kendo.web.min.js")"></script>
   @*<
script src="@Url.Content("~/Scripts/kendo.aspnetmvc.min.js")"></script>*@
   <
script src="@Url.Content("~/Scripts/kendo.dataviz.min.js")"></script>
  <
script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
</head>
<body>
  @RenderBody()

</
body>
</
html>

For my project, it is a big problem, if i cannot add them together. Please inform me if putting them together is the issue or if i am doing something wrong
Atanas Korchev
Telerik team
 answered on 15 Jun 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
ComboBox
Upload
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
ColorPicker
DateRangePicker
Security
Wizard
Styling
Chat
DateInput
MediaPlayer
TileLayout
Drawer
SplitView
Template
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
DropDownButton
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?