Recent Posts

0
Comments

CreateUserWizard - DuplicateUser Error Message not getting clear - Part 2 (jQuery) by guru_sarkar

Problem: In Part-1 I tried to solve this problem using JavaScript. Here I will share the code to do the same using jQuery . If you are new to jQuery, I will suggest you to first go through THIS short and sweet article to begin with before jumping to this...
1
Comments

CreateUserWizard - DuplicateUser Error Message not getting clear - Part 1 by guru_sarkar

Problem: This problem with CreateUserWizard(CUW) was pointed by David( haggis999 ) here . When you try to Create a new user, CUW will display a message if the user with the same username already exists i.e. somebody took that username. Also the password...
0
Comments

LoginName Control to Display Full Name instead of username by guru_sarkar

Question: How do I modify the text in LoginName Control. I want to display "Full Name" of the currently logged-in User but the LoginName control displays the username (User Id) that user uses to login. I want to display Full Name along with username in...
0
Comments

Hide a Parent Node in TreeView if there is No ChildNodes by guru_sarkar

Scenario: Say you have a TreeView that is populated based on the logged-in user role. There could be case when there are no chilc nodes for a particular parent node because user does not have access to the pages under that node. So in that case a parent...
1
Comments

Passing Value to an OnCheckedChanged Event Handler of asp.net Checkbox Control by guru_sarkar

Scenario In one of our project we have a custom CompositeDataBoundControl. I am binding the control with my custom objects collection and displaying records in <li>. Each record has One of the <li> that is hidden and contains the UniqueID...
2
Comments

Customize CreateUserWizard Control with dropDownList for PasswordQuestion by guru_sarkar

Basic Steps: Add CreateUserWizard Control to the aspx page (e.g.CreateUser.aspx) Convert it to Template by customizing the CreateUserStep Remove the Question TextBox control and add a dropdownList. Make appropriate name and validation changes Add CreatingUser...
19
Comments

Storing User Profile into a Custom Table using CreateUser Wizard control by guru_sarkar

I discussed how you can add extra controls to CreateUserWizard(CUW) Control in the blog post HERE . Assuming you have gone through the post above, what we will do here is store this extra information collected in CUW into a custom database. Other option...
6
Comments

Adding additional controls to CreateUserWizard (CUW) Control by guru_sarkar

Nothing fancy or new in this post. CreateUserWizard(CUW) control comes with some default controls for entering UserName,Password, ConfirmPassword, Email, etc. Sometimes you might want to add additional controls eg. for storing Firstname,LastName,CompanyName...
4
Comments

Allow an unapproved user to change email address by guru_sarkar

Writing this with reference to the thread on asp.net forums. This post assumes you are using ASP.NET membership feature. Although the concept can be used if you have the same scenario. Scenario: You allow users to register on your website and send them...
5
Comments

Changing user password in Web.config by guru_sarkar

Say you have your user credientials placed in your web.config . How do you change the passord for a user programatically. Less talk, more code. Sample web.config in root folder: < system.web > < compilation debug = " true " /> < authentication...
More Posts Next page »