Hi, i think i've found a mistake with partial inside a snippet.
I've made a partial, inside this partial i've put a component.
This partial is a snippet.
If i put this snippet inside a page (RainLab.Pages)
my component is displayed, but the ajax not working.
I've tried to put prefix on it, but still not working.
It's working well inside a page:
Partial code:
<!-- Left Content -->
<div class="col-md-9">
<div class="pastobit-list">
{{ form_ajax('AvisDeces::onSearch') }}
<input type="text" name="search" class="" placeholder="Rechercher par nom et/ou pr茅nom">
<p></p>
<button type="submit" class="default-button">Rechercher</button>
{{form_close()}}
<h2 id="h2_deces_en_cours" class="main-heading marbot20">Avis de deces en cours</h2>
<br>
{% component 'AvisDeces' %}
</div>
</div>
Screenshot of my partial CMS page:

Inside the CMS Page, it's working fine.
Now, inside a page (RainLab.Pages plugin)

My request not working:

Thanks to you !
Snippets, which is a sepcial kind of a partial, do not support AJAX handlers. This is documented here. Please note:
In general, component usage in partials is designed for basic components that render simple markup without much processing, such as a Like or Tweet button.
If you need more flexibility, consider registering a component as snippet. That should allow you to define ajax handlers.
Thanks for this answers.
I've registered a page snippet an modify my component view. It's now working.
Most helpful comment
Snippets, which is a sepcial kind of a partial, do not support AJAX handlers. This is documented here. Please note:
If you need more flexibility, consider registering a component as snippet. That should allow you to define ajax handlers.