Questions tagged [emptydatatext]
29 questions
0
votes
1 answer
Getting empty answer Mongodb
Hi there im having some issues with MongoDb i have a CRUD and this is the code im using
First the POJO:
@Data
@Document(collection = "Informacion")
public class Informacion {
//Declaration code
public Informacion(Pais pais, Date fechaCreacion,…

Bryan Saltos
- 63
- 2
- 8
0
votes
1 answer
WPFDataGrid behaves strangely with DataGridTemplateColumn sorting after editing the cell content
I am facing a problem with WPFDataGrid. I have bound my DataGrid to XML data. I am using DataGridTemplateColumn for all the columns.
After the initial data is loaded everything(like sorting, etc) works fine. Then once I edit some cell say a TextBox…

Gurucharan Balakuntla Maheshku
- 2,399
- 9
- 43
- 76
0
votes
2 answers
How do I get Zend Framework 2 to allow empty input
I want to allow empty input in some of the fields on my form. My form class is in one file and its filter is in another. The filter looks like the following
class ReportFilter extends InputFilter
{
public function __construct()
{
…

Roxanne
- 73
- 1
- 8
0
votes
0 answers
How to force the user no to leave the JText empty
I'm trying to practice a little with Java, and creating something like a calculator for forming verbs in Hebrew.
My Exception doesn't work , doesn't matter what I add there, I want to have error message if the first button was pressed and the…

Aboelmagd Saad Aboelmagd
- 53
- 1
- 6
0
votes
1 answer
php form send empty data online but works fine on localhost
i got some forms in php so i can upload data into a mysql database, i already do the trials on a localhost server with xampp, but when i upload my files into my host ftp the forms doesnt work,so, i was thinking it has something to do with the fact…

Crio
- 5
- 1
- 6
0
votes
1 answer
How to Display checkbox results into a textfield and empty area using javascript in html?
I want to display what has been clicked in the empty text box shown above and the empty field as well. I have successfully shown them using an alert message as the following:
function Chosen() {
var message = ""
if…

user2751035
- 93
- 1
- 3
- 12
0
votes
2 answers
EmptyDataText and EmptyDataTemplate in asp.net
I have this code on a gridview

Albert Laure
- 1,702
- 5
- 20
- 49
0
votes
1 answer
Delete vacuum/empty line in text.txt with PHP
I try to delete the vacuum line.
My script, search a line, delete her, but it's remains a vacuum line.
hello
dude
world
I did this script :
$chaine="dude";
$file=$filename;
$texte = file_get_contents($file);
$texte = str_replace($chaine…

mpgn
- 7,121
- 9
- 67
- 100
0
votes
3 answers
Gridview - align centre the tag 'EmptyDataText' & so it's not default left of page
I have a gridview control in my c# program. Basically someone enters an email address and the data is then shown in the gridview but if no data could be found with the email address, a message is displayed using the EmptyDataText="no data available"…

Mike
- 179
- 1
- 5
- 11
0
votes
4 answers
'EmptyDataText' tag in GridView wants to be shown only if data is not found
I have the following Gridview (which works) and an 'EmptyDataText' tag that should show a message on the screen if the data could not be found from the database after clicking the submit button. The problem is, the message 'no data found' is…

Mike
- 179
- 1
- 5
- 11
0
votes
2 answers
Gridview's 'EmptyDataRowStyle' - unable to align center
I'm trying to align some text to the center of the page rather than the default left but can't seem to do this using the 'EmptyDataRowStyle' tag.
I have an EmptyDataText="No data" tag in my gridview which works. I have changed the style at the…

Mike
- 179
- 1
- 5
- 11
0
votes
1 answer
Unable to get Alert Pop-Up on IE...Works fine in Firefox,Chrome etc.?
I am trying to get pop-up block when there is no text/blank space. It is working fine in Firefox, Chrome &Safari.
Please check below code in my JavaScript file-:
function submitQuestion(URL,docId,errorMessage)
{
var question =…

Prat
- 519
- 5
- 16
- 33
0
votes
3 answers
How to detect that DetailsView displays not a data but EmptyDataText
I have a DetailsView and few buttons on my page.
So I want to hide them if DetailsView displays not a data but just a value if EmptyDataText property.
How can I do that?
I found only one way - view.Rows[0].Cells.Count == 1 because if the data is…

abatishchev
- 98,240
- 88
- 296
- 433
-1
votes
2 answers
Count lines in multiple csv files, skip blank lines
I need to get the length of csv files in ('/dir'/) excluding empty rows.
I tried this:
import os, csv, itertools, glob
#To filer the empty lines
def filterfalse(predicate, iterable):
# filterfalse(lambda x: x%2, range(10)) --> 0 2 4 6 8
if…

user2278505
- 57
- 7