Click here to Skip to main content
15,920,217 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionEdit, Insert in a TreeView? Pin
Biju Sam20-Jun-07 23:49
Biju Sam20-Jun-07 23:49 
QuestionAsp.net 2.0: Redirection to a 3rd page when btn is clicked from inside iframe Pin
pencils20-Jun-07 23:45
pencils20-Jun-07 23:45 
AnswerRe: Asp.net 2.0: Redirection to a 3rd page when btn is clicked from inside iframe Pin
Chetan Ranpariya21-Jun-07 0:51
Chetan Ranpariya21-Jun-07 0:51 
AnswerRe: Asp.net 2.0: Redirection to a 3rd page when btn is clicked from inside iframe Pin
pencils21-Jun-07 1:10
pencils21-Jun-07 1:10 
Questionhow to show data in textbox blank when database returns a null value to it Pin
codingrocks20-Jun-07 23:22
codingrocks20-Jun-07 23:22 
AnswerRe: how to show data in textbox blank when database returns a null value to it Pin
atul_deeg20-Jun-07 23:40
atul_deeg20-Jun-07 23:40 
GeneralRe: how to show data in textbox blank when database returns a null value to it Pin
codingrocks20-Jun-07 23:58
codingrocks20-Jun-07 23:58 
QuestionDesign of users and profiles Pin
Rohde20-Jun-07 22:45
Rohde20-Jun-07 22:45 
I'm in need of some advice. I'm in the process of designing an ASP.NET application. The site will need to accomodate three very different types of users. Each type of user will have different properties associated with it, and each will basically map to a role.

I'm considering how to best do this with the role/membership feature of ASP.NET.

I was first contemplating inheriting from MembershipUser, i.e. create three classes that inherited from MembershipUser (one for each kind of user), but as far I understand it that means I will have to provide three provider classes each inheriting from MembershipProvder, resulting in me having to dynamically change provider at runtime, and that seems very convoluted and far from optimal.

Instead I've come to the conclusion that I'll use composition instead. The idea is to create three user classes, each of which has a MembershipUser object reference in their belly. It seems much cleaner and leaner.

But, any advice/experience on this?



"When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."

-Atlas Shrugged, Ayn Rand

Questionimage onclick event is not working Pin
Shoaib Hussain20-Jun-07 22:42
Shoaib Hussain20-Jun-07 22:42 
AnswerRe: image onclick event is not working Pin
atul_deeg20-Jun-07 23:44
atul_deeg20-Jun-07 23:44 
GeneralRe: image onclick event is not working Pin
Shoaib Hussain20-Jun-07 23:53
Shoaib Hussain20-Jun-07 23:53 
Questionhow to validate asp.net textbox? Pin
moomoooomoo20-Jun-07 22:36
moomoooomoo20-Jun-07 22:36 
AnswerRe: how to validate asp.net textbox? [modified] Pin
Rohde20-Jun-07 23:00
Rohde20-Jun-07 23:00 
AnswerRe: how to validate asp.net textbox? Pin
koolprasad200320-Jun-07 23:16
professionalkoolprasad200320-Jun-07 23:16 
GeneralRe: how to validate asp.net textbox? Pin
moomoooomoo21-Jun-07 14:07
moomoooomoo21-Jun-07 14:07 
AnswerRe: how to validate asp.net textbox? Pin
Urs Enzler20-Jun-07 23:19
Urs Enzler20-Jun-07 23:19 
GeneralRe: how to validate asp.net textbox? Pin
moomoooomoo21-Jun-07 13:58
moomoooomoo21-Jun-07 13:58 
QuestionPrint an Excel file without opening it...plz help me... Pin
pradeep kumarappagari20-Jun-07 21:53
pradeep kumarappagari20-Jun-07 21:53 
AnswerRe: Print an Excel file without opening it...plz help me... Pin
badgrs20-Jun-07 22:42
badgrs20-Jun-07 22:42 
GeneralRe: Print an Excel file without opening it...plz help me... Pin
pradeep kumarappagari21-Jun-07 0:03
pradeep kumarappagari21-Jun-07 0:03 
Questiondisplay export & print images on crystal report page. Pin
prashesh20-Jun-07 21:50
prashesh20-Jun-07 21:50 
Questionasp.net vb.net 2005 Pin
Sonia Gupta20-Jun-07 21:41
Sonia Gupta20-Jun-07 21:41 
AnswerRe: asp.net vb.net 2005 Pin
Christian Graus20-Jun-07 21:49
protectorChristian Graus20-Jun-07 21:49 
GeneralRe: asp.net vb.net 2005 Pin
Sonia Gupta20-Jun-07 22:47
Sonia Gupta20-Jun-07 22:47 
AnswerRe: asp.net vb.net 2005 Pin
badgrs20-Jun-07 22:40
badgrs20-Jun-07 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.