Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:775428
More Search Options
RSS Available
Matching Posts
Re: LinkButton: How to avoid postback upon click
The solution works well in IE but fails in Firefox.... here is the code you need to have it work in firefox too <asp:LinkButton Text="submit" ID="lbSubmit" OnClick="Submit" OnClientClick="javascript:Validate(event);" /> function Validate(e) { if(someCondition) { // FOR IE if (window.event) { event.returnValue = false; event.cancel = true; } // FOR FF else { e.preventDefault(); } } } Hope this helps Tajinder Sarao
Posted to
Web Forms
(Forum)
by
tssarao
on 6/24/2009
Re: HOw i can send mail at 12:00 pm of every day in asp.net application ?
Thanks
Posted to
Time Tracker Starter Kit
(Forum)
by
tssarao
on 5/29/2009
Re: HOw i can send mail at 12:00 pm of every day in asp.net application ?
Your solution works well when you can use SQL Server ofcourse. I offered a pure .Net solution. Not only sending emails, threading solution can be used to implement other behind the scene processes like cleaning cache, dealing with filesystem etc. Thanks for the SQL Server emailing solution though. Regards Tajinder Sarao
Posted to
Time Tracker Starter Kit
(Forum)
by
tssarao
on 5/29/2009
Re: HOw i can send mail at 12:00 pm of every day in asp.net application ?
You can start a thread which handles sending the emails. The thread can be started when the application starts. Use Application_Start function in Global.asax to do so. Here is what your code will look like .. its not tested but will give you a fair idea of what I am talking about. public System.Threading.Thread emailSender = null; protected void Application_Start(object sender, EventArgs e) { emailSender = new System.Threading.Thread( new System.Threading.ThreadStart(RunEmailSender)); emailSender
Posted to
Time Tracker Starter Kit
(Forum)
by
tssarao
on 5/29/2009
Page 1 of 1 (4 items)
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
ASP.NET:
Bytes by MSDN: Brad Abrams Interview with Billy Hollis: Silverlight 4, RIA Services and VS2010
Mix Online:
Pictures or it Didn't Happen
Channel 9:
Reactive Extensions API in depth: even more Zip
TechNet Edge:
SDL For Agile
Mix Online:
Test Lab Note
Channel 9:
Enabling Help in the Visual Studio 2010 Shell
Channel 9:
Office Casual - Smart Art
WindowsClient:
Prism and MEF
IIS.NET:
Overcoming the Challenges Enterprises Face with Streaming Video
Silverlight:
MEF, Silverlight and the HVP
TechNet Edge:
Client and Cloud Security
TechNet Edge:
Client and Cloud Security
Channel 9:
Building on Azure: Persistent Systems
Channel 9:
Building on Azure: Persistent Systems
TechNet Edge:
AD RMS Certificate Hierarchy and the Protection Process
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online