Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ds 191 posts 223 karma points
    Jan 17, 2011 @ 07:53
    ds
    0

    Save Dropdown list multiple render control value

    Hi all,

    What is the correct syntax to save dropdown list multiple render control value using user control via code behind. Below code snippet does not save value into member details on admin backend.

    Roles.AddUserToRole(UserName.Text, "BasicUsers");
    var profile = System.Web.Profile.ProfileBase.Create(UserName.Text);
    profile
    ["sector"] = Sector.SelectedItem.Value;
    profile
    .Save();

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies