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:695191
More Search Options
RSS Available
Matching Posts
Adding extra users to an asp.net user account
Hi there, I have the asp.net membership working in my website. I am using the feature for businesses, so for each business they have their own login. I am in the process of setting up a business that has 2 different branches, is it possible with the membership provider to add a new user to the database and attach that user to the existing account? Or should I be creating a role for each business and then adding the users to that role? Thank you
Posted to
Security
(Forum)
by
spnz
on 12/13/2009
Re: Adding extra users to an asp.net user account
Thanks MaineOne, Can a role be a member of a role? Lets say I create a role called "BusinessUser" and for each new business that I add they become part of that role. Then for each branch that is created I assign it to the role of its business. Will managing this become a nightmare?
Posted to
Security
(Forum)
by
spnz
on 12/13/2009
Nullable decimal with XDocument
Hi there, I have an XML document which I am using XDocument to navigate through. I am having a problem with a decimal that is null. This is a small example of the xml <Products> <Product StoreItemID="14"> <EntryID>1</EntryID> <PurchaseDate>2009-12-07T00:00:00</PurchaseDate> <RedeemedDate>0001-01-01T00:00:00</RedeemedDate> <AddedToDB>True</AddedToDB> <TypeID>2</TypeID> <PurchaseAmount>10.0000</PurchaseAmount>
Posted to
XML and XmlDataSource Control
(Forum)
by
spnz
on 12/6/2009
Re: Bind List<> to radiobuttonlist
Hi there, RewardTypes() isnt throwing any exceptions. I removed the return from the try catch block but still I get the same error What other information can I give you to help?
Posted to
Data Presentation Controls
(Forum)
by
spnz
on 12/2/2009
Re: Bind List<> to radiobuttonlist
It doesnt even get that far. The null error happens on radAvailableRewards.DataSource = RewardTypes();
Posted to
Data Presentation Controls
(Forum)
by
spnz
on 12/2/2009
Re: Bind List<> to radiobuttonlist
Hey there, radAvailableRewards.DataSource = RewardTypes(); causes the problem. if I try this before the above line of code List<mdStoreConfig> test = new List<mdStoreConfig>(); I dont get any error and it returns the values I am expecting.
Posted to
Data Presentation Controls
(Forum)
by
spnz
on 12/2/2009
Re: Bind List<> to radiobuttonlist
test returns a value.....this is very annoying!!!
Posted to
Data Presentation Controls
(Forum)
by
spnz
on 12/2/2009
Re: Bind List<> to radiobuttonlist
no, I am using the radiobuttonlist like so < asp : RadioButtonList ID ="radAvailableRewards" runat ="server" AutoPostBack ="True" CssClass ="optionsList" onload ="radAvailableRewards_Load" OnSelectedIndexChanged ="radAvailableRewards_SelectedIndexChanged" > <% <asp:ListItem Enabled="false" Text="Spend X Get % discount" Value="1"></asp:ListItem> <asp:ListItem Enabled="false"
Posted to
Data Presentation Controls
(Forum)
by
spnz
on 12/2/2009
Pass viewstate value from page into dynamically loaded usercontrol
Hi there, I am hoping for a little help. I am loading a usercontrol into a placeholder like this Control uc1 = this.Page.LoadControl("_usercontrols/USERCONTROL.ascx"); uc1.ID = "uc1"; ph.Controls.Add(uc1); Which loads the control as expected. I have a button in the usercontrol that calls a function where I am trying to retrieve a value from the view state. public int ReturnStoreID() { int storeID = (int)ViewState["storeid"]; return storeID; } I understand that the viewstate
Posted to
Web Forms
(Forum)
by
spnz
on 12/1/2009
Re: Pass viewstate value from page into dynamically loaded usercontrol
Thanks Amit, That sorted it.
Posted to
Web Forms
(Forum)
by
spnz
on 12/1/2009
Page 1 of 46 (452 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online