|
Thanx Sylvester 4 ur kind help.
Alok...
|
|
|
|
|
I have a table of data in the aspx web page. I am
printing it in landscape paper (11 X 8.5 inches). If
the table has more columns which cannot fit in the
page, then last few columns will not be printed. Is
there any trick or workaround to print all the columns
in IE 6?
If it is not possible to fit all the columns
in one page width, then it should print the remaining
columns in another page.
any one plz help me plzzzzzzz...
Pradeep Reddy
|
|
|
|
|
hi pradeep reddy
u can do one thing set the table width to 100% so at the clients place the table will adjust to its resolution and try it...
devkranth
|
|
|
|
|
thank u...
Pradeep Reddy
|
|
|
|
|
hi friends
how to reload the picture with out refresing the page in javascript
regards
saravanan
|
|
|
|
|
Use setTimeout function and assign different images to the image control
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi All,
I keep getting an exception whenever i try to send an email message in an asp.net 2.0 application: I am using smtpclient & I have the MailMessage code and credentials setup correctly.
****************************************************************************
Send failure: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout) at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback) at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback) at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at Default2.btnSubmit_Click(Object sender, EventArgs e) in c:\Documents and Settings\venki\My Documents\Visual Studio 2005\WebSites\RFQTest\Default2.aspx.cs:line 88Your mail has been sent
*****************************************************************************
Could anyone help me is it any problem with my internet connection? or Do i need to change my code??
Thanks in Advance!
|
|
|
|
|
Post the code you have written, that sends the email.
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Here is my Code:::
protected void btnSubmit_Click(object sender, EventArgs e)
{
SmtpClient smtpClient = new SmtpClient();
MailMessage objMail = new MailMessage();
MailAddress objMail_Email = new MailAddress(lblEmail1.Text);
objMail.From = objMail_Email;
objMail.To.Add("toemail@.. .com");
objMail.Subject = "Form Submission";
objMail.Body = "<html><head><title></title></head><body>" + "<p>Company : " + lblCompany1.Text + "</p>" + "<p>Address : " + lblAddress1.Text + "</p>" + "<p> Telephone :" + lblTelephone1.Text + "</p>" + "<p> Fax :" + lblFax1.Text + "</p>" + "<p> Email : " + lblEmail1.Text + "</p>" + "<p>Comments : " + lblComments1.Text + "</p>" + "</body></html>";
objMail.Priority = MailPriority.High;
smtpClient.Host = "mail.domain.com";
smtpClient.Credentials = new System.Net.NetworkCredential("username@domain.com", "password");
try
{
smtpClient.EnableSsl = false;
smtpClient.Send(objMail);
}
catch (Exception exc)
{
Response.Write("Send failure: " + exc.ToString());
}
Response.Write("Your mail has been sent");
}
_____________
|
|
|
|
|
anyone please help me on my problem.............
|
|
|
|
|
I want to increase to performance of my webiste,
right noe its speed is very slow,
I have designed the website by Html tags amd every page is having nearly 2-3 images with 8-10 contrlos on pages.
database code is entirely through code.
So,How should i increase the speed of my website.
|
|
|
|
|
Is you website online so we can have a look? If so post the URL
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
The Url id http://69.60.123.119
Customer login is cm and password is cm.
Admin login is Merchant and password is Merchant.
|
|
|
|
|
Th login requires a Customer Id, but what I have seen so far, in terms of speed, is acceptable.
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Hello Friends..
I had small doubt regarding..
I Had taken a default page .js file and in Default.aspx i had taken a button on button click i want to a javascript function.. In that function i had created http Object and secondly my aim is to return back to Default page and execute some code plse help me...
came out of hardwork
|
|
|
|
|
kumarjammula wrote: I had small doubt
You mean you have a question, not a doubt.
|
|
|
|
|
Its question u think give me answer or its doubt help me out
came out of hardwork
|
|
|
|
|
hi
i m facing a problem with treeview control. when user click on root node of treeview it expend all child nodes. when user select child node the page navigate to given URL. My problem is this at new page treeview go back to unexpand state. how can i mantain the old expanded state of treeview.for tracking which link user select.
Thanx
Vicky
|
|
|
|
|
vickyshah wrote: when user select child node the page navigate to given URL. My problem is this at new page treeview go back to unexpand state.
Set EnableClientScript property of the TreeView to False (default is True).
|
|
|
|
|
hi
Thanx for help. But EnableClientScript is already false but same problem
i m using Master page Please help me
|
|
|
|
|
Hi,
Iam working in a webapplication in which I am using RSA cookie authentication to login. I login using secure RSA ID in which i login using different users with different Tokens such as Admin , client etc.., for ex.. if i login using Admin account and RSA pincode i have to redirect to a different destination page than that of the client account's destination page. The thing is that i have written RSA secured Cookie for login in a page called Authorize.aspx as follows in the HTML page of Authorize.aspx:
<%
Dim RSACookieAPI
'//Response.Cookies["RSACookieAPI"].Expires = DateTime.Now.AddYears(-30)
RSACookieAPI = Server.CreateObject("Rsacookieapi.RSACookie")
%>
Hello <%=RSACookieAPI.RSAGetUserName() %>
<%
session("rsauser")=RSACookieAPI.RSAGetUserName()
%>
<%
Response.Redirect("auth.aspx")
%>
My question is that when i click logout in the destination page for each account the RSA cookie's time frame and user's session should expire and come to the home page. I don't know how to end the RSA cookie's session as i have different accounts in each page from which i logout. So pls help me with this issue. i think i have confused u a bit with my question. Sorry for that. pls help me with this issue.
Thanks and Regards
Vijay.
|
|
|
|
|
hi,
i need to know the difference between a winform and webform datagrid control.can ne body help me out?
thnx in advance,
zari
|
|
|
|
|
Dear Zari
Difference between a winform and webform datagrid control is very much.
you may see msdn for more information
|
|
|
|
|
Hi
I am doing an application, in that I have a TextBox which is to be filled with the selectedDate from a calendar control.
Now my problem is,initially my calendar should be invisible.With a button click it should popup and the selected date should be given to TextBox with out Post Backing the page.
How this can be implemented using JavaScript(AJAX).
Make sure that calender is asp.net control.
-- modified at 6:11 Thursday 14th June, 2007
Thank u
Chandu
|
|
|
|
|
Hello,
Can any one of you help me in controlling
1. The order in which the error messages appear in validation summary control.
I am using absolute positioning in my asp.net webpage.
2. My form moves up every time it posts backs to the server. I want my webpage to display the same area even after post back.
Please Help...
-dhulipudi
|
|
|
|