Telerik Forums
UI for ASP.NET MVC Forum
1 answer
227 views

If I add the MVC Wrapper for a Dialog in a page, and initially set Visible(false), how do I set the actual content of the dialog via Javascript?

Background, I have a SignalR hub that is set to receive admin messages from the server, and I want the message sent by the server to be displayed in the dialog.  SO I put the basic dialog MVC wrapper in my page, with no content initially and when the SignalR hub receives a a message, I want it to display in that dialog then.

Joe
Top achievements
Rank 1
 answered on 13 Apr 2017
3 answers
1.4K+ views

Hi,

I can set Title HtmlAttribute for Edit and Destroy command button in Grid like:

                                command.Edit().HtmlAttributes(new { title = "Edit Row" });
                                command.Destroy().HtmlAttributes(new { title = "Delete Row" });

But I cannot find the way to set Title for buttons "Update" and "Cancel" which appears during editing.

Kind regards

Genadij

 

 

 

 


Viktor Tachev
Telerik team
 answered on 13 Apr 2017
1 answer
385 views

HI

How could I show the destroyed data in another Grid ?

I have met an error : 

grid2.setDataSource(grid.dataSource._destroyed);

Uncaught TypeError: e.fetch is not a function at init.setDataSource (kendo.all.min.js:48)


Best regards

Chris

 

Tsvetina
Telerik team
 answered on 13 Apr 2017
1 answer
418 views

Hi,

I have some questions about the Table Wizard:

- When I create a table, either using the normal way or through Table Wizard, I don’t have a way to edit that created table.
- When creating a table with the wizard, and setting table width and height, when typing inside of that table the cell widths start changing.
- When adding columns to an existing table, either left or right, it adds it in a very small width and unproportioned to the rest of the columns of the table.
- When creating a table with the wizard, configuring Cell properties without checking “Select All Cells”, does not allow to specify which cell to be configured, top left by default only.
- When creating a table with the wizard, set cellspacing: 10px, no effect on created Table.

Thanks!

Veselin Tsvetanov
Telerik team
 answered on 13 Apr 2017
1 answer
126 views
Hi guys,
I am using:
     1-Kendo MVC - 2014.3.1411.545
     2-Chrome/Mozilla regardless the version

I have been working with kendo UI scheduler control which works fine with its default functionality, but I need to do the customization to meets the requirements.

Here are the certain things I want to do with kendo scheduler:

1. I want to to generate kendo scheduler rows with respect to the binded resource dynamically.
2. To Remove the time slots and create appointments with certain height & width.
3. I want to show the kendo scheduler appointments created in concerned row with respect to every resource with a certain height and width.

I have uploaded an image to explain what I wanted to do with Kendo MVC scheduler.
Ivan Danchev
Telerik team
 answered on 13 Apr 2017
1 answer
213 views

Hi, I need to facilitate two pieces of drag and drop functionality usingTelerik UI for MVC.

I have a ListView (of users), and a Panelbar (of teams, and the users in each team are the children for a given Panelbar team item).

I want to drag/drop users from the ListView to the team header (or its child users panel) & this will trigger a call to the server that will make the change to the db.  The users when "dragged" remain in the ListView of all users, they are simply added to a team.

Additionally, each user under a team in the PanelBar need to be able to be dragged to a third element in the view (an icon of a recycle bin - this will remove them from a team).

How can I enable drag and drop on the two Kendo controls to make this happen?

Thanks

Matt

Boyan Dimitrov
Telerik team
 answered on 12 Apr 2017
1 answer
234 views

I have the following test Grid and Grouping, Reordering, and Resizing all fail to work.

I see a "stop sign" whenever I try to drag and drop a column header to group or reorder.  Trying to Resize, I see the handles but it doesn't actually resize.

 

@(Html.Kendo().Grid<MyWorkRowModel>()
    .Name("myworkgrid")
    .Columns(columns =>
    {
        columns.Bound(c => c.ReqID);
        columns.Bound(c => c.Title);
    })
    .Scrollable()
    .Groupable()
    .Sortable()
    .Filterable()
    .ColumnMenu()
    .Resizable(rsb => rsb.Columns(true))
    .Reorderable(r => r.Columns(true))
    .DataSource(dataSource => dataSource
        .Ajax()
        .Read(read => read.Action("LoadWorkGrid", "Dashboard").Data("WorkGridUser")))
 )

 

 

For Reference "WorkGridUser" is:

function WorkGridUser() {
    return {
        uid: "@(ViewBag.UserID)"
    }
}

 

And the problem is the same even when leaving that off. 

 

What am I doing wrong?

These are the references I am using (along with jquery 1.10.2, bootstrap, and toastr):

 

Thank you.

WH
Top achievements
Rank 1
 answered on 12 Apr 2017
1 answer
133 views

Has anyone ever seen similar behavior and know of a fix? This grid is built dynamically so I do not know the number of columns until after the user chooses which view to render.

 

 

 

Viktor Tachev
Telerik team
 answered on 12 Apr 2017
3 answers
180 views

Hi,

I use the KendoGrid in Incell editmode. The foreignkey column displays the status dropdownlist. So far so good. 
However I want the datasource to be dependent on the modeldata of my grid. Each type of good has different statusses. 
Can you provide me with some help to achieve this?

In the examples I encountered the comboboxes uses the ViewData as a datasource. I can't filter on that.

 

Thanks.

Boyan Dimitrov
Telerik team
 answered on 12 Apr 2017
1 answer
747 views

Hi,

I have changed the style for command buttons in Grid using CSS:

.abutton,
div.k-grid .k-grid-edit,
div.k-grid .k-grid-delete,
div.k-grid .k-grid-cancel,
div.k-grid .k-grid-update {
    display: inline-block;
    width: 16px;
    height: 16px;
    padding: 0px 0px 0px;
    text-align: center;
    text-indent: -444px;
    border: 0;
}

div.k-grid .k-grid-edit {
    background: url('/Content/Icons/edit.png');
}

div.k-grid .k-grid-delete {
    background: url('/Content/Icons/cancel.png');
}

div.k-grid .k-grid-cancel {
    background: url('/Content/Icons/cancel.png');
}

div.k-grid .k-grid-update {
    background: url('/Content/Icons/ok.png');
}

After that all command buttons still have the width equal 64px coming from kendo-common-bootstrap.css  or kendo-common.css:

.k-grid tbody .k-button, .k-ie8 .k-grid tbody button.k-button {

    min-width: 64px;

}

Unfortunately I cannot find the way to UNSET or set min-width to 16px as I need.

Could you please help.

Kind regards

Genadij

 

Preslav
Telerik team
 answered on 12 Apr 2017
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
Dialog
MultiColumnComboBox
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
Security
ColorPicker
DateRangePicker
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
DropDownButton
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
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
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?