|
Thnx frnd for your reply but there are no differences given there between 3-tier and N-tier architecture
|
|
|
|
|
ntier architecture means that all three layers are distributed among many machines i think
|
|
|
|
|
Usually none, except the obvious ( that n tiered may have more than 3 tiers )
The business layer of a complex application often has more than one dll, which is arguably more than one layer
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello,
i developed one page in that page the visitor will give all details..
after giving those he will press submit..after pressing submit,all these details will send to mail id..example all these details send to abc@code.com
what is the code for submit button..
is their any articles how to use SMTP..
Please give the answer
Thanks
Hari
|
|
|
|
|
You will need a few textboxes and then use this article
http://www.aspheute.com/english/20000918.asp
this is in the simplest form, there are plently more out there
|
|
|
|
|
Check out this:
www.systemnetmail.com/ [^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
string mailFrom = "bob@bob.co.za";
string mailTo = "your@email.com";
string mailDescription = "This is sent from a Web Page!";<br />
string mailBody = "Yay! I have mail!";<br />
System.Web.Mail.SmtpMail.SmtpServer = "mail.server.co.za";
System.Web.Mail.SmtpMail.Send(mailFrom, mailTo, mailDescription, mailBody);
Enjoy
- Reelix
-= Reelix =-
|
|
|
|
|
Hi dear friends!
I am using accordion and of course accordion panes from Ajax control toolkit. in the content tag of AccordionPanes I have a swf file to show, every thing is ok! and the files are shown as I collapse each AccordionPane but when I collapse an accordion and the swf file starts, if I collapse another one the last swf does not stop( of course it is not visible but it's going on). do you have any suggestion?
this is the related part of my code:
<cc1:Accordion ID="Accordion1" runat="Server" style="direction:rtl"
SelectedIndex="-1"
AutoSize="None"
FadeTransitions="false"
TransitionDuration="250"
FramesPerSecond="40"
RequireOpenedPane="false"
SuppressHeaderPostbacks="true" Width="630px" >
<Panes>
<cc1:AccordionPane ID="AccordionPane1" runat="server" ContentCssClass="ContentStyle" HeaderCssClass="">
<Header>
<asp:Image ID="Image1" runat="server" style="vertical-align:middle" ImageUrl="filmicon.jpg" Width="40px" Height="40px" />
<asp:Label ID="Label1" runat="server" Font-Names="Tahoma" Font-Size="Small" Text="how to share"></asp:Label>
</Header>
<Content>
<embed width="620" height="495" type="text/html" src="sharing2_demo_skin.swf"></embed>
</Content>
</cc1:AccordionPane>
.
.
.
</Panes>
</cc1:Accordion>
|
|
|
|
|
If you want to stop the flash file (interact with the flash movie(s)) you would need to modfiy the flash object to listen for events or poll possibly a hidden field. When you collapse a panel, set the hidden field to a value (0/1) or something which could pause or stop the flash movie from playing.
It's not a trivial process, but I am sure there are examples on the web. Try searching for "controling flash from javascript" or something similar.
|
|
|
|
|
i have 2 place holder in my aspx form, i want with push button print just secend place holder content. how can i do this.
i work in c#.net in webpart form
modified on Tuesday, May 6, 2008 3:52 AM
|
|
|
|
|
Would this tip give you some hints into your problem?
http://www.devx.com/tips/Tip/27626[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
thank , that good, i used it but has error with this text: "too many characters in character litteral" and this error is for javascrip (bold text)
and my code is this
<div id="divPrint">
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><asp:TextBox ID="TextBox1"
runat="server"></asp:TextBox>
<asp:Button ID="btnPrint" onClick="javascript:CallPrint('divPrint');" runat="server" Text="Print" />
</div>
|
|
|
|
|
Can you emit the onClick attributes from codebehind using
.Attributes.Add
?
That would be a cleaner approach also?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
so thanks for ur help thats a good sample . i can solve my problm with this code:
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "test1", "function CallPrint(strid){var prtContent = document.getElementById(strid);var WinPrint = window.open('','','letf=0,top=0,width=300,height=200,toolbar=0,scrollbars=0,status=0');WinPrint.document.write(prtContent.innerHTML);WinPrint.document.close();WinPrint.focus();WinPrint.print();WinPrint.close();}", true);
btnPrint.Attributes.Add("onclick", "CallPrint('divPrint');");
|
|
|
|
|
I don't think you can do this, I'm sure someone has asked this before
|
|
|
|
|
Well, you can, but you need to open a new window and print it, as per the link someone provided already
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
There is one way way to customize the printing. I believe it is "Print Templates" right? http://www.webreference.com/js/column89/[^]. I admit I haven't explored it in depth anyway.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Ah right, I thought I had tried to do this before and been unsuccessful
Sorry for the error! 
|
|
|
|
|
Hi,
Is it possible to share session state between an ASP.NET web application and a share point portal?
Regards,
Blumen
|
|
|
|
|
Check this out:
http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_23219153.html[^]
Quickly quoting the solution:
"I've created a page on the sharepoint site that takes the destination product as a query string and redirects the user to the Ecommerce package over https. The receiving page processes the username and the product destination. The receiving page which auto logs in needs securing somehow. Which I'm not sure how to do. I was going to post the info into a shared db and pass the sessionId as a key for the Ecommerce to use to get the username from. But this way is quicker to code. --klanff"
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I appreciate that you have send me that link, but I can't view that solution coz its only for members..
So is it about storing session in a db? We have considered that, but an alternative to db storage is what we are looking for.
Regards,
Blumen
|
|
|
|
|
Blumen wrote: but I can't view that solution coz its only for members..
I have quoted the solution for you.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Is there another way without storing session in shared db?
|
|
|
|
|
Perhaps we can have a bridging ASPX page in either side to translate the cookies from one to another. We normally use this trick for transferring cookies among partner websites which should support a single logon.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I think that storing the session in a shared db is the best way
What is your reasoning for not doing this?
Do you want a less clunky way?
|
|
|
|