|
What you are showing is a design view. How content placeholders are shown in the design view has nothing to do with how they are handled when the page executes. A content placeholder has no size, but it is given a size in the design view.
You can't resize the content place holder in the design view for the simple reason that it has no size.
---
b { font-weight: normal; }
|
|
|
|
|
Hi All I have a page in which there are two forms. One form is used to send values to another page. There is no Submit Button for first form. I m using a button of second form. How Can I submit the 1st Form when I click on the Button of Second Form.
|
|
|
|
|
do u mean u have a form and a pop up window?
Best Regards
3ala2
|
|
|
|
|
You can programmatically submit the first form using JavaScript.
document.forms[0].submit();
|
|
|
|
|
I m writing my Problem again my dear.
I have a page in which two forms are used. In the Second Form there is a button. I want to Submit the first Form when some one click on the Button of Second Form. There is no Submit Button in the first Form. How can I do this.
|
|
|
|
|
so create a javascript function, with the line of code given above and call that on click of the button on the 2nd form..
|
|
|
|
|
i have done my project now i have install it how to do in asp.net ,in my project no uploading only e mail sending that can be by by outlook express how to do it?
|
|
|
|
|
If I've understood you well you want to deploy ASP.NET application by e-mail. You can do it by "publishing" your web site (right click on project in VS and select publish) into a folder on file system (select "only files needed to run web application). Then ZIP all files in this folder and send it via e-mail.
web applications does not have singe exe file to deliver...
|
|
|
|
|
forget about those things i have created one project in asp.net now i want to install it on machine how to do it?
|
|
|
|
|
You can use 'Copy Web' of Visual Studio .NET to XCopy deploy it onto the destination webserver.
|
|
|
|
|
Hi All,
I have a page in which I have used two forms. One of these two forms is used to Send Data to other page, and the other form has a Button. I want to Submit the form when the Button is Clicked , How is that posible.
Thanks in Advance.
|
|
|
|
|
1- Session
You can use Session["name"]= variable;
In the other page put the session in lable or text.
Label1.Text=Session["user"].ToString();
2- QueryString
SqlCommand cmd=new SqlCommand("select id from Table where id="+dgi.Cells[12].Text,sqlConnection1);
|
|
|
|
|
Aloha,
We have a well functioning site map (breadcrumbs) in our asp.net application. Now some of the brass have decided that the root node should not be displayed, but how do we implement that?
A root node is required in the sitemap XML file, so we can't remove it there. We have a custom site map provider, but it's impossible to edit the parent nodes in there. Only the current child node can be edited.
Any ideas?
|
|
|
|
|
i want to mail welcome message when a user register in my web site.
i use the below code but it does'nt work.
it's give me this error : (The"SendUsing" configuration value is invalid.)
public static void Send(string mail,string sname,string sfamily)
{
MailMessage mailMsg = new MailMessage();
mailMsg .From = "info@mashhad915.com";
mailMsg .To =mail;
mailMsg .Subject = "Welcome!";
mailMsg .Body ="welcome";
mailMsg.Bcc="info@mashhad915.com";
mailMsg.Cc="info@mashhad915.com";
SmtpMail.SmtpServer.Insert(0,"127.0.0.1");
SmtpMail.Send(mailMsg );
}
please help me?
it's very important for me.
|
|
|
|
|
check ur smtp configuration, it might be not properly configured.
|
|
|
|
|
Use smtpserver out blank as below:
SmtpMail.SmtpServer="";
or
give ur smtp server according to ur smtp out as like below :
SmtpMail.SmtpServer="mail.a2z.com"
prabir
|
|
|
|
|
I had a similar problem a few weeks ago. It helped to set the smtp server to local host and not domain.com or mail.domain.com.
|
|
|
|
|
Hello,
In my recent project I used sending mails functions.
Actually 2 approaches are their.
1. In this case the mails go to bulk /spam folder
2. In 2nd approach mail will go to inbox(u r using authentication here as u have to mention uid/pwd of sending mailer)
I am putting the exact codes that I have written previously.
______________________________________________________
1st Approach
public void SendMail()<br />
{<br />
MailMessage msgMail=new MailMessage();<br />
msgMail.To=emailTo;<br />
msgMail.From="test@test.com";<br />
msgMail.Subject="test visitors mail";<br />
msgMail.Body="whatever u want";<br />
SmtpMail.SmtpServer = "";<br />
SmtpMail.Send(msgMail);<br />
<br />
}<br />
2nd Approach(same as 1st approach with some additional fields of authentication)
public void SendMail()<br />
{<br />
MailMessage msgMail=new MailMessage();<br />
msgMail.To=emailTo;<br />
msgMail.From="test@test.com";<br />
msgMail.Subject="test visitors mail";<br />
msgMail.Subject="test visitors mail";<br />
msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "test@test.com");
msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "testpassword");
SmtpMail.SmtpServer = "mail.test.com" ;
SmtpMail.Send(msgMail);<br />
<br />
}
Thanks,
Prabir
|
|
|
|
|
|
Hi,
I want to use ASP.Net menu control in my project, the main problem i am facing is how to integrate the Membership and Roles in the Menu, what i mean to say is that only limited menus should be visible to user who has logged in, based on the role whihc he/she has.
How can i accomplish it.
Thanks,
Deepak Surana
|
|
|
|
|
hi,
Programatically How to get Shared folder's in a computer's which are connected in LAN.
kamalnath
|
|
|
|
|
|
Friends...any one can guide me about how can i implement PaymentGateway(PAYPAL ,Escrow, HSBC and Other CreditCards) in my application which is on asp.net 2.0 with c#..
Please help me i urgently need this and i don't know about it.
Thanks in Advance
Nilesh Upadhyay.
|
|
|
|
|
Paypal has its own API, logon to the paypal site for more information
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
Hi All,
I am using ASP.NET 1.1 for web application.I need to add TabControl for WebApplication.
Is that possible in ASP.NET 1.1?
Thanks in advance
|
|
|
|