----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: SameerK Message 4 in Discussion Hi Pravin,<o:p></o:p> <o:p> </o:p> ASP.NET is providing you the feature, but that does not mean that you should use it at all possible locations or situations. At times it is always advisable to go for javascript coding in ASP.NET page. The example mentioned by you can be the best one for that matter. In the present scenario, do not code this in ASP.NET, rather code a javascript in your ASP.NET page. <o:p></o:p> Just the event driven programming is not the advantage of ASP.NET over traditional ASP. There are much more solid features provided by .NET than ASP. Since ASP.NET is always a compiled code, its gonna be faster than traditional ASP, but it must be used intelligently to give you maximum performance. So, rest is up to you how you and your management look into this and decide. <o:p></o:p> Do let me know what decision you guys take and the reason too. It will be knowledge gain for me.<o:p></o:p> <o:p> </o:p> Happy .Net programming<o:p></o:p> With regards, Sameer Koranne, i-flex Solutions Ltd. - VP, +91-9821188554<o:p></o:p> From: Pravin_pujari [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 11:06 AM To: <st1:PersonName w:st="on">MumbaiUserGroup</st1:PersonName> Subject: Re: asp.net basic queries<o:p></o:p> <o:p> </o:p> <o:p></o:p> <o:p></o:p> New Message on MumbaiUserGroup<o:p></o:p> <o:p></o:p> <o:p> </o:p> asp.net basic queries<o:p></o:p> Reply <o:p></o:p> <o:p></o:p> Reply to Sender Recommend <o:p></o:p> Message 3 in Discussion <o:p></o:p> <o:p></o:p> From: Pravin_pujari <o:p></o:p> <o:p> </o:p> hi i am going to work on a new web project. we have to choose platform for that. asp or asp.net? i am giving preference to asp.net but boss created a doubt. that is as follows... no doubt asp.net has good features than asp. asp.net provide event driven programming, validation controls etc, server controls. for server controls we can write code on event. but as server control works on server for each event client goes to server. is it not time consuming..? eg. <o:p></o:p> Listbox1 Listbox2 pravin add sooraj remove prasad<o:p></o:p> add and remove are server control buttons. when u click on add selected item from listbox1 goes to listbox2 and get removed from listbox1 similarly remove button removes selected item from listbox2 and adds to listbox1<o:p></o:p> simple asp.net code is... ***** Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here ListBox1.Items.Add("pravin") ListBox1.Items.Add("sooraj") ListBox1.Items.Add("Prasad") End Sub<o:p></o:p> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListBox2.Items.Add(ListBox1.SelectedItem.ToString) ListBox1.Items.Remove(ListBox1.SelectedItem) End Sub<o:p></o:p> Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ListBox1.Items.Add(ListBox2.SelectedItem.ToString) ListBox2.Items.Remove(ListBox2.SelectedItem) End Sub *****<o:p></o:p> in this simple program for each click on button page goes to server to execute the event and page get reloaded.. but if u use clientside javascript u can do it easily without refreshing page.. then which one is advantageous can any one tell me the answer to this question..<o:p></o:p> <o:p></o:p> <o:p></o:p> View other groups in this category. language="JavaScript" type="text/javascript"> document.write(''); </script> ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
