November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hey Anders,
I remember seeing this in AlloyTech templates, they use Post instead of Get inside edit mode for search.
@*We use GET to submit the form to enable bookmarking etc of search results. However, as GET will remove other
query string values not in the form we can't use that in edit mode.*@
@using(Html.BeginForm(null, null, Model.Layout.SearchPageRouteValues, PageEditing.PageIsInEditMode ? FormMethod.Post : FormMethod.Get))
{
<input type="text" tabindex="1" name="q" value="@Model.SearchedQuery"/>
<input type="submit" tabindex="2" class="btn" value="@Html.Translate("/searchpagetemplate/searchbutton")" disabled="@(Model.SearchServiceDisabled ? "disabled" : null)"/>
}
So, it seems it's by design, might be that you can make a similar workaround?
I've searched for an answer, and all I could find was this old case (from 2004) describing the same problem:
http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=17312
When using URL parameters, this works fine outside edit mode.
In edit mode, the URL is rewritten, and my custom parameters are discarded.
Anyone have a workaround or fix for this problem?