Telerik Forums
UI for Blazor Forum
0 answers
405 views

I want to use the VisibleChanged-Event but it is only firing, if the User closes the Window through "CloseOnOverlayClick"

A click on an Action-Button or setting the isVisible-Property to false does not work.

Here is my Code:


    <TelerikWindow Class="window-dialog" Centered="true" Visible="@isVisible" VisibleChanged="@VisibleChangedHandler" Modal="true" CloseOnOverlayClick="true">

        <WindowTitle>
            <strong>Log-In</strong>
        </WindowTitle>

        <WindowActions>
            <WindowAction Name="Close" OnClick="@(()=>isVisible=false)" />
        </WindowActions>

...

 


Hendrik
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 12 Jan 2024
2 answers
283 views

I have seen the example of using a custom CSS style to modify the appearance of the TelerikWindow action buttons (border / background / color).

 

Is it possible to change the location of the action buttons to be at the bottom of the window (preferably just the buttons, and not the whole title bar)?

Dimo
Telerik team
 answered on 11 Jan 2024
0 answers
660 views

Hello,

I have a grid with InLine editing. The first column in the grid is a dropdownlist. The second column has a switch statement that will show a different control based on the selected value of the dropdown. I have an OnChange() method on the dropdown and I call StateHasChanged() in that method, but the switch statement never gets called. 

How can I get the second column in the grid change based on the first column changing?

Thanks,

Dave

David
Top achievements
Rank 1
Iron
 updated question on 10 Jan 2024
0 answers
167 views

I´m trying to export a page as PDF in a Blazor application.

I found this example application that uses the kendo-drawing api with JS interop.

https://github.com/telerik/blazor-ui/tree/master/common/pdf-jpg-export-js

This works fine as long as you do not use a template. The template API is missing entierly.

I have for now copied over the entier kendo libs folder from a project that uses kendo MVC. It works, but I would rather just use the kendo-drawing api and not everything.

Is the kendo templating stuff available somewhere separately?

(NOTE: This is not an accessibility question but there is no tag that fits as far as I can tell and I cannot define a new one)

Max
Top achievements
Rank 1
 asked on 10 Jan 2024
0 answers
170 views

Hello, could you help me please. I have a problem with calling razor page (blazor) in HTML, sometime is work sometime isnt.

I try call only https://xzy.intra.cz/aktpoh/233 and press F5 and it was still working.

But if I call it in iframe or embed or object i.e. 

<tr>
          <td>X group</td>
          <td><iframe href="https://xzy.intra.cz/aktpoh/233" height="50" type="text/html" width="300"></iframe></td>
        </tr>
        <tr>
          <td>Y group</td>
          <td><embed src="https://xzy.intra.cz/aktpoh/30" height="50" type="text/html" width="300"></embed></td>
        </tr>
        <tr>
          <td>Z group</td>
          <td><object data="https://xzy.intra.cz/aktpoh/243" height="50" type="text/html" width="300"></object></td>
        </tr>
        <tr>         

sometime work but if I press F5 for refresh sometime isnt work.

How can I call it

Peter

 
Dimo
Telerik team
 updated question on 10 Jan 2024
0 answers
182 views

Greetings Forum Members,

I trust you're all doing well. I'm currently involved in a project at my company, where we are contemplating migrating an existing ASP.NET project (built with the old aspx and vb.net) to the newer ASP.NET Core. Our consideration involves using the Telerik code converter to transition the code from vb.net to c#.

I'm reaching out to the community to gather insights on whether the Telerik code converter takes into account libraries during the conversion process. If any of you have experience with this tool or similar migration scenarios, your guidance would be immensely valuable.

Thank you for your time and assistance. Looking forward to your knowledgeable responses.

Best regards,

EHallPass

Dimo
Telerik team
 updated question on 10 Jan 2024
1 answer
359 views
We'd like to open the dropdownlist automatically when it receives focus, and then focus on the filter textbox inside the dropdown. Is this possible? Was hoping for an OnFocus event.
Nansi
Telerik team
 answered on 08 Jan 2024
5 answers
554 views

I have the following TreeList definition inside a model-dialog box.  The modal-dialog:overflow-y options (auto, hidden, scroll, visible) let me turn the dialog's scroll bar on and off.  However, none of them seem to work like I would expect.  How do I freeze the height of the modal-dialog so that the scroll bar on the TreeList becomes active?  It seems the dialog stretches off-screen.

 


@if (ShowDialog)
{
    <div class="modal fade show d-block" id="exampleModal" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="titleLabel">@Title</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close" @onclick="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">


                    <TelerikTreeList Data="@Groups"
                                     IdField="@nameof(SelectedGroup.Id)"
                                     ParentIdField="@nameof(SelectedGroup.ParentId)"
                                     SelectedItems="@SelectedGroups"
                                     FilterMode="@TreeListFilterMode.None">
                        <TreeListColumns>
                            <TreeListColumn Expandable="true" Field="Name" Title="Name" />
                        </TreeListColumns>
                    </TelerikTreeList>


                </div>
            </div>
        </div>
    </div>
}

<style>
    .modal-dialog, .modal-dialog img { /*same value to avoid overwidth*/
        width: 70%;
        height: 90%;
        margin: 15px auto;
        overflow-y: visible;
    }
</style>

Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
 answered on 08 Jan 2024
2 answers
204 views

Hi

We have run into some difficulties with charting a 'floating' stacked series. Is it possible to 'stack' series in a Range Column Chart? Where the data in this REPL would be represented by one column with two regions: https://blazorrepl.telerik.com/cRPGbRkN53vvK3Y152

We have been working around the issue by using a Column chart and creating an invisible stacked series to move the real series into position. However, we struggle when negative values are required, specifically if a column is to range between a positive value to a negative value, e.g. From 47 to -10. 

 

Thanks

Mark 

Mark
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 08 Jan 2024
0 answers
135 views

I need sample Drop-Down custom filter menu for this Grid, i dont see sample in telerik docs

<GridColumn Field="MoneyTransferCode" FieldType="@(typeof(int))" Title="نوع انتقال وجه" Width="200px" Groupable="true">
<GroupHeaderTemplate>
نوع انتقال وجه: @Data.Where(x => x.MoneyTransferCode == int.Parse(context.Value.ToString())).Select(x => x.MoneyTransferCodeName).FirstOrDefault()
</GroupHeaderTemplate>
<Template>
@{
var item = context as TermOfTransactionDto;
@item.MoneyTransferCodeName
}
</Template>
<EditorTemplate>
@{
var item = context as TermOfTransactionDto;
<TelerikDropDownList Data="@MoneyTransferCodeList"
ValueField="Value"
TextField="PersianDisplayName"
Width="100%"
@bind-Value="@item.MoneyTransferCode"/>
}
</EditorTemplate>
</GridColumn>

Ali
Top achievements
Rank 1
 asked on 06 Jan 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?