|
pending where ? You mean if it's sitting in someone's outbox and has not been sent ? Where is the mail, and how do you intend to do this with a web app ? Is the web app running on the same server as the mail server ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
It is pending in Someone's Inbox and he didn't open it. Yes, it is a web application and i really dont know how to go at it. Yes, both application and mail server are on the same server.
Thank u
|
|
|
|
|
Then you need to work out how to connect to the mail server ( exchange ? ). What does the app do ? I mean, if you send an admin email automatically, what's the UI do ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
There is nothing to do with UI. Only a mail will be sent to the User Saying that he got a mail before 3 days and this should be automatic. I think this will happen in the background.
Thank you
|
|
|
|
|
OK, so the question has nothing to do with ASP.NET. You probably want to write a windows service that does this. The steps would be
1 - find out about any API that your mail server offers
2 - write the code to look for messages
3 - ask in the right forum when you're stuck.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Does anybody know where I can find a command line utility for compressing javascript files? I want to use some sort of tool to compress javascript files when they are deployed via a NAnt script.
Thanks, all.
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA www.defaultn.com
|
|
|
|
|
Dear Friends,
How to clear a session,when F5 or refresh button is clicked..?
The Scenario is as follows..
I 've a session,which maintains an user's name and password..
when a button is clicked, these details are fetched from a session and filled in the appropriate text boxes..Now
When button is clicked, though the page gets submitted,session keeps the value.
Now when user clicks on F5, or clicks on refresh button from IE6, the session should be cleared..
Is it possible..?
Muthu
|
|
|
|
|
Session variables are supposed to keep their values. I believe that you are just using the wrong tool. Where do you get the user name and password from in the first place, and why do you think that you need to store them in session variables?
---
single minded; short sighted; long gone;
|
|
|
|
|
Actually speaking, I just said an example with username and password. I just want to know,whether i can retain the values, all the times,except while pressing F5.
I want to know this,because I think this logic could help me in a mini project that I am doing. As I am facing such a need, I posted this thread.
Thanks Guffa..
Muthu
|
|
|
|
|
John.G wrote: I just want to know,whether i can retain the values, all the times,except while pressing F5.
No, you can't. If you want to do something different when the page is reloaded, you have to keep track of the requests so that you can detect if a request is repeated.
---
single minded; short sighted; long gone;
|
|
|
|
|
Dear Friends,
Could any of u tell me, how to restrict copying and pasting of text into an Number restricted field.?
Say, I have a text box which should accept only Amount..
So,I have restricted text entry to that text box,by javascript.
But,a block of text is copied and pasted into that field.
Thus tell me how I could avoid this?
Thanks a lot.
Muthu
|
|
|
|
|
I don't think this can be done easily. What you could do though is handle the JavaScript onchange event for your INPUT control and prevent the user from navigating away from the control if it contains non-numeric input. Follow this link[^] for an example of a function that checks whether a string is numeric. If the string is not numeric, cancel the onchange event.
Paul Marfleet
|
|
|
|
|
Here is the situation
I have a web page where I use the following code for prepopulate dates into two text boxes(in Page_Load event),
If Not IsPostBack Then
Me.DateFromTextBox.Text = System.DateTime.Now.AddDays(-15).ToShortDateString
Me.DateToTextBox.Text = System.DateTime.Now.ToShortDateString
End If
Now I have a date picker icon next to each text box and the user selects the date by clicking the icon(another aspx page opens, usual java script date picker stuff),
<asp:textbox autopostback="true" id="DateFromTextBox" width="90" readonly="true" runat="server"></asp:textbox><a href="javascript:;" onclick="calendarPicker('DateFromTextBox');" title="Pick Date from Calendar"> <img alt="Pick" src="calendar_icon.png" width="20" height="20" style="border-width:thin"/></a>
<script language="javascript" type="text/javascript">
function calendarPicker(strField)
{
window.open('DatePicker.aspx?field=' + strField, 'calendarPopup', 'width=250,height=250,resizable=no');
}
</script>
Now I am not able to capture these values selected using datepicker, If the user enters the date without selecting from datpicker I am able to capture the values properly,
No matter what I do I am not able to capture the dates picked using date picker, am I missing anything here
Thanks in advance, Appreciate any help
Sri
|
|
|
|
|
I don't know how to get values from another page.
However, instead of another page, you might want to check out AJAX calendar extender at www.asp.net/ajax.
I just added it to my page, and it works well.
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
|
|
|
|
|
Try it without the readonly="true" property of the textboxes and see if that works...
|
|
|
|
|
Hi,
Which version are you using? If you are using .net 2.0 then probably you may use CalenderControl which comes with .Net. That serves your purpose I feel. But the thing is the control do not pops up in a different window, instead it gets visible in the same page. Its really good control with lot of readymade functionality.
hope this works for you.
Regards,
Rakesh
Rakesh
|
|
|
|
|
HI,
we have a web service and our application(.net 1.1, C#, oracle) consumes this web service. By default the security(authentication) is given anonymous, now as for security reasons we want to remove this option.
So lets say we use Integrated Windows Authentication. Doing so we would get Access Denied 401 error. On searching though it is found that we could pass few credentials and access the web service (this works fine)
What are the cons in providing user credentials in the code?
What are the steps to be followed to make a web service secure and accessible?
Is there a way that a web service can be accessed after removing anonymous access and not providing any credentials in the code?
Thanks a ton!
gauthee
|
|
|
|
|
|
|
I've heard this is a good book too - I will check it out, thank you!
Coleen
NV DMV ISS 3
|
|
|
|
|
am not getting the popup window when am clicking an image button.the code as follows
am getting image in this button,but when clicking it is not going to the given page.
<asp:imagebutton id="imgPhoto" runat="server" height="100px" imageurl="<%# FormatUrl(DataBinder.Eval(Container, "DataItem.MEMBERID")) %>" postbackurl="javascript:window.showModalDialog('~/MemberDetails.aspx','','help:no');">
|
|
|
|
|
Kurian_Kurian wrote: the code as follows
I don't see any code. If you are posting markup code, use the "Ignore HTML" option.
---
single minded; short sighted; long gone;
|
|
|
|
|
in web page i create word document. i referenced to MSWord.olb file. But there is no Bin directory, there is no any delegate as it is automaticaly created when you referance to dll file.
my site works on local machine, it creates word documants.
but at server, i got error :S
how could i solvE?
|
|
|
|
|
Hello,
I'm thinking about two solutions:
1. Try to call MS Word using late binding.
2. Ty to use Aspose.Word library
|
|
|
|
|
hi
i m devloping a web application
and i m passing a parameter i.e empid through query i.e command text
i m getting error that parameter not found
pankaj sahni
|
|
|
|