Telerik Forums
UI for ASP.NET Core Forum
1 answer
283 views

Hi Telerik expert,

Could you please educate me how to make Grid height dynamically change ?

like attached picture, if we have 2 rows, only show 2 rows height, if we have 40 rows, show 30 in first page, 10 in second page.

Thank you!

 

Tsvetomir
Telerik team
 answered on 25 Jul 2019
3 answers
99 views

Hi Telerik expert,

 

I want to create a menu on top with home log on left corner and  login account on right corner. like the picture I attached.

also allow to go to sub menu.

 

Could you please educate me how to create? or give me sample code? mine is Telerik ASP.net Core. Thanks!

YN
Top achievements
Rank 1
 answered on 24 Jul 2019
2 answers
195 views

Hi Telerik experts,

 

Could you educate me how to set the height of every line of Grid?

YN
Top achievements
Rank 1
 answered on 24 Jul 2019
2 answers
64 views
how to make the grid use all the width of the page?
YN
Top achievements
Rank 1
 answered on 23 Jul 2019
1 answer
204 views

Does Telerik have a Search Bar Functionality for .Net Core? I see one for Asp Net AJAX, curious if they have for .Net Core?

Thanks,

https://www.telerik.com/products/aspnet-ajax/searchbox.aspx

Nikolay
Telerik team
 answered on 22 Jul 2019
0 answers
173 views

Anyone know how to go into a Taghelper output, and receive the full HTML markup for Masked TextBox?

The following was not working:

output (only gave some of the html)

output.GetChildContentAsync().GetContent();   (Was Not working !!)

 

It Should look like this,

            <span class="k-widget k-maskedtextbox" style="">

                <input id = "test" name="test" data-role="maskedtextbox" class="k-textbox" autocomplete="off" style="width: 100%;">
                <span class="k-icon k-i-warning"></span>
             </span>

              <script>kendo.syncReady(function(){jQuery("#test").kendoMaskedTextBox({"rules":{}});});</script>

 

This is our Taghelper Edit Code,

namespace Test.Web.UI.TagHelpers

{
    [HtmlTargetElement(HtmlTargetElementConts.SearchTextBox)]
    public class TestTextBoxTagHelperGeneral : MaskedTextBoxTagHelper
    {

        [HtmlAttributeName]
        public bool Bold { get; set; }

        [HtmlAttributeName]
        public int? Height { get; set; }

        [HtmlAttributeNotBound]
        public int DefaultHeight { get { return 50; } }

        public IptsTextBoxTagHelperGeneral(IKendoHtmlGenerator generator) : base(generator)
        {
        }

        public override void Process(TagHelperContext context, TagHelperOutput output)
        {
            if (Bold || Height.HasValue)
            {
                if (Height.HasValue)
                    output.Attributes.Add("style", "height:" + Height + "px");
                else
                    output.Attributes.Add("style", "height:" + DefaultHeight + "px");
            }
            Name = "test";
            base.Process(context, output);

How do I Get the Final HTML Markup?

 

JoeThomas
Top achievements
Rank 1
Veteran
 asked on 21 Jul 2019
4 answers
231 views

Hi Telerik experts,

How to make menu on the top position like the black one in my attached pic?

How to make menu start from left? and make the grid become larger to take all the space, not only sit in the center?

YN
Top achievements
Rank 1
 answered on 19 Jul 2019
5 answers
601 views

Hello,

 

When viewing events in the scheduler, 

I want new events to be red. (view model status is pending)

later , when I set the status to "approved" , i want the event to appear as green. 

Any suggestions ?

Thanks,Peter

 

Dimitar
Telerik team
 answered on 19 Jul 2019
3 answers
501 views
Hello,

I created an edit-pop up template for a grid and when I try to edit the entry, the pop up works great. But the template is not loading when I click to add a new entry.

e.g.

Html.Kendo().Grid<Areas.TestArea.Models.RoleBasicFunctions>()
                                                .Name("RoleBasicFunctions")
                                               .Columns(columns =>
                                               {
                                                           columns.Bound(p => p.RoleBasicFunctionsID).Title("ID").Visible(false);
                                                           columns.Bound(p => p.EntityBasicInformation.EntityType.EntityTypeName).Title("Entity Name").HeaderHtmlAttributes(new { style = "white-space: normal" });
                                                           columns.Bound(p => p.EntityBasicInformation.Name).Title("Name").HeaderHtmlAttributes(new { style = "white-space: normal" });
                                                           columns.Command(command => { command.Edit().Text(" "); }).Width(80);
                                                       })
                                                .Pageable()
                                                .Sortable()
                                                .Scrollable()
                                                .Editable(editable => editable.Mode(GridEditMode.PopUp).DisplayDeleteConfirmation(false).TemplateName("EditRoleBasicFunctions").Window(ww => ww.Title("Edit").Width(1800)))
                                                .ToolBar(toolbar => toolbar.Create())
                                                .Filterable()
                                                .DataSource(dataSource => dataSource.Ajax()
                                                .Model(model =>
                                                {
                                                            model.Id(p => p.RoleBasicFunctionsID);
                                                        })
                                                .Read(read => read.Action("RoleBasicFunctionsGrid_Read", "Test").Data("additionalData")))

Viktor Tachev
Telerik team
 answered on 19 Jul 2019
2 answers
738 views

 

The column header is light gray as default, user ask me to make it darker. I tried some template, but failed. Could you educate me?

Thank you!

YN
Top achievements
Rank 1
 answered on 18 Jul 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?