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.0Add column and set the navigateURLAdd column and set the navigateURL
Previous
 
Next
New Post
9/5/2007 12:08 PM
 

Hi,

 

I need to add a column into the grdUsers (users.ascx) that navigate to a page with my module and send by query string de user ID. How can i do this?

I added the new columm.. now how can i set the navigateURL to new page (with my module).

Thanks

 
New Post
9/5/2007 12:51 PM
 

Let me clarefying a little bit...

first of all, i was force to create a type of permission besides the roles, and i would like to acess through the grdUsers by adding a new column that navigate to the management of my permissions (thats it's more or less than roles management)
this managements of permissions need to recive the userID (by query string) ,so i add a new column to the grdUsers. Now, what shall i do:

- create a new module whith my management

or

- add files to the security

 

how could i set the navigate url?


Thanks

 
New Post
9/5/2007 8:43 PM
 

Id start by moving a copy of the users.ascx and users.ascx.vb code into a new module.
From there - you need to start coding.

You could populate your new grid column with a MakeURL type function call that passes in the userid from your new grid column.

Off the top of my head - something like :

        Protected Function MakeURL (ByVal MyUserId as integer) As String
            Dim _URL As String = Null.NullString
            Try
                 _URL = navigateURL( myTABID, "/userid/" & MyUserId.tostring() )

            Catch exc As Exception    'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
            Return _URL
        End Function

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Add column and set the navigateURLAdd column and set the navigateURL


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