Quantcast
Channel: Telerik Forums RSS
Viewing all 99250 articles
Browse latest View live

DatePicker in Bootstrap form-group

$
0
0

Hi Tom,

I think 4.something was the last one tested, with the SASS themes we have. If more concrete numbers are required, I could check with our front end architect to see if this information is available.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor

Can't filter on DataSource which is an Interface?

$
0
0

Hi Jeff,

That's the way it is done at the moment. I am not sure if the create calls for the models can be avoided even for a non-editable, non-filterable, non-sortable, non-groupable, non-pageable grid, because I am fairly sure they are needed to extract the types, default values and actual values of the data so it can be rendered.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor

Initial files list not working

$
0
0

Hello Chris,

Thank you for sharing your full implementation with the community. I am sure it would be of great help for other developers too. As a small token of gratitude for your effort, I have just updated your Telerik points.

Regards,
Veselin Tsvetanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Click Here>>> http://www.smoreworld.com/master-keto-rx/

$
0
0
Master RX The role of fasting as a treatment of disease was known to mankind first thousands of years ago detailed in studies done by ancient Green physicians and ancient Indian physicians. An early treatise in the Hippocratic Corpus, “On the Sacred Disease,” describes how alterations in diet played a role in epilepsy management. The idea of fasting was also  in the early 20th Century by Bernarr  as a means of restoring health.

