TextBox does not display any text in silverlight - css

I am displaying the text in a textbox and sometimes it does not display the text at all.
The richtexteditor is saving the text to the database and whenever the richtexteditor saves the text with Typography manner then the text wont show up otherwise it does. I cant understand why is that. Its just an observation. i am not 100% sure thats the cause of the problem.

If the richtextbox saves it in the Typography manner then it wont display the text in the textbox if it is 4.x.x versions of the silverlight. If it is 5.x.x versions it displays just fine. I just upgraded the silverlight and it started working fine.

Related

How to highlight text on web pages using a keyboard

I need to take screenshots of a web page. I want to highlight certain areas of the page before taking the screenshot. I am visually impaired, so using the mouse is out of the question.
I generally use shift and the arrow keys to select text. While this works on web pages, the text is selected, but not highlighted. IE I know it is selected, but someone who will look at the screenshot won't be able to see it.
Q: is there a way of highlighting text on a web page using the keyboard?
I am using Windows 11 with NVDA as my screen reader.
This appears to be possible with Google Chrome if the accessibility option "Navigate pages with a text cursor" is enabled—also known as "caret browsing". Here is a Google Chrome help article about it: "Use a text cursor to navigate & select text".
The article states that this setting can be toggled by pressing F7, or by opening the "Customize and control Google Chrome" menu, opening "Settings", navigating to the "Advanced" tab, then selecting "Accessibility".
This mode allows you to use the arrow keys to move the text cursor around the page, similar to if you were editing a block of text. Text can be visually highlighted by navigating to the start of the text you want to highlight, holding the Shift key, and then arrowing to the end of the text.
I'm not sure how well this will work in conjunction with NVDA though.

FlashBuilder4.6/AIR Mobile TextInput Broken

I am creating a mobile app using FB4.6/AIR. I am running into several issues when I have TextInput fields in my view. If I have a TextField (StageText) that has text pre-populated in it (i.e. from a data object), when the view loads, the TextField will flash the text until it eventually stops and the text disappears. Upon selecting the TextField, the text will reappear. Obviously, this is not an ideal situation. So, after doing some research, I bypassed using the StageText by using the SkinClass - 'spark.skins.mobile.TextInputSkin'. This fixed the flashing text issue, however, now upon entering text in the TextField, after a certain point, the text seems to duplicate itself several times over, so that the the word, in this case an email address, becomes unrecognizable (i.e. John.Doe#MyEmail.com would become John.Doe#MyEmail.com#MyEmail.comJohn.Doe#My).
Obviously, I need to find a solution for one of these situations. Suggestions?
Thanks, in advance.

How to get rendered XHTML from a Wicket panel

Users of my Wicket application should be able to edit some of the panels' output (X)HTML. There will be a button or link on each panel that, when clicked, will get the rendered content and use/open an editor such as TinyMCE.
I think I want some sort of getRenderedXTML() method for the panel, but have no clue how to get the rendered output programmatically. How can I do this?
You can likely get the generated html just before it's sent to the browser, but this is a bad approach as reconnecting the edited html back the the generating fragments will be painful if not impossible.
Rather than actually trying to edit the dynamic markup, make the user-editable stuff part of the data. Show it in a Label and use setEscapeModelStrings(false) to allow the label to properly render the html fragment. On click of your link, replace that label with a textarea with tinymce behavior attached.
There is a some tinymce support in wicketstuff-core that can help with this, and this Wicket by Example article shows a bit of how to use it, though it may be a bit out-of-date, and references document locations no longer available.

How to implement paging in a flex spark text area

I am beginning to start implement a paging mechanism in my flex application and I am wondering where do I start off. Some examples that I have seen on internet work on plain text whereas I have the text in the text flow and I don't want to loose the formatting saved in the text flow. Any pointers will be helpful.
Thanks

Change behaviour of placeholder attribtute

The Placeholder Element which got introduced with HTML5 is great but sadly I really dislike its implementation, that when I click in a field the suggestion text is gone.
I'd like it to be different in the way that if empty it should show the placeholder text if it is focused or not. Basically always show the placeholder except if text is in the box.
I am using jQuery so any implementation which utalizes it would be okay to.

Resources