Textbox dropdown bubble when text goes over visual space?

406 views Asked by At

I looking for a way to add what would look like a drop down box when the user reaches the end of the visible space of a textbox. the drop down would then show what they have already typed pulse what there still typing tell they hit enter. Any ideas? The bigger pitcher is to add whatever method we come up with to a GridViewTextbox where space is limited in a row however the data they enter can be much longer then the box. The idea is to keep user from getting lost in what there typing and can provide easy review and edit. something like this but pops up when you enters then gos back on leave but just be for text as 'enter' will move the user to the next control aka enter as tab

It won't let me post the image I was talking about so use this like as a refrence .NET 2010 custom control, multiline String property to be edited in the designer

2

There are 2 answers

3
Athena On

You could also use a ToolTip control to show a popup message to the user. I've read your question three times now and I'm still not sure entirely what it is you're asking.

2
user2526236 On

In the ASP.NET there is control which suits the need.I hope it helps It is

    <asp:AutoCompleteExtender
                                    runat="server" 
                                    BehaviorID="AutoCompleteEx"
                                    ID="autoComplete1" 
                                    TargetControlID="targetID"
                                    ServicePath="Give the Path of the web service"
                                    ServiceMethod="Name of the ID "
                                    MinimumPrefixLength="1" 
                                    CompletionInterval="500"
                                    EnableCaching="true"
                                    CompletionSetCount="10"
                                    DelimiterCharacters=";, :"
                                    ShowOnlyCurrentWordInCompletionListItem="true"
       />