|
Maybe I should configure something in the server??
Does anyone use something like that?
I thought it should be trivial to send a mail from a web application !!?
I would appreciate more help,
thanks,
|
|
|
|
|
lune12 wrote: thought it should be trivial to send a mail from a web application !!?
The way you're doing it, it is. Why don't you specify who to mail it to ? What does 'does not work' mean ? We're being left in the dark here, as to what the problem is.
If you think the server needs to be configured, you're obviously missing what your code does. A mailto: tag simply opens a new email on the client PC, the server has no idea what is going on, nor does it contribute to the process.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
Of course I specify to who I mail (to is a variable that hold a mail address)
And I think that the syntax is OK as it work fine when the application runs on the localhost, but when I run it from the server it doesn't (is just do nothing!).
Is my problem clear now?
Any Idea?
Do you have a working examle.
Thanks,
Levana
|
|
|
|
|
Oh - I see. Sorry, I am trying to find a problem, but there plainly isn't one.
Have you looked at the HTML of the page to make sure it's being rendered as expected ? Where does 'to' come from ? Again, putting it on the server, makes no difference to a mailto tag. Something must be mangling it, for example, if 'to' comes from a setting that has not been properly deployed.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello frnds,
i have face session Timeout problem.
This problem occurs when i redirecting from a page to another page.
i used session timeout = 20 in web.config
but still facing a problem much...
what can i do ??? can i use server.transfer() instead of Response.redirect()
any other suggesation...
Thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
koolprasad2003 wrote: This problem occurs when i redirecting from a page to another page.
Make sure both pages are in same domain. Also there many other setting for controlling session timeout. You need to make sure everything is correct.
|
|
|
|
|
What is the problem? Does the timeout occur when it shouldn't, or doesn't it occur when it should?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
... or does it occurr when it should?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
hi
I have a drop downlist with the titles of my documents. I cut the titles if their length is more than 25 but when I hover my mouse on the values of the drop down list, I want to display the full titles as tooltip(I dont know whats the exact name to say, I think its tooltip). for example: If I hover the mouse on links if we set the title of the link it displays the links with yellow box and title. Like that I want to display the titles with in the drop downlist.
Is it possible. How can this be done?
Any one give me Ideas!!
thanks
|
|
|
|
|
Set the tooltip property of control to the text you want to display.
Arun Singh
Noida.
|
|
|
|
|
Hi Arun
thanks for the reply. I set the tooltip property of the drop downlist to the text but in the front end its always showing me the last drop down list value in the tool tip. how can I get the tool tip for all of the values in the drop down list.
thanks
|
|
|
|
|
Hi all,
How to embed a external vbscript file in asp.net application.
Thanks in advance
Dana
|
|
|
|
|
the same way you do a javasript file, with a script tag. You shouldn't use vbscript tho, it means only IE can open your page. Plus, it sucks.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Protected Sub GridView1_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles GridView1.RowEditing
GridView1.EditIndex = e.NewEditIndex
fillgrid()
End Sub
hey with above code i am editing one complete row but i need only one particular column in selected row.. can any one help in this
|
|
|
|
|
Set the readonly property to true for the columns that you dont want to let the user edit
Alexei Rodriguez
|
|
|
|
|
Hi
I have the following code:
Button1.Attributes.Add("onmouseover","this.style.backgroundColor='#000000'");
Is it possible to make a div invisible by putting it in the above code, I cant seem to find the correct syntax.
I tried Div1.visible = false but it didnt work
thanks
|
|
|
|
|
this.style.display='none'
then
this.style.display='block' or 'inline' or whatever suits.
|
|
|
|
|
digital man wrote: this.style.display='none'
Do you mean Div1 instead of this ? this refers to the page instance, and it don't have a style property.
|
|
|
|
|
Sorry, indeed: typed it out too quickly for my own good.
|
|
|
|
|
.netman wrote: I tried Div1.visible = false but it didnt work
If Div1 is made to run at server, it should work. Alternatively try setting CSS display:none
|
|
|
|
|
Hi
i tried
Button1.Attributes.Add("onmouseover", "Div1.style.display='none'");
but when i hover over it shows a javascript error saying Div1 is undefined??
Ive got a div 1 in my aspx page and it runs at server
|
|
|
|
|
the other problem I have is that the div are invisble on the page load apart from one of them
when I try and make the other divs visible it shows the error I described in my previous post
|
|
|
|
|
.netman wrote: Button1.Attributes.Add("onmouseover", "Div1.style.display='none'");
Are you trying to hide div on button's mouse over ? Then you may try
Button1.Attributes.Add("onmouseover", "javascript:document.getElementById('div1').style.display = 'none'");
|
|
|
|
|
Ok thanks the code above worked, but how do I unhide a hidden div at the same time, ive tried the folloiwng but it says error object required:
Button1.Attributes.Add("onmouseover", "javascript:document.getElementById('div5').style.display = 'none';javascript:document.getElementById('Div2').style.display = 'inline';");
thanks!
|
|
|
|
|
Ok - You need to put all those in a JS function and call that function from the event. Something like
function ChangeDisplay(){
document.getElementById('div5').style.display = 'none';
document.getElementById('Div2').style.display = 'block';
}
Button1.Attributes.Add("onmouseover", "ChangeDisplay();");
|
|
|
|