User Profile
Collapse
-
Use HttpContext.Cur rent.Response.W rite instead of clear. -
Hi! With a handle like alamodgal I assume you are in the alamo city. However you could also just be a texan. However, even you are are not a texas I assume you will get down here as quick as you can.
PS: Thanks for the post on the gridview print problem I had. ;-) Checkout my page http://ResearchRiders.org -
Hiiiiiii
Instead of writing Response.Clear( );
Write
HttpContext.Cur rent.Response.C lear();Leave a comment:
-
-
set this property after Menu1.Items.Add (mnuItem);
Menu1.StaticSel ectedStyle.Fore Color = System.Drawing. Color.Black;
Menu1.StaticSel ectedStyle.Back Color = System.Drawing. Color.Red;
You change colors according to ur need.Leave a comment:
-
You cannot send mail from localhost smtp server to online mail ids like yahoo, gmail....... For this you have to change your smtp value from localhost to your online server valueLeave a comment:
-
MailMessage msg = new MailMessage();
msg .To = txtTo.Text;
msg .From =txtFrom.Text;
msg .Subject =txtsub.Text;
msg .Body = txtMsg.Text;
SmtpMail.SmtpSe rver = ConfigurationSe ttings.AppSetti ngs["SMTP"].ToString();
SmtpMail.Send(m sg);
Add SMTP key in your web config like this in <appsettings> tag
<appsettings>
<add key="SMTP"...Leave a comment:
-
hiiiiiii
Use mail message like this:
MailMessage msg = new MailMessage();
msg .To = txtTo.Text;
msg .From =txtFrom.Text;
msg .Subject =txtsub.Text;
msg .Body = txtMsg.Text;
msg .BodyFormat = System.Web.Mail .MailFormat.Htm l;Leave a comment:
-
-
hiiiiii
use this :
Dim objMail As System.Web.Mail .MailMessage = New System.Web.Mail .MailMessage
objMail.To = "bhupinder@owt. cc"
objMail.From = "shikha@owt .cc"
objMail.Subject = "hi"
objMail.Body = "fdbsfdsfv"
objMail.BodyFor mat = MailFormat.Html
SmtpMail.SmtpSe rver...Leave a comment:
-
-
Leave a comment:
-
hiiiiiiiiiiiii
You can use this script code in <head> tag of your pages
<script>
history.forward ();
</script>
this will not save your previous history and your back button doesn't show previous page of yours!Leave a comment:
-
use this code for your calendar.ascx page
Code:<asp:TextBox id="TextBox1" runat="server"></asp:TextBox> <INPUT type="button" value="..." onclick="OnClick()"><br> <div id="divCalendar" style="DISPLAY: none; POSITION: absolute"> <asp:Calendar id="Calendar1" runat="server" BorderWidth="2px"
Last edited by Frinavale; Feb 25 '09, 03:51 PM. Reason: Added [code] tags: Please post code between [code][/code] tagsLeave a comment:
-
-
Leave a comment:
-
Check if the guid on webpart class , and in the .xml and in .webpart class are sameLeave a comment:
-
In this link you get how to scroll gridview with fixed headerLeave a comment:
-
hiiiiiiiiiiii
Its ok.
Ya im new here but not much experienced.Leave a comment:
-
Leave a comment:
No activity results to display
Show More
Leave a comment: