[Mono-list] textarea rendering tabs between opening and closing tags

James Horrocks jameshorrocks at hotmail.com
Sat Aug 6 00:42:23 EDT 2011



	
	I have removed all '<' and '>' from this email incase the email doesnt render properly

----------------------------------------------------


I have an issue with an asp:TextBox which is set to a MultiLine which is rendering 2 tab spaces in the html between the textarea		/textarea tags which is causing a layout problem for the user.


I am running mono 2.10.2 using monodevelop 2.6 and testing under the xsp4 server, please see my code below for the example.


ORIGINAL HTML:


div class="c3"

asp:TextBox ID="txt_test" TextMode="MultiLine" runat="server"  Rows="2" Columns="20"/

/div



RENDERED HTML:


div class="c3"

textarea cols="20" rows="2" name="ctl00$txt_test" id="txt_test" title="test"

                /textarea

                        

                        

/div


You will see that just before the closing </textarea> tag
 there are 2 tab spaces which is where the problem is (also there are 2 
extra blank lines after the tag which isnt causing a problem, but makes 
the html very untidy).


How can I fix this issue?     		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110806/29c0f4f5/attachment.html 


More information about the Mono-list mailing list