|
Is it giving any error?
himanshu
|
|
|
|
|
Uh, yeah...as I said above, the contents of the file data.txt are not displayed in the div with the id targetDiv. If by "giving error", you mean an error message of some sort, then you should probably go through some html docs first.
|
|
|
|
|
when I run this script I got an error like "unknown Object XMLHttpRequetObject" thats because of XMLHttpRequestObject is misspelled to XMLHttpRequetObject.
You are best person who knows about your problem.
-------------------------------------------------
More pain more gain
|
|
|
|
|
Yeah, thanks a lot. I just found out the dumb mistake myself
|
|
|
|
|
its easy if you debug scripts on IE.
You are best person who knows about your problem.
-------------------------------------------------
More pain more gain
|
|
|
|
|
Oh, thanks but I use konqueror, and now using html validators to debug scripts.
|
|
|
|
|
var XMLHttpRequestObject = false;
if(window.XMLHttpRequest)
{
XMLHttpRequestObject = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP");
}
function getData(dataSource, divID)
{
if(XMLHttpRequestObject)
{
var obj = document.getElementById(divID);
XMLHttpRequestObject.open("GET", dataSource);
XMLHttpRequestObject.onreadystatechange = function()
{
if(XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200)
{
obj.innerHTML = XMLHttpRequestObject.responseText;
}
}
XMLHttpRequestObject.send(null); Problem is here spell it properly now working fine
}
}
sabarimd
|
|
|
|
|
Hi,
I have return a client programe to invoke a method from WEB service, The problem is i am unable to bypass my internet proxy as the SOAP URL is being hit from the code.
Security previlage exception is thrown, Kindly assist in resolving the below error.
Regards
Hussain
|
|
|
|
|
i have a imagebutton, when someone clicks on it i want the image to get bigger, (i sorted this code) and open up in a image control can someone give me a clue how to do this? thanks.
|
|
|
|
|
Given that this is not the ASP.NET forum, we have no idea what you're using to write your website, as well as not really being sure what you're asking. What sort of 'image control' ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
i am using c# with visual studio 2005
|
|
|
|
|
Just set the image path to a different image on the click event.
There is no foolish question, there is no final answer...
|
|
|
|
|
Hello!
I've been searching around for information on using asp.net to send an email from an html website, containing the contents of a form among other things. So far all I've found is outdated examples and tutorials that I haven't had any luck with. Unfortunately I don't know asp.net, so can anyone point me in the right direction? I'm at a loss.
Thanks for any help/advice you can provide!
|
|
|
|
|
Lodeclaw wrote: Unfortunately I don't know asp.net, so can anyone point me in the right direction? I'm at a loss.
What server side web development platform do you have experience with?
|
|
|
|
|
Sadly, none. I've been learning as I go, so it's a process of bumbling through each step until I get the result I'm looking for. So far I've only been working in html, xml, and css in terms of web dev. The client I'm doing this for doesn't seem to be using much of anything server-side, so I'm trying to build this functionality from nothing.
|
|
|
|
|
Well you might want to look for some decent ASP.NET tutorials. There could be some introductory articles here on CodeProject as well.
|
|
|
|
|
I guess I probably should start at the beginning and get some asp basics under my belt. Haha. Thanks Mike.
|
|
|
|
|
You can use a MailAddress object to deal with the from and to email addresses. Then construct a MailMessage object where the body is a string as either plain text or an html document. Once you have those use an SmtpClient object to fire off the email. Set the Host and Port properties on the SmtpClient object and you should be gtg.
pseudo code:
message = new MailMessage
smtp = new SmtpClient
smtp.Send(message)
Todd Smith
|
|
|
|
|
how to implement internet clouds on a web page. Please provide with example and code in C#
|
|
|
|
|
Is Google blacklisted in your region?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Hello, I am Silvia Terzi and I am quite new in asp .net. I have a very contingent and, at least I hope, banal problem. In my website I've built a login page where I give the possibility to the user, to choose the database he/she wants to enter, considering that I have 4 db (oracle) structurally identical but containing different datas. Inside the site then use various objects, like gridview and combobox, connected to db through SqlDatrasource. I've been able to do this thing and it seemed to work, but I have realized, that the change of connection string, instead of being only for session user, seems to work to global level. So, when an user changes connectionstring entering in the site, also changes connectionstring of the other users connected to the site from other computers. What I wrong?? I simply change the ConnectionString of the sqldatasource, but what's missing? Thank you to everyone who wants to help me.
Regards, Silvia Terzi
|
|
|
|
|
Use Session Variable to store the Connection String. It is limited to single user.
Session["VarName"] = <connectionString>;
string strCon = Session["VarName"].ToString();
|
|
|
|
|
Thank you very much, it works. There is only one problem; if I open two different pages of internet in my computer, it doesn't work. I know that if I open the page with "New Session" it works, but i'd like to do it only opening a new page of internet. Any idea?
Thanks,
Silvia
|
|
|
|
|
can u tell how connect to database in asp.net using create userwizard & login controls?
|
|
|
|
|
First, you should ask to Google.
There is no foolish question, there is no final answer...
|
|
|
|