We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Events Stop Working With The Inclusion Of this.JsRuntime.Ejs().LoadLocaleData

Thread ID:





149465 Nov 27,2019 06:45 AM UTC Nov 29,2019 09:46 AM UTC Blazor 1
Tags: Grid
paul stanley
Asked On November 27, 2019 06:45 AM UTC

I wanted to format a currency column in my grid so I inserted this code:

    protected override void OnAfterRender(bool firstRender)

After I did the  this grid events such as:
        public void RowSelectedHandler(RowSelectEventArgs<Job> args)
        vm.selectedJob = (Job)args.Data;

stopped working. 
Is this a bug to be sorted? 

Renjith Singh Rajendran [Syncfusion]
Replied On November 29, 2019 09:46 AM UTC

Hi Paul, 

Thanks for contacting Syncfusion support. 

We suggest you to call the “SetCurrencyCode” only at initial render by checking the condition for initial render. Please use the below code to overcome the problem you are facing. We have prepared a sample based on this scenario. Please download the sample from the link below, 

Please use the code below, 

    protected override void OnAfterRender(bool firstRender) 
        if (firstRender) 

Please get back to us if you need further assistance. 

Renjith Singh Rajendran. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon