Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Please Add a Trim function to the webpart properties View modes: 
User avatar
Member
Member
Chanan - 3/26/2011 12:27:48 PM
   
Please Add a Trim function to the webpart properties
When pasting in text to the properties boxes such as Path in the Repeater control if there is a space by mistake in the pasted text in the beginning of the string the repeater will fail silently. Please add a trim to the inputted text to avoid this minor issues.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 3/29/2011 6:16:57 AM
   
RE:Please Add a Trim function to the webpart properties
Hello,

When speaking about this kind of textboxes such as the Path, Transformation and Document types, there is always a select button which allows you to choose appropriate text input and places it in a correct format.

However, if you still need to trim the textbox value, you can adjust the code-behind of any webpart and trim it directly there when getting this value at the beginning.

Best regards
Ondrej Vasil

User avatar
Member
Member
Chanan - 3/29/2011 10:24:58 AM
   
RE:Please Add a Trim function to the webpart properties
I don't think I want to duplicate every single webpart in the system... It is something that should be done via the interface that popups the form for the editor to change the webpart properties.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 3/31/2011 2:04:05 AM
   
RE:Please Add a Trim function to the webpart properties
Hello,

In this case I'll pass it to our product manager for his consideration.

Again, you can vote for such feature in our UserVoice portal: http://kentico.uservoice.com/forums/33767-general-suggestions

Best regards

Ondrej Vasil