Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 22nd, 2009, 03:01 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow how 2 make cursor persistent while adding table into the update panel

Hello Imar sir,
First of all I would like to say thanks. I asked u about how r send email. And then I followed your instructions and now it is working fine for the ContactForm.aspx page.

Also I'll ask for sorry if it gets you angry as I told "r u there?" Actually yeah I am from different time zone than you are. I was asking you questions at 4 o'clock of night and in the morning I was to go to the college.Next time I'll take care about this.

OK now I come to the point , well sending message is working fine now. But there is problem when I send message through fake email ids, it accepts all so my question is that is there any way to determine that the email id being sent in the form is genuine or not?

secondly I've gone through Ajax where u have told about how to notify users that message is being sent. But whenever I wrap the whole table in update panel then on requesting the page in browser, cursor is not persistent any more and I am not able to type anything in the input fields.

So please tell me how to fix the above 2 problems.
 
Old September 22nd, 2009, 03:34 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can't really tell if an e-mail address is valid or not until you actually try to deliver it. You can filter out most mistakes using regular expressions. The Validator controls have one, albeit a bit week. If you search the Internet a bit you'll find others that are much stronger. However, they still allow for addresses like [email protected] which probably doesn't exist.
There are third party solutions available (again a Google or Bing search should bring up useful results) that allow you to simulate sending an e-mail to see if the address exists. Still not fool proof though.

I don't understand your other problem. You need to supply more details (code, setup, browser, detailed problem description etc) or I can't say anything useful about it.

Cheers,
Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 22nd, 2009, 03:40 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default third party solution

Now how I can use google or bing regarding email filtering
 
Old September 22nd, 2009, 03:48 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Now how I can use google or bing regarding email filtering
Euh... Click Start, choose Internet Explorer, browse to www.google.com and search for validate e-mail address component buy?
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 22nd, 2009, 03:57 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default chapter 10 : AJAX

Here is the code snippet that u suggested to use in the ContactForm.aspx page while dealing with the user notification
Code:
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<table class="style1" runat="server" id="FormTable">
    Table (ContactForm goes here)
</table>
<asp:Label ID="lblMessage" runat="server" Text="Message Sent" Visible="false"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2">
<ProgressTemplate>
<div class="PleaseWait">
Please Wait While Message Being Sent...
</div>
</ProgressTemplate>
</asp:UpdateProgress>
Now on browsing the page in IE, the cursor does not persist in the input fields for more than 2 seconds and the whole page refreshes itself. So that I can not feed input.
 
Old September 22nd, 2009, 04:00 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Is your form automatically submitting itself to the server? Maybe you have a Timer control somewhere?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 22nd, 2009, 04:22 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow

yes in the master page I've used the calender and timing functionality, but that is wrapped in the different update panel (ID=UpdatePanel1). And the contact form is in content place holder wrapped in different update panel (ID=UpdatePanel2).
 
Old September 22nd, 2009, 06:18 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow Timer used in the master page

Hello Imar Sir,
I have used timer in master page to use the calender and timing functionality, but that is wrapped in the different update panel (ID=UpdatePanel1). And the contact form is in content place holder wrapped in different update panel (ID=UpdatePanel2). But the form (in different update panel ) refreshes itself and cursor functionality is lost. So what should I do , also I wanna keep feature of timing and calender.
 
Old September 23rd, 2009, 07:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look here: http://www.demtron.com/blog/post/200...-Position.aspx

Haven't tried it, but it looks useful.....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 23rd, 2009, 12:41 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow ecommerce architecture

OK never mind as you also may not try the all of the codes. OK I could disable the timer in my master page then it will be solved and I need time to check out that code fully to use in my pages even I use timer. Ok I wanna tell u about my site structure:

The basic name conventions are followed as you have suggested, but it has some different scenario than PlanetWrox.com.I am going to develop a Ecommerce based site that follows the money transfer using the credit card etc. This is the another and very massive thing , but for the time now I am working out on database. Accordingly Your book I can do more but still I want something extra that is whatever product I store in database with image that should be notified to the user at his disposal with a link of "Buy" and then added to some billing form whatever the quantities are and different products on diff. pages.

So firstly please try to tell me that how I can store images in the database itself and secondly how to give a link as "Buy" or anything else next to each item to add in order form.
Also please let me know the exact timing you log in to this forum.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a Panel control in FormView steve35719 ASP.NET 2.0 Basics 5 August 18th, 2010 12:32 AM
Gridview Update not firing in Update Panel akshay144 Ajax 1 August 13th, 2009 10:20 AM
Update panel in .net 2.0 DIlip Kumar Sittu .NET Framework 2.0 1 July 18th, 2008 06:44 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.