|
Design Page Error T____T~!!
[URL=http://www.bcoms.net][IMG]http://www.bcoms.net/upload/images/bcoms2009103215149.JPG[/IMG][/URL]
fujiwara
|
|
|
|
|
Does your mobile:form actually renders a form tag in the client end. If so then dont bother about the Designer as it will not parse the html properly if form element is not present.
Check during runtime if it is working fine or not.
|
|
|
|
|
thank for your kindness. i can run Page on IE and Emuator but it's not show on Design Page T_____T~!!
fujiwara
|
|
|
|
|
Hi All,
I am working on a AJAX Enabled asp.net web application. Which was previously developed in VS 2005.
Now this application is converted into VS 2008 with Framework 3.5
Now the problem occurs is that,
Some pages in application working fine with update panels. And some are not working properly.
Those pages are not working with update panel, also don't get the CSS files as Stylesheets.
The AsyncPostBack Trigger Not Fired, with Update Panel's UpdateMode = "Conditional" and RenderMode="Inline". But PostBack Trigger works.
In Web.Config file-
<xhtmlConformance mode="Transitional" />
Any help will be appriciated.
Thanks.
|
|
|
|
|
Hello,
I need to print html pages contained inside a folder on server, when user clicks on a button in .aspx page all the pages contained in that folder gets printed on client side.
thanks
|
|
|
|
|
i think you need to use some DHTML for this... window.open and print for this purpose...
Http://www.gen-sys.com
Government Dyal Singh College Lahore.
|
|
|
|
|
window.open works for only printing that page on which client is....
i want to print those pages which are contained in some folder.
|
|
|
|
|
|
There's no way to print anything on the client side without rendering it on the client side. How could you think there might be a way ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi to all pls help me
i used this code to send a mail from webpage i didn't used any web server
i just run the program in my localhost this script not working it show sending mail failed any one can you pls explain this
my ultimate aim is to send a feedback form to my mail id
using System;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Net.Mail;
public partial class _Default : System.Web.UI.Page
{
#region "Send email"
protected void btnSendmail_Click(object sender, EventArgs e)
{
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
try
{
MailAddress fromAddress = new MailAddress(txtEmail.Text, txtName.Text);
smtpClient.Host = "localhost";
smtpClient.Port = 25;
message.From = fromAddress;
message.To.Add("kn.nageshwaran@gmail.com");
message.Subject = "Feedback";
message.CC.Add("admin1@yoursite.com");
message.CC.Add("admin2@yoursite.com");
message.Bcc.Add(new MailAddress("admin3@yoursite.com"));
message.Bcc.Add(new MailAddress("admin4@yoursite.com"));
message.IsBodyHtml = false;
message.Body = txtMessage.Text;
smtpClient.Send(message);
lblStatus.Text = "Email successfully sent.";
}
catch (Exception ex)
{
lblStatus.Text = "Send Email Failed.<br>" + ex.Message;
}
}
#endregion
#region "Reset"
protected void btnReset_Click(object sender, EventArgs e)
{
txtName.Text = "";
txtMessage.Text = "";
txtEmail.Text = "";
}
#endregion
}
|
|
|
|
|
kn.nageshwaran wrote: smtpClient.Host = "localhost";
It Should Be Your host name
Try this link
[^]
First Get Your Host Name
|
|
|
|
|
kn.nageshwaran wrote: i just run the program in my localhost this script
Did you configure SMTP server on the local machine(localhost)?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi everybody,
I have developed a page in asp.net (using vb) which is accessible over internet (public domain .com) working fine. This page facilitate end users to save, retrieve, and update existing information, and all information is saved over server database. Now my boss wants to access these information on Intranet (local site) but there is a "FIRE WALL" between Intranet and Internet. In the beginning I assumed that I could solve this issue through replication but later I have been told due to "FIRE WALL" I can't replicate data from Internet to Intranet.
MY question is how can I save and retrieve data in local and global database at the same time. Or replication is possible in this situation if it is possible, Or there are any other ways like serialization etc.. Please could you tell me how I can solve this issue, any link or any suggestion would be much appreciated.
I'm really sorry if this is not the right forum to ask this question.
regards
learner
|
|
|
|
|
i want that, when i am clicking any link then some menu items will be Enable False. How it Possible ?
|
|
|
|
|
|
hi expert
i want add scrollbar and horizantalbar to repeater control just like a listbox.And fixed header.
thanks
|
|
|
|
|
try this
myRepeater.Attributes["Style"] = "OVERFLOW-Y:auto;HEIGHT:200px;";
|
|
|
|
|
|
hello frnds !
i m using the following code in my web application
for sending an E-mail
System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage();
msg.Subject = "Issue Report";
msg.Body = "Submitted By: " + txtName.Text + "\n";
msg.Body += txtComment.Text;
msg.From = txtSender.Text;
msg.To = txtReceiver.Text;
if (chkPriority.Checked) msg.Priority = System.Web.Mail.MailPriority.High;
System.Web.Mail.SmtpMail.SmtpServer = "localhost";
System.Web.Mail.SmtpMail.Send(msg);
lblResult.Text = "Message sent to SMTP service.";
but when i execute this code i get this error
The transport failed to connect to the server.
at the line
System.Web.Mail.SmtpMail.Send(msg);
please help me immediately
modified 6-Jun-21 21:01pm.
|
|
|
|
|
First of all, if you are using .Net 2.0 or higher tha it is preffered to use System.Net.Mail [^]space for implementing the mail functionality.
ak_1989 wrote: The transport failed to connect to the server.
The most obvious reason for this error message is that either the SMTP does not exist or it is not properly configured.
Try to look for the other resons here[^].
And btw, this error message has nothing to with code and it is infrastructural issue. Keep trying.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
ak_1989 wrote: please help me immediately
You must be joking
ak_1989 wrote: System.Web.Mail.SmtpMail.SmtpServer = "localhost";
Do you have localhost configured to be a mail server, or were you hoping for it to work by magic ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
System.Web.Mail.SmtpMail.SmtpServer = "localhost";
i have configured "localhost" to be a mail server.
"localhost" represents the name of the SMTP Virtual Server of IIS 5.1 on my computer.
I hope I m doing the right thing.
modified 6-Jun-21 21:01pm.
|
|
|
|
|
OK, well, some people just expect it to work. If localhost is working as a mail server in general, then you need to work out why it's not working from your application. As someone said, it's a config issue, not a code issue.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
still cant get it.
as per my knowledge i have configured the Virtual Server properly.
any EXPERT TIPS.
modified 6-Jun-21 21:01pm.
|
|
|
|
|
I've never configured a mail server, I've just used mail servers provided for me. I've never had a need for a mail server that would be satisfied by a local setup, I've always needed something more reliable.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|