Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Populating the DualList Control
Previous Previous
 
Next Next
New Post 8/31/2006 11:19 AM
User is offline ech01
610 posts
7th Ranked




Populating the DualList Control 

In attempting to use the DualList control, I've found that I can't get it to populate during an event. If I populate it during the page load, it works fine, but if I do it on say an itemChangeEvent, it won't populate. Can anyone explain why?

 Sub bindDualList()
            Dim objRoles As New Roles.RoleController
            Dim arrSysRoles As New ArrayList
            arrSysRoles = objRoles.GetPortalRoles(PortalId)
            Dim arrAvailableAdminRoles As New ArrayList
            Dim arrAssignedAdminRoles As New ArrayList
            arrAvailableAdminRoles = arrSysRoles
            ctlAdminRoles.Available = arrAvailableAdminRoles
            ctlAdminRoles.Assigned = arrAssignedAdminRoles
            ctlAdminRoles.DataBind()
        End Sub

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            'Put user code to initialize the page here

             If Page.IsPostBack = False Then
                
                bindDualList() 'Works 
            End If
        End Sub

Private Sub ddlLocs1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlLocs1.SelectedIndexChanged
            'fill dualistcontrol
            bindDualList() 'Doesn't work
  End Sub


www.blackhawksurfaces.com | www.nlsales.com | www.midwestfilmandvideo.com
 
New Post 5/5/2008 7:42 PM
User is offline Many UD
9 posts
10th Ranked


Re: Populating the DualList Control 

Hi,

I have the same problem with DualList control. If you found the solution, please help me!

 

Thanks in advance!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Populating the DualList Control
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke® logo are registered trademarks of DotNetNuke Corporation
Hosted by MaximumASP