HomeCommunityControl GalleryMobile ControlsMobile Multiline Input Control

Mobile Multiline Input Control



(7) Submit a Review

2,597 Downloads

29,099 Views


Description

The Multiline Input Control control derives from mobile:textbox and offers the possibility of multi-line functionality on capable browsers. Applications which require input of large amounts text, such as Mobile Chat and Message boards, can benefit from this control. This sample also demonstrates how to take advantage of MMIT's extensible model. Specifically this sample shows how to author a new adapter and associate it with a control. Currently there is no Visual Studio .NET design support for this sample.

Syntax Example

<mlic:multilineinput id="ti" runat="server" Rows="5" Cols="25" />

Reviews

Submit a review

cant bulid the file

Reviewed by: techmobi on Sunday, April 11, 2010

2 Stars

hi i know most of u guy got past this stage. when i tried to bulid the file i get an error 'csc' is not recognized as

Fix to initially set data into this control

Reviewed by: Ford152 on Wednesday, August 27, 2008

2 Stars

I had to make an additional fix to be able to set some initial data into this control. This fix is to write out the text data in between the textarea begin and end nodes in the HtmlMultiLineInputAdapter.Render function: writer.Write(">"); //-- Set text data -- this next line is the fix writer.Write(this.Control.Text); writer.WriteEndTag("textarea");

Works not correct

Reviewed by: v_pele on Thursday, June 05, 2008

1 Stars

Now I can input multiline data, but after postback I've got error: The control with id tbMulti contains newline characters in its inner text. A MMIT_Sample.MultiLineInput control cannot contain newline characters in its inner text. It is very bad

Didn't work

Reviewed by: v_pele on Thursday, June 05, 2008

1 Stars

I've builded dll, add it to the wap-site project. Added Multiline Input Control to the page (set rows=5), but in every browser (and in debug in IE) it show like simple textbox :-(

Solution for HTML based smart devices

Reviewed by: vickeymast on Thursday, April 10, 2008

3 Stars

I tried following mdifications in class "MultiLineInput" for palm based devices and it is working fine: 1. implement interface "IPostBackDataHandler" 2. Include function: protected new bool LoadPostData(string key, NameValueCollection data) { bool dataChanged = false; if (!base.Adapter.LoadPostData(key, data, null, out dataChanged)) { string str = data[key]; if (base.Text != str) { str = str.Replace("\r\n", "<br/>"); str = str.Replace("\r", "<br/>"); str = str.Replace("\n", "<br/>"); base.Text = str; dataChanged = true; } } return dataChanged; }

test

Reviewed by: chung seung on Thursday, January 17, 2008

3 Stars

testestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetsettestestestsetsetset

Seems that it doesn't really work

Reviewed by: dedius on Tuesday, March 02, 2004

3 Stars

Hello, If you enter a multi line text and press the button it will always display the error: &quot;The control with id TI contains newline characters in its inner text. A MMIT_Sample.MultiLineInput control cannot contain newline characters in its inner text. &quot; Do you have any idea why and maybe you have a workaround? Thanks, Sorin