Keto Plus Costa Rica *https atozfitnesstalks com/keto-plus-costa-rica/*

Checkboxes with Multi-Level Grouping

$
0
0

Hi Ozan,

To have the outermost Group checkbox have an effect, you will need to iterate through the items recursively. Here is an extension of the Code snippet provided by Shinu. Here is a short video for demonstration RadGrid GroupHeader Check in Multiple Level.

voidrecursive (GridItem[] children, bool isChecked)
{foreach (GridItem child in children)
    {if (child is GridDataItem)
        {
            ((child as GridDataItem).FindControl("TemplateCheckBox") as CheckBox).Checked = isChecked;

        }elseif (child is GridGroupHeaderItem)
        {
            GridGroupHeaderItem groupHeader = child as GridGroupHeaderItem;

            recursive(groupHeader.GetChildItems(), isChecked);
        }


    }
}

voidcheck_CheckedChanged(object sender, EventArgs e)
{
    CheckBox check = (CheckBox)sender;
    GridGroupHeaderItem groupHeader = (GridGroupHeaderItem)check.NamingContainer;
    GridItem[] children = groupHeader.GetChildItems();
    recursive(children, check.Checked);
}privatevoidCreateHeaderControls(GridItemEventArgs e)
{if (e.Item is GridGroupHeaderItem)
    {
        GridGroupHeaderItem item = e.Item as GridGroupHeaderItem;
        DataRowView groupDataRow = (DataRowView)e.Item.DataItem;
        CheckBox check = new CheckBox();
        check.AutoPostBack = true;
        check.ID = "CheckAll";
        check.Text = "Check/Uncheck CheckBox1 column";
        check.CheckedChanged += new EventHandler(check_CheckedChanged);
        item.DataCell.Controls.Add(check);
    }
}

 

Please note that the Crashing part might happend due to other reasons or code logic. You will need to double check the logic you have in code behind and ensure that there are no conflicts while looping through the items.

 

Kind regards,
Attila Antal
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

POS Receipt Print.

$
0
0

Hello Kashif,

I am not sure what are you asking for. Could you please elaborate? Are you asking how to generate the document or you just do not want to save it in a file?

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik

Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Shown decimals, inline editing

$
0
0
That's nice that you managed to help this guy but what about the rest of us?
I have this situation, can we put the solution code here?

Editor rendered different after `Convert to Telerik application`.

$
0
0

Hi Veselin,

This is the modification you suggested:

<divclass="form-group">
    @Html.LabelFor(m => m.validated, new { @class = "col-md-2 control-label" })
    <divclass="col-md-10">
        @(
            Html.Kendo().DropDownListFor(model => model.validated)
        )
        @Html.ValidationMessageFor(m => m.validated)
    </div>
</div>

 

Here is the result:

  • No options inside the dropdown control. See attached image.

My ASP.NET application was converted to a Telerik application and all the files are in place.

Why?

 

Thanks,

Alberto

 

The line of the graph is cut

$
0
0
Hi,

Is there any way to prevent the line of the graph from being cut when its curve is below the minimum?
I send an example.

Thank you.

kendo dropdowntree in a grid as editor doesn't trigger change

$
0
0
Hello,

The change was not triggered because of the  e.preventDefault(); line in the select event - once | commented it the change was triggered again - https://dojo.telerik.com/@zdravkov/IwaFIjag.

This is an expected behavior - if we prevent the selection we don't expect a change to happen.

Regards,
Plamen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Navigation bar color

$
0
0
You can open a support ticket and attach the project in a zip.

Thank you!

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Keep raddock toolwindows equal size when resizing application window

$
0
0

Hello, Amit,    

According to the provided screenshot, it seems that two of the ToolWindows are arranged vertically. This will calculate wrong width per window since these two windows share the same width but their height is twice smaller. There is not automatic API for handling this case and to be honest it wouldn't b easy at all to determine this.

Note that RadDock is actually a derivative of RadSplitContainer which hosts all windows in split panels. The split panel that contains the two vertically oriented ToolWindows actually contains another nested RadSplitContainer which contains two items in the Controls collection. Knowing this arrangement of the panels, you may iterate the RadDock.SplitPanels collection recursively in depth and see if there are any nested RadSplitContainers that host more than one ToolWindow. In general, to calculate the proper width per window, you need to know the total width of RadDock and the number of ToolWindows among which you need to distribute the width. 

However, have in mind that it would probably require a lot of conditions and checks for the windows arrangement and after moving a window or redocking it to a new place, new split panels will be created in RadDock to host the window at its new position. This is a quite complex layout and it is performed over the current size of RadDock. That is why I would suggest you to think about the SplitPanelSizeMode.Relative where you can specify RelativeRatio. Then, whenever the size of RadDock changes, you can reset the sizing mode and assign a new ratio in order to calculate automatically the size. Additional information is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/dock/object-model/example-building-an-advanced-layout-at-runtime

I hope this information helps.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Navigation bar color

ImageBrowser display options

$
0
0

Hi,

  I am using the Image Browser as a standalone widget without the Editor. 

  Where should i put the script to hide the create folder button?

 

<div>
                    @(Html.Kendo().PanelBar()
                        .Name("panelbar")
                        .ExpandMode(PanelBarExpandMode.Multiple)
                        .Items(panelbar =>
                        {
                            panelbar.Add().Text("Image Browser")
                                .Expanded(false)
                                .Content(@<divid="imgBrowser"/>);
                        })
                    )
</div>
 
<script>
    $("#imgBrowser").kendoImageBrowser({
        transport: {
            type: "imagebrowser-aspnetmvc",
            read: "/ImageBrowser/Read",
            destroy: {
                url: "/ImageBrowser/Destroy",
                type: "POST"
            },
            create: {
                url: "/ImageBrowser/Create",
                type: "POST"
            },
            imageUrl: "@Url.Content("~/shared/UserFiles/Images/{0}")",
            thumbnailUrl: "/ImageBrowser/Thumbnail",
            uploadUrl: "/ImageBrowser/Upload",
        },
        change: insertImagePath
    });
</script>

Edit Inline datetime showing Null

$
0
0

Hi Tsvetomir,

Thanks, this still didn't kinda work for me but you pointed me into the direction of cultures and as being in the UK I had to set the culture accordingly.

Regards, Alan

ImageBrowser and FileBrowser in razor page

$
0
0

Let me answer my own question.

Here is what i have done & it is working.

<div>
                    @(Html.Kendo().PanelBar()
                        .Name("panelbar")
                        .ExpandMode(PanelBarExpandMode.Multiple)
                        .Items(panelbar =>
                        {
                            panelbar.Add().Text("Image Browser")
                                .Expanded(false)
                                .Content(@<divid="imgBrowser"/>);
                        })
                    )
</div>
 
<script>
   $("#imgBrowser").kendoImageBrowser({
        transport: {
            type: "imagebrowser-aspnetmvc",
            read: "/ImageBrowser/Read",
            destroy: {
                url: "/ImageBrowser/Destroy",
                type: "POST"
            },
            create: {
                url: "/ImageBrowser/Create",
                type: "POST"
            },
            imageUrl: "@Url.Content("~/shared/UserFiles/Images/{0}")",
            thumbnailUrl: "/ImageBrowser/Thumbnail",
            uploadUrl: "/ImageBrowser/Upload",
        },
        change: insertImagePath
    });
</script>

Grid Group

$
0
0

Hello Tim,

There is no need to add the second groups. Here is how you can change the code:

publicRadForm1()
{
    InitializeComponent();var columnGroupsView = new ColumnGroupsViewDefinition();
    columnGroupsView.ColumnGroups.Add(new GridViewColumnGroup("group1"));
    columnGroupsView.ColumnGroups.Add(new GridViewColumnGroup("group2"));

    columnGroupsView.ColumnGroups[0].Rows.Add(new GridViewColumnGroupRow());
    columnGroupsView.ColumnGroups[0].Rows[0].ColumnNames.Add("column1");
    columnGroupsView.ColumnGroups[1].Rows.Add(new GridViewColumnGroupRow() { MinHeight = 30 });
    columnGroupsView.ColumnGroups[1].Rows[0].ColumnNames.Add("column2");

    columnGroupsView.ColumnGroups[1].Rows.Add(new GridViewColumnGroupRow() { MinHeight = 30 });
    columnGroupsView.ColumnGroups[1].Rows[1].ColumnNames.Add("column3");this.radGridView1.ViewDefinition = columnGroupsView;

    radGridView1.Columns.Add("column1");
    radGridView1.Columns.Add("column2");
    radGridView1.Columns.Add("column3");


}

I hope this helps. Should you have any other questions, do not hesitate to ask.

Regards,
Dimitar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Remove kendo multiselect for kendo.all.min js file and create a custom kendo.multiselect.min.js

$
0
0

Remove kendo multiselect for kendo.all.min js file and create a custom kendo.multiselect.min.js

 

In my project i am using v2017 of kendo.all.min.js. but in case of kendo multiselect with server filttering , i am facing a issues while a adding custom data into the  datasource. if  i change a the version 2015 the multiselect are working bu other things are not working. so i want to remove mutiselect from kendo.all.min.js (v2017) and create a separate kendo.multiselect.min.js file with v2015

ImageBrowser Missing File Icon

$
0
0

Hi,

  I am using ImageBrowser as a standalone widget without Editor.

<div>
                    @(Html.Kendo().PanelBar()
                        .Name("panelbar")
                        .ExpandMode(PanelBarExpandMode.Multiple)
                        .Events(events => events
                                .Expand("onExpand")
                            )
                        .Items(panelbar =>
                        {
                            panelbar.Add().Text("Image Browser")
                                .Expanded(false)
                                .Content(@<divid="imgBrowser"/>);
                        })
                    )
</div>
 
<script>
    $("#imgBrowser").kendoImageBrowser({
        transport: {
            type: "imagebrowser-aspnetmvc",
            read: "/ImageBrowser/Read",
            destroy: {
                url: "/ImageBrowser/Destroy",
                type: "POST"
            },
            create: {
                url: "/ImageBrowser/Create",
                type: "POST"
            },
            imageUrl: "@Url.Content("~/shared/UserFiles/Images/{0}")",
            thumbnailUrl: "/ImageBrowser/Thumbnail",
            uploadUrl: "/ImageBrowser/Upload",
        },
        change: insertImagePath
    });
</script>

 

When the PanelBar is expanded & ImageBrowser is loaded, the file icon is missing. Please see the attached picture.

Can you let me know how to display the file icon?

Viewing all 99250 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>