Quantcast
Channel: SCN : Discussion List - Business Server Pages (BSP)
Viewing all articles
Browse latest Browse all 237

Maximum rows in Textedit BSP elemet

$
0
0

Dear All,

 

I have a textedit BSP element as defined below

 

            <htmlb:textEdit id  = "TEST"

                            text     = "<%= G_COMM %>"

                            cols     = "230"

                            rows     = "8"

                            wrapping = "SOFT"

                            />

 

so this shows a text edit box with 8 rows visible. If user enters text beyond 8 rows, a scroll bar appears and first line moves upwards. Now I want to restrict this box only to 8 rows, so that user cannot enter beyond 8 rows and no scrollbar should appear. I checked one blog, which shows how to restict maximum number of characters which can be entered in textedit box. But I want to restrict it till particular rows.

 

Please let me know your valuable inputs to get it done.

 

Thanks,

Amol


Viewing all articles
Browse latest Browse all 237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>