Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:829908
More Search Options
RSS Available
Matching Posts
Update User Information
On my site the UserName is entered an email address(Usually easier for people to remember) I recently made a page that allows you to change your username, the update works, then i haveit redirect to the login page, but I get an error that states object not set to reference(The UserID) in the masterpage, even though it is surrounded by if (Context.User.Identity.IsAuthenticated) { MembershipUser myMasterObject = Membership.GetUser(); MasterUserId = myMasterObject.ProviderUserKey.ToString(); // error
Posted to
Security
(Forum)
by
Bobby-Z
on 12/24/2009
Re: Update User Information
Thanks - First One Worked Just fine for what I needed. I knew since I was updating an aspnet table there would be an issue if I did it directly instead of using some other code they programmed, but since I am only changing username I did a regular update. It wasn't logging them off, but it was not updating the new username/userid combo. The log out was what I needed to perform to reset.
Posted to
Security
(Forum)
by
Bobby-Z
on 12/24/2009
Re: Issues with ValidatorCalloutExtender
Found the issue, It was an unnamed div - if you place the control inside an unnamed div, it screws it up. dunno why
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
Bobby-Z
on 12/24/2009
Re: pleaze how to customize create user wizard
The Security Tutorial Located here show how, but you need to create a new table in your db or add new columns to aspnet_Users Table to store it http://www.asp.net/learn/security/tutorial-08-vb.aspx I also wrote a post on how to create a user and store information (WITHOUT THE CREATE USER WIZARD) http://forums.asp.net/t/1375441.aspx This is my final version with a stored procedure (includes all code for page, code, css(no images), sql http://www.mygreencleaningsolution.com/create%20User%20Without
Posted to
Web Forms
(Forum)
by
Bobby-Z
on 12/24/2009
Re: Create User Without Wizard - Update with Code to COPY! FREE TO ALL!
HERE IS AN UPDATE IN C# Including asp Page, C# codebehind, StoredProcedure ASP Page <div> <h3>Please Fill Out Completely:</h3> <div> <h2 style="clear: both">Account Security Information</h2> <div> <asp:Label ID="L1" runat="server" Text="Email Address:" CssClass="form-label" /> <asp:TextBox SkinID="TextBox250" ID="UserName" runat="server" ToolTip="MyEmailAddress@Domain
Posted to
Security
(Forum)
by
Bobby-Z
on 12/24/2009
C# SQL and Browser Refresh
I have a problem I need help with I have a coupon print page that records the amount and data to a table, retrieves the Identity as the CouponID #, and then displays it onto the Coupon so the log displays who printed the coupon and for what amount. I also record if and when the coupon was redeemed. This preventa someone from using the same coupon twice. However on the Print Coupon page, If a person hits the refresh button, it records another line and prints another coupon for the same amount but
Posted to
Getting Started
(Forum)
by
Bobby-Z
on 12/22/2009
User Role Display & User Roles
I have 2 problems with roles 1. I cannot display the role a current user is in using a label control my code is RoleLabel.Text = Convert.ToString(Roles.GetRolesForUser(UserID)); the error I get is : Cannot Implicitly convert type []string to string 2. I have codebehind using IsUserInRole to route to the proper method to use depending upon the user if (roles.IsUserInRole(UserID, "Customer") {Get_Customer_Info();} if (roles.IsUserInRole(UserID, "Employee") {Get_Employee_Info();
Posted to
Getting Started
(Forum)
by
Bobby-Z
on 12/22/2009
DropDownList Populate Based Upon Variable Int
I would like to populate a dropdownlist on a form based upon the available hours (int) the user might have I dont have to worry about 0 since if the available hours are zero, the form is set to visible = false but lets say I read from SQL DB and int AvailableHours = 5; How would I populate the drop down to give options 1,2,3,4,5 for the selected value and then if another user has 10 hours then options 1,2,3,4,5,6,7,8,9 and 10 Right now I have a textbox, with rangeValidator MaximumValue set to AvailableHours
Posted to
Web Forms
(Forum)
by
Bobby-Z
on 12/20/2009
Re: DropDownList Populate Based Upon Variable Int
I knew there had to be a loop involved, but couldnt figure out how to bind it - thanks
Posted to
Web Forms
(Forum)
by
Bobby-Z
on 12/20/2009
Calendar Control Extender and Range Validator
I am trying to validate a range of dates using calendar extender I have set up so start date max and min values are 12/31/9999 and DateTime.Now I would like to set the End Date Range to be MinimumValue (No Less Date than the Start Date) MaximumValue (No More than 7 days from Start Date) I currently have: StartDateRangeValidator.MinimumValue = DateTime.Today.ToShortDateString(); StartDateRangeValidator.MaximumValue = "12/31/9999"; EndDateRangeValidator.MinimumValue = StartDateCalendar.SelectedDate
Posted to
Web Forms
(Forum)
by
Bobby-Z
on 12/20/2009
Page 1 of 31 (306 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online