Close quickinfo Template programatically

Good afternoon All
I have the following quick info template . When the button is clicked I want to close the quick info window How would I go about doing this (The issue is the quick window remains on top of any other windows that may appear)?




Thank you!

3 Replies 1 reply marked as answer

AK Alagumeena Kalaiselvan Syncfusion Team September 9, 2020 02:38 PM UTC

Hi Ashley, 

Greetings from Syncfusion support. 

We have checked your reported issue “”how to programmatically close the quickpopup” and Scheduler provided support to programmatically close the quickpopup using CloseQuickInfoPopup public method. Refer the below code for that. 
<SfButton OnClick="Click">Click</SfButton> 
<br /> 
<SfSchedule @ref="ScheduleObj" TValue="AppointmentData" Height="650px" SelectedDate="@(new DateTime(2020, 2, 14))"> 
    <ScheduleEventSettings DataSource="@DataSource"></ScheduleEventSettings> 
</SfSchedule> 
 
@code{ 
    public void Click() 
    { 
        ScheduleObj.CloseQuickInfoPopup();   // To programmatically close the quick popup 
    } 
... 
} 

The above sample can be get by the following link 

Please get back to us, if you need further assistance. 

Regards 
Alagumeena.K 


Marked as answer

DA Daten September 9, 2020 02:58 PM UTC

Amazing Alagumeena.K 

Thank you very much,  I was not aware (Though probbaly due to my lack of Blazor @Ref)  that I could access that function in that manner, 

thank you again!


VD Vinitha Devi Murugan Syncfusion Team September 10, 2020 08:44 AM UTC

Hi Asley, 

Thanks for your update. 

We are happy to hear that our solution fulfilled your requirement.  

Regards, 
Vinitha devi 


Loader.
Up arrow icon