WebInput htmlEncoding

1 reply. Last post: January 21, 2010 1:50 AM by Andi Santoso
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi, 

     I noticed that WebInput have problem with showing  text like (company "film" <new>  &something&)

(VS_jserror_need_object.png). 

    WebInput designer code:

<ISWebInput:WebInput ID="WebInputKLIENT_KEYWORDS" runat="server"
	Height="18px" Width="100%">
	<EditFormat>
		<ErrorWindowInfo IsEnabled="False">
		</ErrorWindowInfo>
	</EditFormat>
	<CultureInfo CultureName="pl-PL"></CultureInfo>
	<DisplayFormat>
		<ErrorWindowInfo IsEnabled="False">
		</ErrorWindowInfo>
	</DisplayFormat>
</ISWebInput:WebInput>  

 

    This is of course data which needs htmlEncoding.

     WebGrid works fine and there is no problem with showing such data(webgrid_encoding.png).

   I can solve this by encoding this text  using Server.HtmlEncode, before putting it into webinput, but shouldn't be done automatically like in webgrid. 


Could you suggest me any solution or perhaps I forgot to tweak something in WebInput.

 


Regards,

Mariusz

All times are GMT -5. The time now is 11:39 PM.
Previous Next