Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Dynamic display of a moduleDynamic display of a module
Previous
 
Next
New Post
5/29/2008 5:23 AM
 

Hi,

I'm looking for a solution to display a module dynamically. I have one module which contains a gridview with users and links (with a CommandArgument based on the UserID) on several of them. OnClick of those links I'd like to display another module (which is an UserDefinedTable Module) which contains several records of information about an user. So, I need to display only the UserDefinedTable concerning the chosen user.

In my opinion, I need to add a table with something like that :

UserId
ModuleId

So onclick of the links I can display the module which corresponds at the selected user. But how can i do that ?

I'm not sure I was intelligible, I can explain with more details if u need.

Any help would be greatly appreciated.

 
New Post
5/29/2008 5:34 AM
 

I really don't think this is the best way to be dealing with this. By the sounds of it you really only have one module with a filtered data set for each user. Now I'm sot fully certain of how to query UDT through parameters passed but I'm sure it must be possible. I'd suggest that rather than switching modules you add another column to the record (userid) and filter the set on this depending upon the link selected.

John


John Nicholson
 
New Post
5/29/2008 5:57 AM
 

Thank's John for your quick answer.

I've thought of this way but I can't do this like that because I have thousands records. I think it won't be performant. Moreover I need to explain more what I would like :

My GridView depends on a research : You search an username by firstname, displayname, etc... in a textbox then the gridview is databound. Then u click on a link near of the user u want to see.

Furthermore, users will have to be able to edit their information. That's why I think I need a module by user.

To resume, I need to implement these functionnalities :

- RegisteredUsers can add/edit/delete their records of information (there will be huge information with stylesheet, so it can not be saved in the profile)

- Visitors can search a registered user and see his information (in my way by clicking on the link into the GridView results)

- Admin can add/edit/delete records of all RegisteredUsers

In my opinion i'll need to develop a specific module, but can i do that with official modules ?

Best regards.

 
New Post
5/30/2008 11:51 AM
 

I've seen quite a number of these extended profiles systems creted using the like of XMod we did one which included avatars for the forum etc... you can see example on http://www.dnndev.com/ again just another option to speed things up a little another item yuo might which to look at it dynamic reg as you can add other item in to the profile but not all of them are stored in dnns standard profile system. But as far as a searchable user directory I think you will have to develop it but have a lookat xmod as a viable mean to this.


John Nicholson
 
New Post
6/2/2008 4:19 AM
 

Thank's John. It's very interesting but I don't think it could be work with my needs. It seems that I'll have to develop it.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Dynamic display of a moduleDynamic display of a module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out