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!
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!
Hi Telerik experts,
Could you educate me how to set the height of every line of Grid?
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
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?
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?
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
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")))
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!