Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 26
Search took 0.01 seconds.
Search: Posts Made By: Fed
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 17th, 2010, 03:32 AM
Replies: 11
Views: 3,666
Posted By Imar
You could do that, but you could also try setting...

You could do that, but you could also try setting the loginUrl of the forms authentication element in web.config.

Cheers,

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 16th, 2010, 04:24 PM
Replies: 4
Views: 989
Posted By Old Pedant
Short answer: No. In a normal executable...

Short answer: No.

In a normal executable program, you don't have the concept of "pages" that you do with an internet system.

You could, of course, simply wipe out all content on the user's...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 16th, 2010, 11:55 AM
Replies: 11
Views: 3,666
Posted By Imar
Take a look at Chapter 9; it explains how to...

Take a look at Chapter 9; it explains how to properly configure the web.config file with e-mail settings such as a mail server.

Cheers,

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 15th, 2010, 07:11 PM
Replies: 4
Views: 989
Posted By Old Pedant
Yeah, Server is an object that only exists in...

Yeah, Server is an object that only exists in ASP.NET. "Server" means the web server, usually IIS.

For standalone apps, you just have to invoke a method in your catch handler.

But, really,...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 14th, 2010, 07:39 PM
Replies: 21
Views: 2,635
Posted By Imar
Just for fun (and education), you could try using...

Just for fun (and education), you could try using OnServerValidate as described in my 3.5 book.

Then in btnSend, make sure you test Page.IsValid before you proceed...

Cheers,

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 12th, 2010, 03:45 AM
Replies: 21
Views: 2,635
Posted By Imar
Probabaly not as you need Word on the server to...

Probabaly not as you need Word on the server to execute them which is typically not the case,

The sender argument of the custom validation method is of type CustomValidator. This means you should...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 7th, 2010, 05:20 PM
Replies: 21
Views: 2,635
Posted By Imar
Exe files may be tricky at first, but thanks to...

Exe files may be tricky at first, but thanks to ASPX files, they become much easier to execute.

Consider this ASPX file:


<%
protected void Page_Load(object sender, EventArgs e)
{
...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 7th, 2010, 12:40 PM
Replies: 21
Views: 2,635
Posted By Imar
No, it's not overkill if you ask me. Especially...

No, it's not overkill if you ask me. Especially when allowing users to upload files I would check and double check if I only get the stuff I want. I rather not have .exe or scary .aspx files uploaded...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 7th, 2010, 12:21 PM
Replies: 21
Views: 2,635
Posted By Imar
BTW: You have no idea how many reasons there...

BTW:
You have no idea how many reasons there are to do it at the server. You could start by checking out page 294 of my Beginning ASP.NET 3.5 book.

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 7th, 2010, 12:09 PM
Replies: 21
Views: 2,635
Posted By Imar
It can be done, but you need external software to...

It can be done, but you need external software to do it:

http://www.google.com/#hl=en&q=validate+email+addresses+.NET+component&aq=f&aqi=&oq=&fp=db64f927cfe7b756

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 7th, 2010, 06:51 AM
Replies: 21
Views: 2,635
Posted By Imar
The code in FileShare refers to handling the code...

The code in FileShare refers to handling the code in Global.asax, but doesn't actually implement it ;-) (at least, I can't find it)

Take another look at Chapter 17 of Beginning ASP.NET 3.5. It...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 6th, 2010, 05:54 PM
Replies: 21
Views: 2,635
Posted By Imar
Because it's only way to do it when using Windows...

Because it's only way to do it when using Windows XP. And I didn't want to set up the site as a Virtual Directory as it's likely you want a root based site on your production server as well.
Quite...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 February 4th, 2010, 04:51 PM
Replies: 6
Views: 1,143
Posted By Imar
Hi Fed, It should work on 3.5 as well, as...

Hi Fed,

It should work on 3.5 as well, as .NET 3.5 is pretty much backward compatible.

