|
Hi,
Try to change:
<div style="width: 650px; word-wrap: break-word">
into:
<div style="width: 650px; word-wrap: normal">
Hope this helps.
|
|
|
|
|
Jassim Rahma wrote: <asp:TableCell HorizontalAlign="Left" ColumnSpan="2">
Is that inside an <asp:Table> tag? If so, it could be the table which is causing the text to wrap. If not, try removing the <asp:TableCell> tags.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
<b>I am often getting the access denied for root@localhost
and to correct that i set the password and tried again
But it shows the samething in PHP and MySQL
can any one Help me?
</b>
|
|
|
|
|
I could not able to make google +1 button for my website page, can anyone help me
|
|
|
|
|
|
Good day all
my name is abayomi am new to programming and i am saddled with the responsibility of writting and developing a web based virtual classroom that will have a presenter and a participant, a login in screen video communication a chat environment a blackboard.
Kindly assist me on how to get started on this the necessary equipment that i need and which ll be best programming language will be easy for me to use as a beginner.
It actually a project for my b.sc program and am really relying on you guys for a quick response.
Thanks
|
|
|
|
|
If you are new to programming then I would suggest the first thing you need to learn is the basics of Web based programs; http://www.asp.net/[^] would be a good place to start.
Use the best guess
|
|
|
|
|
Good day all - hope it finds you well! We are exploring the possibility of developing a web (IIS world) front end for a legacy application and are looking to understand the best platform / tools / languages / etc. in which to build said front end that collects and presents data to the user as well as pass / receive responses to a back-end DB and detached processes. Additionally it seems we will likely need to be able to potentially receive async data updates (status change for example) and post to the page the user is viewing.
Thanks in advance!
|
|
|
|
|
I am trying to get my code to check the “username” field and print an error message letting the user know that they left a field blank. Now before all I had was the below code of which it worked in part, in the sense that the below code was executed when the submit button was clicked on and when the page was refreshed.
if (isset($_POST['username'])) {
emptyField();
}
function emptyField()
{
$var1 = "">*Field missing entry...";
echo $var1;
}
To fix this I the added the below code, which now meant that the code only worked if the user clicked on the submit button and didn’t work if the page is refreshed. However I’ve also noticed that even when there is text in the “username” field and say the user got there password wrong (not proceeding to the next page), it simply cleared all fields and printed “*Field missing entry...*” Why is this and how do I sort this out…?
<?php
if(isset($_POST['submit']))
{
fieldChecker();
}
function fieldChecker(){
if (isset($_POST['username'])) {
emptyField();
}
}
function emptyField()
{
$var1 = "">*Field missing entry...";
echo $var1;
}
?>
|
|
|
|
|
Try..
if (empty($_POST['username'])) {
emptyField();
}
|
|
|
|
|
Thanks...That worked... ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
This code will help you please try:
if (empty($_POST['username'])) {
emptyField();
}
Regards,
David Kroj
|
|
|
|
|
Hi,
i have developed a web application in VS 2008 and developed crystal reports in it.
But,when i have opened the application in VS 2010, crystal reports are not working.
can anybody help me out...
Thanks..
|
|
|
|
|
|
|
In the following code snippet if I change the port number from 587 to any other (even to 465 as mentioned over the net) the mail sending attempts fail.
string from1 = "from_e-mail";
string to1 = "to_e-mail";
string subject = "Test";
const string password = "xxxxxxxx";
string body = "Hello World";
smtp.Host = "smtp.gmail.com";
smtp.Port = 587;
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = false;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Credentials = new NetworkCredential(from1, password);
smtp.Timeout = 20000000;
smtp.Send(from1, to1, subject, body);
Any Suggestion
|
|
|
|
|
The most important suggestion:
Tell us the error message!
|
|
|
|
|
The problem is that noting happens. I believe connection is not getting established.
|
|
|
|
|
Read the gmail help[^], where all is made clear.
Use the best guess
|
|
|
|
|
I am faceing below error while transferring records from one database to other using web application
"The remote server returned an unexpected response: (400) Bad Request"
This error not occuring continous when i start process i am inserting bulk of 500 records some times it get transfered but some time error occur . Please help Thank in advance
My web application is developed in VB.net 2008
Parag
modified 23-Apr-13 2:37am.
|
|
|
|
|
Sounds like connection timeout issue. Make sure that the connection is active and above for a good period so that your bulk records are easily transferred.
|
|
|
|
|
Hi friends,
I want to build web based app to display data in chart.
that data it will be csv file and then import to sql database and then process by asp .net with output chart display.
Anyone can help?or give me reference..
Thankyu.
|
|
|
|
|
You have two processes, don't complicate things by joining them together. Attack each problem separately. First, figure out a way to get your CSV into the database - should be fairly simple. Do you need users to upload the CSV through the web site or can you use BCP on the SQL Server to load it yourself? Answer questions like that and then you can start to tackle the CSV import problem.
Once you have the data in the database, or at least you are sure of the database schema, you can start to design your charting tool. I suggest using an existing charting library like one of these...
Google Charts[^]
Flotr2 Charts[^]
|
|
|
|
|
Basically I need this DHTML popup to show once per 12 hours for the visiting user. I can't seem to figure it out...
This is in the code for the pop:
<script type="text/javascript">
var dragapproved=false
var minrestore=0
var initialwidth,initialheight
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
function iecompattest(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function drag_drop(e){
if (ie5&&dragapproved&&event.button==1){
document.getElementById("dwindow").style.left=tempx+event.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+event.clientY-offsety+"px"
}
else if (ns6&&dragapproved){
document.getElementById("dwindow").style.left=tempx+e.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+e.clientY-offsety+"px"
}
}
function initializedrag(e){
offsetx=ie5? event.clientX : e.clientX
offsety=ie5? event.clientY : e.clientY
document.getElementById("dwindowcontent").style.display="none"
tempx=parseInt(document.getElementById("dwindow").style.left)
tempy=parseInt(document.getElementById("dwindow").style.top)
dragapproved=true
document.getElementById("dwindow").onmousemove=drag_drop
}
function loadwindow(url,width,height){
if (!ie5&&!ns6)
window.open(url,"","width=width,height=height,scrollbars=1")
else{
document.getElementById("dwindow").style.display=''
document.getElementById("dwindow").style.width=initialwidth=width+"px"
document.getElementById("dwindow").style.height=initialheight=height+"px"
document.getElementById("dwindow").style.left="30px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset*1+30+"px" : iecompattest().scrollTop*1+30+"px"
document.getElementById("cframe").src=url
}
}
function maximize(){
if (minrestore==0){
minrestore=1
document.getElementById("maxname").setAttribute("src","<TMPL_VAR site_url>/images/restore.gif")
document.getElementById("dwindow").style.width=ns6? window.innerWidth-20+"px" : iecompattest().clientWidth+"px"
document.getElementById("dwindow").style.height=ns6? window.innerHeight-20+"px" : iecompattest().clientHeight+"px"
}
else{
minrestore=0
document.getElementById("maxname").setAttribute("src","<TMPL_VAR site_url>/images/max.gif")
document.getElementById("dwindow").style.width=initialwidth
document.getElementById("dwindow").style.height=initialheight
}
document.getElementById("dwindow").style.left=ns6? window.pageXOffset+"px" : iecompattest().scrollLeft+"px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset+"px" : iecompattest().scrollTop+"px"
}
function closeit(){
document.getElementById("dwindow").style.display="none"
}
function stopdrag(){
dragapproved=false;
document.getElementById("dwindow").onmousemove=null;
document.getElementById("dwindowcontent").style.display=""
}
</script>
and this in the main body of the page
<SCRIPT LANGUAGE="JavaScript">
if (window != top) top.location.href = location.href;
</SCRIPT>
<div id="dwindow" style="position:absolute;background-color:#EBEBEB;cursor:hand;left:0px;top:0px;display:none" onMousedown="initializedrag(event)" onMouseup="stopdrag()" onSelectStart="return false">
<div align="right" style="background-color:navy"><font size="1" color="white">Loading ad....Please wait a few seconds or close the ad....</font><img src="<TMPL_VAR site_url>/images/close.gif" id="page_effect" onClick="closeit()"></div>
<div id="dwindowcontent" style="height:100%">
<iframe id="cframe" src="" width="100%" height="100%"></iframe>
</div>
</div>
<script>
if (ns6) window.onload=new Function('loadwindow("http://AdURLhere.com",900,900)')
else
loadwindow("http://AdURLhere.com",900,900)
</script>
<script type="text/javascript">
$(document).ready(function(){
$('#page_effect').fadeIn(80000);
});
</script>
Any help would be appreciated. thanks
|
|
|
|
|
I have created a elevator functionality [there are 2 floors and corresponding to each one , there is a checkbox. Depending upon which checkbox is checked, the elevator should move to that floor.
Only thing which i am not able to implement here is:
Make the checkbox check automatically and slowly fadeout to unchecked state when the orange elevator has reached that checkbox.
Here is the link to the markup and script: http://jsfiddle.net/hurricaneankit/qR4uJ/
|
|
|
|