|
Does your SMPT Server configure properly ?
|
|
|
|
|
I assume you're attempting to relay through your own GMail account here......that'll never work...Gmail / Hotmail / Yahoo and most of the free ones don't permit relaying (to stop spammers)...
You'll need to change the SMTP details (SMTPServer etc) to one that permits relaying.
C# has already designed away most of the tedium of C++.
|
|
|
|
|
I am designing web application in which i want to find Control's ID and TEXT from .ASPX file and I am also using master page.
Is there any method exist to find ID and TEXT in Code Behind(In C#)? Please suggest me any solution.
|
|
|
|
|
Page.FindControl(id)
Parwej Ahamad
|
|
|
|
|
Get a collection which contains all the controls in the page by
Page.Controls
and ioterate it one by one .you'll get everything about the controls
Cheers!!
Brij
|
|
|
|
|
Hi friends,
M working on master pages. i have a content page in which i have a htmlinputhidden control.
m assigning a value to hidden control everytime page post backs.
i can able to access value till 2 post backs after that m unable to access hidden value.
pls help me where m going wrong.
Thanks inadvance.
Soori
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
How you are accessing this control ? Could you post here that block of code only.
Parwej Ahamad
|
|
|
|
|
hi parwej,
I am accessing it like
this.Hdncontent.value
i can see this value while assigning but m unable to get after post back.
soori
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
Hdncontent Server side control Or Client side control ?
Parwej Ahamad
|
|
|
|
|
it is an htmlinputhidden control.
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
|
where is htmlinputhidden ? masterpage or content page?
Cheers!!
Brij
|
|
|
|
|
htmlinputhidden control is in content page.
thank you
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
Plz check the viewsource and use javascript alert to trace it. and one more thing it's always better to use asphidden control.
Cheers!!
Brij
|
|
|
|
|
m not at all using javascript here.
My requirement is i hav to show some value on the content page which will be changed in every postback.
first time page loads i will do some processing and store a value in hidden field.
and then click on some button this time i will get the value from hidden field and do some processing and store some value again.
i can see the value while assigning and in view source too bt i cant see the value after postback.
m accessing it like this.hidden1.value
thanks
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
hi all
i am calling a javascript function after postback. i have a save button on my page. whick user click on it..it saves the data and in the end i called a javascript function. calling javascript function code is below:
dim Str as string = "<script languange='javascipt'>functionName();</script>"
if (Not Page.IsStartUpScriptregister) then
Page.RegisterStartUpScript("clientscript",str)
end if
Now the problem is sometimes javascript not executes. i dont know why??
cud anyone have idea why sometimes function is not called
Thanks
Er. Jagwinder Singh
|
|
|
|
|
Register this script on page load.
Because when you are click on button at that point your script not being registered but when you will click next time then it would be work.
Parwej Ahamad
|
|
|
|
|
thanks for reply
but i dint get u. should i registered the script on page load. then how to call the function after registering the script
Er. Jagwinder Singh
|
|
|
|
|
Yes Below block of code in Page load event
dim Str as string = "<script languange='javascipt'>functionName();</script>"
if (Not Page.IsStartUpScriptregister) then
Page.RegisterStartUpScript("clientscript",str)
end if
Parwej Ahamad
|
|
|
|
|
whether you are using AJAX on the page?
Cheers!!
Brij
|
|
|
|
|
hi all
i have some variables on server side in a java script. when i change the value of these variables at
server side. then how to reflact these variables value at client side after some interval.
Thanks in advance
|
|
|
|
|
Are you not been able to understand the simple language that "don't post the same question again and again".
Apurva Kaushal
|
|
|
|
|
what is it.same qs third time.I replied you in last one.
Cheers!!
Brij
|
|
|
|
|
Are you just plain stupid ? You do NOT have server side variables in javascript. You need to explain what you do have, but on the available evidence, it seems more likely you need to repeat the class you're taking, or quit the job you have taken, you are in over your head, and not able to take any sort of advice.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi All, I have a asp.net web application and I need to write in a file which is located in the other place where this web application is not configured. The problem is that there is no any permission to write in the file . Would you please let me know how can I achieve this.
Pankaj
|
|
|
|