Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 14 of 14
Search took 0.02 seconds.
Search: Posts Made By: sophia
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB August 5th, 2012, 07:24 AM
Replies: 56
Views: 9,481
Posted By Imar
Fixed.........

Fixed...... http://sophiahuja.somee.com/Member/Default.aspx

It had nothing to do with EF. However, your EF test page uses a master page that in turn uses Profile:

if (Profile.IsAnonymous == true ||...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 April 14th, 2010, 03:32 AM
Replies: 12
Views: 6,364
Posted By Imar
Do you do some debugging before you post here? ...

Do you do some debugging before you post here?

Check your code: the Id is not as string literal....

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 April 11th, 2010, 06:25 AM
Replies: 12
Views: 6,364
Posted By Imar
It looks like the page doesn't have an Id in the...

It looks like the page doesn't have an Id in the query string when you click Add. So this then:

_productId = Convert.ToInt32(Request.QueryString.Get("Id"))

results in an invalid product Id which...
Forum: ASP.NET 3.5 Basics December 5th, 2009, 11:53 AM
Replies: 8
Views: 2,130
Posted By Imar
I provided that answer in my first post to your...

I provided that answer in my first post to your original qustion (now confusingly burried somewhere else in a separate thread):...
Forum: ASP.NET 3.5 Basics December 5th, 2009, 10:27 AM
Replies: 8
Views: 2,130
Posted By Imar
You should *check* the CommandName and only...

You should *check* the CommandName and only execute the code if the command name is something you expect (e.g. not Sort or Page, but one you've set yourself):


Protected Sub...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 December 4th, 2009, 01:11 PM
Replies: 10
Views: 2,774
Posted By Imar
You're not really getting my message about...

You're not really getting my message about separate threads are you?

Anyway, I think it's caused by the call to Response.TransmitFile(p). UpdatePanels cause a partial postback with a partial...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 29th, 2009, 05:09 AM
Replies: 9
Views: 1,291
Posted By Imar
Provided that Profile.Photo contains a virtual...

Provided that Profile.Photo contains a virtual path to an image, why not simply assign the ImageUrl of the image?

Imageurl.ImageUrl = Profile.Photo

Imar
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 25th, 2009, 09:04 AM
Replies: 22
Views: 2,202
Posted By Imar
It's because I am not getting you either....

It's because I am not getting you either. Difficult to supply a useful answer on a broken question.

Anyway, like I said: you need to use e.RowIndex. It gives you the index of the row that is...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 23rd, 2009, 10:48 AM
Replies: 22
Views: 2,202
Posted By Imar
http://www.google.com/search?hl=en&source=hp&q=max...

http://www.google.com/search?hl=en&source=hp&q=max+upload+size+.net&aq=f&oq=&aqi=
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 22nd, 2009, 03:56 AM
Replies: 22
Views: 2,202
Posted By Imar
Hi there, The code itself looks fine so I don't...

Hi there,

The code itself looks fine so I don't see a reason for this behavior. Maybe you have a Handles for FormView1_ItemInserting in the Code Behind and an "OnItemInserting" in the markup code...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 17th, 2009, 02:34 PM
Replies: 18
Views: 2,934
Posted By Imar
Are you aware of an invention called...

Are you aware of an invention called punctuation?

Anyway, yes, you may end up with focus issues when the page refreshes. You could try an iframe, or tr it with custom JavaScript code and, for...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 November 17th, 2009, 04:22 AM
Replies: 18
Views: 2,934
Posted By Imar
Really? You must be using a different Google than...

Really? You must be using a different Google than I am. Your exact terms "show ads without refreshment of page" result in this:
...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 October 30th, 2009, 02:03 PM
Replies: 18
Views: 2,934
Posted By Imar
Hi there, Page methods need to be marked static...

Hi there,

Page methods need to be marked static (Shared in VB) so you need to add the Shared keyword to the function header:


Public Shared Function UserNameExists(ByVal yourName As String) As...
Forum: BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 October 19th, 2009, 04:32 PM
Replies: 17
Views: 1,803
Posted By Imar
How about using the Send method twice to send two...

How about using the Send method twice to send two different messages to different users?

http://www.systemnetmail.com/ has plenty examples....

Imar
Showing results 1 to 14 of 14

 


All times are GMT -4. The time now is 12:01 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.