|
Yes you can pass the particular aspx pagenmae inside the window.print() function.
But be careful in using the javascript. did u use the onblur function in your javascript.
Regards,
Satips.
|
|
|
|
|
Thanks for ur reply dude. but i did'nt use that onblur function. can u please tell me what's the purpose of that function and why do we use it?
Regards
Vijay.
|
|
|
|
|
how to take (postgres or orther database) Database backup,restore using asp.net codebehind(C#.net coding) save to client.
|
|
|
|
|
hi friends,
i have a problem, like when i redirects from http to https from my current page to my other page, then my request is going into loop i am not able to reach at redirected page.
i have just replace "http" to "https" and reform the url and redirected to that https url.
can anyone please help me.
Chirag Patel
|
|
|
|
|
HI,
Can you tell us how do u redirect? I mean using javascript or in C# code.
Please paste your code here if you can.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hi i have to create a MSI (setup) project that install a VPN package during installation it should not allow the user to select the path for saving it. how to do this in .net framework. ples help me
|
|
|
|
|
Hi Gurus,
Can any body send me the code of sending Mail through ASP.NET
and wht are the requirements for sending a mail. Which Namespace we should import.
Using System.Net.Mail Or
Using System.Web.Mail
Can any one help me out of this Plzzzzzzzz.
Plz send me the code
Expecting an Early and favourable Reply
Thanks in Advance
with thanks and regards,
kaushik pulpa
|
|
|
|
|
|
Use the namespace System.Net.Mail,System.Net.Mail.SmtpClient
There are lot of examples SMTP[^]in CP itself.
This article will help you in creating the SMTP.
Regards,
Satips.
|
|
|
|
|
Hi,
using System.Net.Mail;
static string HostName = System.Net.Dns.GetHostName();
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();
message.To.Add("mrk_hari@yahoo.com");
message.Subject = "This is the Subject line";
message.From = new System.Net.Mail.MailAddress("shkuricheti@gmail.com");
message.Body = "This is the message body";
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient(HostName);
smtp.Send(message);
Sandeep Kumar.V
|
|
|
|
|
the reply from sandeep works fine
|
|
|
|
|
here is that what you are looking for? Sometimes links are good, but thats my biggest problem with alot of people on CodeProject, most of us are smart enough to google, and if I come here, its because chances are I didnt understand what they were explaining out there. It helps to see real life code, so here is an example for you from one of my projects.
private void SendEmail()<br />
{<br />
try<br />
{<br />
MailMessage newMail = new MailMessage();<br />
<br />
newMail.From="e-mail@e-mail.com";<br />
<br />
<br />
newMail.From="e-mail@e-mail.com";<br />
newMail.To=lblEmail.Text;<br />
newMail.Subject="Your TCAIMS Password";<br />
newMail.Body="Your password is "+lblPassword.Text+".";<br />
SmtpMail.SmtpServer="SMTP IP ADDRESS HERE";<br />
SmtpMail.Send(newMail);<br />
<br />
<br />
<br />
newMail = new MailMessage();<br />
newMail.From="e-mail@e-mail.com";<br />
newMail.To=lblEmail.Text;<br />
newMail.Subject="Your User ID";<br />
newMail.Body="Your User ID is "+lblUserID.Text+".";<br />
SmtpMail.SmtpServer="SMTP SERVER IP";<br />
SmtpMail.Send(newMail);<br />
<br />
}<br />
catch(Exception err)<br />
{<br />
string s = err.Message;<br />
HandleErrors(s);<br />
}<br />
<br />
}
|
|
|
|
|
My name is Jatiner and I work for Microsoft on the TechEd event. I generally read IT blogs to keep up with what is going on in the industry and decided to jump on in with a little plug for TechEd 2007 (June 4 – 8). This year we’ve dedicated 50% of the event content to developer specific tools with deep technical training that covers Visual Studio® 2005, Windows Vista™ development and the .NET Framework. You can also get in-depth information on building software using Visual C++®, Visual Basic® and Visual C#®. The incredible amount of information you can learn at TechEd is awesome but it is also an incredible place to network and let loose a little. The event is in Orlando, FL this year so the attendee party is at Universal Studios Islands of Adventure and the place is reserved for TechEd attendees only! Trust me, these parties are a blast. If you decide to go you should register now before it sells out like it did last year…we are also offering a bit of an incentive, all registrations before May 11th are entered to win either 1 of 5 Xbox 360 Elites (killer graphics) or 1 of 5 Amex gift cards (Disney ain’t cheap!) www.microsoft.com/teched
Jatinder Singh
|
|
|
|
|
|
You can post this request in the lounge section. This thread is for programming questions only. Cheers
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
I have a GridView. In which I have a template column
AppName
How can I pass the value of column to another page and store in querystring
seema
|
|
|
|
|
Better use sessions.
Session["TemplateColumn"]=GridView.Columns[index];
Regards,
Arun Kumar.A
|
|
|
|
|
hi
i have some hyperlinks that show news title, i want when user click on hyperlink redirect to another page and pass some values to that page, but how to do ?
thanks
|
|
|
|
|
Passing variables between pages using QueryString[^] Does it help?
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
I am inserting data into the database using SqlDataSource Control, but i can't choose more than one table "when clicking on the Query Builder". What should i do to insert data into more than one table.
Thanks for ur help. Please I am a new developer with a little experience so if u have the solution send it to me with little details
yasso
|
|
|
|
|
If you are set on using a SqlDataSource, you can build a view in your database that joins the tables so that the SqlDataSource can then use that view for your control.
Beyond that, I would recommend you walk through a tutorial on using various data sources.
|
|
|
|
|
Hello, Some of you probably have seen the new version of hotmail.com i think it's "live". I am wondering how can I create the same effect as we click on expand the main panel on the screen takes the entire screen. If we click on the button again the panel and it's elements comesback to its default states.
Can someone direct me on the right path or can tell me some links so i can study.
Thanks
|
|
|
|
|
by using placeholders
mareers
|
|
|
|
|
My web page has an image control with an image url defined. The control seems to resize the picture to make it fit inside its boundaries. How can I turn off the image resizing so that it displays the picture actual size while clipping any part of the image that does not fit inside its boundaries? I was trying to use the Bitmap class to accomplish this without success.
|
|
|
|
|
Try to clear the width and the height property of the image control.
Regards,
Arun Kumar.A
|
|
|
|