Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: philip_cole
Forum: ASP.NET 3.5 Basics June 17th, 2009, 06:22 PM
Replies: 10
Views: 27,435
Posted By philip_cole
Any time Dave. No Lee unfortunately it's not...

Any time Dave.

No Lee unfortunately it's not on MSDN - I had to find out the hard way by swearing at my screen for most of a day. If you debug a page with breakpoints in Page_Load and ItemCreated,...
Forum: ASP.NET 3.5 Basics June 15th, 2009, 01:05 PM
Replies: 10
Views: 27,435
Posted By philip_cole
Indeed, depending on how it is bound. But...

Indeed, depending on how it is bound. But remember ItemCreated is also raised before Page_Load on each request, so update events etc can be raised, at which point it will not be binding.
It works in...
Forum: ASP.NET 3.5 Basics June 15th, 2009, 12:10 PM
Replies: 10
Views: 27,435
Posted By philip_cole
Sorry Lee, there is a slight error in your code....

Sorry Lee, there is a slight error in your code. [:p]

OK I had to dig deep to find it, but it's worth mentioning that ItemCreated is raised each time the layout of the ListView is created, not...
Forum: ASP.NET 3.5 Basics June 13th, 2009, 03:12 PM
Replies: 10
Views: 27,435
Posted By philip_cole
Cast to ListViewDataItem

Hi David,

In the ItemDataBound event for items which are ListViewItemType.DataItem, e.Item is of type ListViewDataItem. You can cast e.Item to this and then use its DataItem property the same as...
Showing results 1 to 4 of 4

 


All times are GMT -4. The time now is 11:24 AM.


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