Empty textbox in grid showing square brackets - html

We have a scenario wherein we have a editable gridview. Users enter data and submit. On submission we send the grid data as html in an email. The issue we are facing is that if a textbox is left empty it shows [ ] square brackets. These look very annoying. Kindly see screenshot the last bottom box is highlighted in red.
Kindly let know how we can make that square brackets gp away / donot show up.

Missed to update the post for the answer. This issue happens when we are developing Visual Web part in SharePoint. And the Column type is Multiple Lines of text with option set to 'Enhanced rich text (Rich text with pictures, tables, and hyperlinks)'. Set it to 'Plain Text' and the boxes will go away.

Related

Creating a text box with template text that does not disappear when user selects

I'm currently trying to add a new free form text box with preset values (i.e. Name: Age: etc.) that do not disappear when a user selects the box like placeholder text. So far, I've only found solutions for using default/placeholder values which is not what I want. Does anyone know if there is a good way to achieve this?

Repeat textbox on each page in a report

i have a report which contains a vertical text on the right side of the page. This text appears in the first page. But my customer wants that text appears in every single page of the report. How can i make that text appears in every single page of the report? I can't move that text to the header neither to the footer. I put a photo which can describe my wish. I want that '2.10-F38 Rev.6' appears in every page. It is in the body. Could anyone help me?
The only way I got around this issue was to create an image with the vertical text and add it as a "BackgroundImage" to the "Body" element...
It's a horrible solution at a technical level but if you think about it many companies buy their A4/Letter paper from printing services with the company header logo and details already printed... So it doesn't make me feel so bad.

show the large text to edit like the textarea

Featured on the cover of Business World as one of the ‘Ten Young Guns’ of the Indian marketing communications community (May, 2010)MBA from IIM, Calcutta .. We need a username and password protected client-login area, where they
can view and download files. Pls let me know your recommended placement
for this and the admin controls (add, upload, delete files).
I have this text which is coming from database , When the user click on the update , it will go to the next page show all the values in INPUT TYPE ="TEXT" field . now my problem is when the text is small , its good and easily visible but when the text is larger like the above example , its not visible like the textarea
So the user can see and edit large text but the textarea has not a feature to show the text and my whole editable text in the form
So any body can help me in this
You can make an <input> text field larger by using the size attribute, or specifying a width in CSS, but it will be confined to a single line, so you need to use a <textarea> to edit multiline content.
You can make the textarea larger using the rows and cols attributes: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
You may need some server side logic based on the length of the text to output the correct form element.

SSRS hide white space from empty textbox outside of tablix

I'm new to both SSRS and development in general, and can't seem to find the answer to my problem. The report itself is simple-- a stored procedure collects responses and I display them using Lookup expressions in textboxes. Some fields are not required, so some of the textboxes are empty in my report. I would like to remove the white space left by the empty textbox.
In retrospect, I wish I had used a table to format the page, but since I have a very large number textboxes with expressions, I can't easily refactor my work. I found solutions for tablixes (Trying to Get Rid of White Space in SSRS Report), but nothing for free-standing text boxes.
Is this possible?
If you right click on the textbox and navigate to 'Textbox Properties...' you can toggle the visibility of the textbox, and if it is hidden you wont see the white box. You could also enter expressions, like the one below for example will hide the textbox if there is no data in it.
=iif(isnothing(reportitems!Textbox1.Value),false,true)

Textbox cursor landing in the middle instead of beginning of line

I am making a page where I try to allow people to write about parks they know about. A problem I am having is that when a person tries to edit a park, the cursor in the text area ends up what seems to be 1 tab over from the beginning.
Here is an example:
http://www.comehike.com/outdoors/parks/park.php?park_id=447
On the left column, if click on "Write and share what you know about this topic" you will see that the cursor doesn't end up in the beginning of the text area.
Any idea why this is happening and how to fix it?
Thanks!!
get rid of the space between the textarea tags and that will solve that problem:
<textarea> </textarea>
<textarea></textarea>
There's obviously data (looks like 2 tabs) being output in the value of the textbox, or is stored in the database with the existing data.
Ah yes, it's between your textarea tags. Remove the tabs.