Try our conversational search powered by Generative AI!

Sort Index



I have an EPiServer site that has a default language of Spanish. I want the user to be able to set the sort index while still editing in Spanish, currently I have to return to english in order to do this.

Has anyone got any advice?



Mar 12, 2009 17:15

Hmm. Since sort index is a "built in" property you can't set it to "unique value per langue".

 I guess that one thing you could try is to do a custom sort index property that is only displayd if the language is spanish.

And when it it's saved overwrite the default sortindex value whit the value from the custom property. If that don't work another aproach could be to attach to one of the Page_Save events in Global.asax and do the change of the sorting index there.

 Hope this could be of some help.


Per N

Edited, Mar 13, 2009 10:10

Thanks Per,

That might be an alternative appraoch. Although I do not need the sort index to be different per language I just want to be editable in any language, at present, if in Spanish the sort index drop down is disabled.

Some way of enabling it would be enough.




Mar 13, 2009 11:32

Could be tricky. As far as I know it's the EPiServer.UI.WebControls.PropertyDataform that renders the properties. Atleast the ones you have added to your pagetype. Maybe you could make your own version.


Edited, Mar 13, 2009 15:41

What you could do is to make a edit plugin that only attach to the Populate event that renders the edit tree

look at


You can there change that the sort index is editeble on spanish. the only tricky part then is to actully make it to save. There are numbers of way of doing this, but you can try first to replace the local language sort index property with the master language property and see what happens :)

Mar 14, 2009 17:54

Thanks a lot guys.

Much appreciated


Mar 16, 2009 11:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.