If you provide *detailed* steps about what you're doing, I may be able to help. Currently, I don't have...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 December 16th, 2009, 05:24 AM
Replies: 4
Views: 1,016
Posted By Imar
You may want to take a look at Beginning SQL...

You may want to take a look at Beginning SQL Server 2008 or Professional SQL Server 2008.
...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 December 3rd, 2009, 10:30 AM
Replies: 4
Views: 1,016
Posted By Imar
You can use aspnet_regsql (found in...

You can use aspnet_regsql (found in C:\Windows\Microsoft.NET\Framework\v2.0.50727) to create the necessary database objects.

Once the database is configured you can use Web Site | ASP.NET Web...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 December 3rd, 2009, 09:20 AM
Replies: 10
Views: 1,589
Posted By Imar
Hi Fed, Inserting images is indeed done...

Hi Fed,

Inserting images is indeed done with the FckEditor. Take a look at their official site for insturctions (and the latest version of the editor). It should work, but you may need to...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 December 3rd, 2009, 09:15 AM
Replies: 3
Views: 780
Posted By Imar
Hi Fed, If I am not mistaken (it's been a...

Hi Fed,

If I am not mistaken (it's been a while since I wrote it and I don't have the book here), the menu items float. Something like this:

<ul>
<li>Item 1</li>
<li>Item 2</li>
...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 December 1st, 2009, 04:53 AM
Replies: 10
Views: 1,589
Posted By Imar
These are called self-closing tags and are used...

These are called self-closing tags and are used for empty elements. They are identical to empty elements. E.g. this:

<appSettings />

is equivalant to this:

<appSettings></appSettings>
...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 30th, 2009, 03:42 PM
Replies: 10
Views: 1,589
Posted By Imar
Yes, you can easily upgrade the site to .NET 3.5...

Yes, you can easily upgrade the site to .NET 3.5 using VS 2008 (you find an option on the Properties Pages for the site). Your config file will be updated automatically. I think you could remove the...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 28th, 2009, 05:36 AM
Replies: 10
Views: 1,589
Posted By Imar
Hi Fed, The procedures (and tables and...

Hi Fed,

The procedures (and tables and views) are part of the ASP.NET Application Services such as Membership and Roles. They are sometimes created by ASP.NET automatically when you're using the...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 November 5th, 2009, 04:16 AM
Replies: 27
Views: 4,128
Posted By Imar
If you didn't have a database installed before...

If you didn't have a database installed before you installed the Dev edition, how did you follow along witth the database chapters?
If you install VS 2008 or VWD 2005 SQL Server Express 2005 Express...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 October 25th, 2009, 06:25 AM
Replies: 27
Views: 4,128
Posted By Imar
Hi Fed, I don't get the error you're...

Hi Fed,

I don't get the error you're describing but I do see this in Reviews.aspx:

DataNavigateUrlFormatString="AddEditReview.aspx?Id =(0)"

You're using parentheses instead of curly...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 October 24th, 2009, 03:54 PM
Replies: 27
Views: 4,128
Posted By Imar
A text box is the default behavior, unless you...

A text box is the default behavior, unless you change it to a DropDownList manually. The exercise on page 413 and later shows you how to do that. Mind you: the download code is the *end* result of...
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 October 24th, 2009, 04:52 AM
Replies: 27
Views: 4,128
Posted By Imar
Oh, I think I see what you mean with the security...

Oh, I think I see what you mean with the security settings. Take a look at the Try It Out exercise on page 539; that's where you learn how to disable this feature.

Cheers,

Imar
Forum: BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 October 24th, 2009, 04:43 AM
Replies: 27
Views: 4,128
Posted By Imar
Not sure what you mean with the missing security...

Not sure what you mean with the missing security question fields.

The refused IP is probably because your mail server is rejecting your message. Somewhere in the stack trace you see this:


...
Showing results 1 to 25 of 26

 




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