p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 1st, 2009, 11:42 AM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2009
Posts: 11
Thanks: 1
Thanked 2 Times in 2 Posts
Default Question about adding users

So when I add new users to the system, it works just fine. Saves them to the database, displays them in the custom gridview.

So next I go to Roles to create a new role to assign the newly added users to.

However, NONE of the new users show up in the select listbox. this box still maintains the users that were there before. the only way to get the newly added users is to exit the program, rebuild the solution, and then relaunch the program.

That can't be right so clearly I'm missing something. Anyone wanna take a stab?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old July 1st, 2009, 02:49 PM
Authorized User
Points: 153, Level: 3
Points: 153, Level: 3 Points: 153, Level: 3 Points: 153, Level: 3
Activity: 2%
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Apr 2009
Posts: 41
Thanks: 1
Thanked 1 Time in 1 Post
Default

Most likely it's because the user list is cached (or in the ViewState). I may have missed it, but I didn't see anywhere in the code where Vince flushed the cache or the ViewState (it's been a couple months since I looked at it though).

I know I experienced a similar issue, and wound up writing some code to clear the cache and/or ViewState.

Anyway, sorry for the vague answer - but I'd look at Cache and ViewState. You may need to write some code yourself to handle the issue.

Tim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about authorization of new users. scottlucas58 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 11 February 26th, 2009 09:19 AM
Accessing users profile values question? hcusto ASP.NET 2.0 Professional 2 August 19th, 2006 04:23 AM
Accounts module - adding new users andieje BOOK: ASP.NET Website Programming Problem-Design-Solution 1 June 27th, 2006 12:07 AM
Question about active directory users apalmero Access VBA 0 November 4th, 2003 03:13 PM
Dreamweaver MX Chapter 14 Adding Editing users pat BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 1 August 19th, 2003 03:15 PM



All times are GMT -4. The time now is 02:19 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc