|
use Response.Cache.SetCacheability(HttpCacheability.NoCache)
|
|
|
|
|
|
mukesh.mr03 wrote: protected void LogOut_Click(object sender, EventArgs e)
{
Session["sessionId"] = null;
Response.Redirect("Login.aspx");
}
use
Session.Abandon while logout
|
|
|
|
|
|
This link Redirect to a wrong page
can u kindly rechack the link
Thanks in advance
|
|
|
|
|
this is the link:
http://www.codeproject.com/useritems/go_back_refresh_pages.asp
enjoy and hope it helps!
Just Relax And Keep It Simple.
|
|
|
|
|
Hi,
i want to create one option for importa nd export outlook contacts from my asp.net web page.One of the way to retrive the contacts is,
MyOutlook.Application oApp = new MyOutlook.Application();
oApp.AnswerWizard.ClearFileList();
oApp.ActiveWindow();
MyOutlook.MAPIFolder oContacts = (MyOutlook.MAPIFolder)oApp.Application.ActiveExplorer().Session.GetDefaultFolder(MyOutlook.OlDefaultFolders.olFolderContacts);
foreach (MyOutlook.ContactItem oContact in oContacts.Items)
{
Response.Write(oContact.Email1DisplayName);
}
How should i export the data to outlook.
Pls help me if u know anything related to this.
Thanks.
GIRISH
|
|
|
|
|
|
Hi,
thanks for yr replu but I want to do it in asp.net,not in windows application.
|
|
|
|
|
The core code in this article for reading the data from Outlook isn't platform-specific. You can use it in a Windows or ASP.NET application. Obviously you will have to write your own front-end, but this is trivial.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
-Hi All,
-I need to callculate an age, Which is entered in a text box.
"This thing I need to do without postback the page."
-This thng I can make with postback the page but I need it done on the spot when entered a date to a perticular text box and the next moment the Age should be calculated and entered in the another text box.
-So something like javascript or anythig that can do so....
Please help.
-Thnks ;>
Believe Yourself :->
|
|
|
|
|
|
Thnks for soln.
But it is not exact that I want, it was not enough.
I just want only it shows Years.
And I have For mate like
DD/MM/YYYY
So it shold shows only years.
Believe Yourself :->
|
|
|
|
|
Thnks for soln. SABhatti
But it is not exact that I want, it was not enough.
I just want only it shows Years.
And I have For mate like
DD/MM/YYYY
So it should shows only years.
Believe Yourself :->
|
|
|
|
|
Look what happened when I searched Google[^] for this topic. Lots of results. Did you try this?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Thanks
Paul
That help me...
Actually What makes the diffrence in your search and my search is : "Keyword"
i was't getting the links that u have posted me.
Anyway my work is finished
Thanks
Be tolarable
Believe Yourself :->
|
|
|
|
|
try this code
var date1="07/23/1985";
var current=new Date();
var entered=new Date(date1);
var one_year=1000*60*60*24*365;
var no_of_days=Math.ceil((current.getTime()-entered.getTime())/(one_year));
alert("You are "+no_of_days+" Years old");
you can write the code inside a function and pass the date as a string.
When you fail to plan, you are planning to fail.
|
|
|
|
|
Hi all,
I am using aspnet 2.0 with C#.NET as language. Can any on pls help me out generating an init event . I saw some articles which say directly write a n event in code behind as
protected override void Page_OnInit()
{
....
....
}
but it gives an error Error DBControls.Page_Init()': no suitable method found to override..
what might be the problem?
|
|
|
|
|
|
Thanks for ur reply..
I found that the link you provided explains init event for ASP.NET 1.1. I am familiar with it. I m searching for ASP.NET 2.0.
|
|
|
|
|
try this
<br />
protected override void OnInit(EventArgs e)<br />
{<br />
base.OnInit(e);<br />
}<br />
also check this article
-----
|
|
|
|
|
Hello friends,
Please help me.
I want to play a video file resided in my local computer in ASP.NET page.
please tell me the code.
I used <embed src.....="" /> but it is not working.
Bye..
Regards,
Bharath
Bharath
|
|
|
|
|
|
Try this one
<br />
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" runat="server" showstatusbar="true" enablecontextmenu="false" autostart="true" width="320" height="240" loop="true" src="Video/happybirthday.wmv" />
|
|
|
|
|
I have store the images in a folder while do submit. Now i have retrive those image from that folder to the new page.
pls help me...
krishna
|
|
|
|