Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8801695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:54:02+00:00 2026-06-14T00:54:02+00:00

I am currently developing a custom role/permission system… I have a user control with

  • 0

I am currently developing a custom role/permission system…

I have a user control with all my permissions already and i want to re-use it for my custom role editor.

So right now I have a dropdownlist of the custom roles and a textbox to edit the name. What I want to do is…everytime a new value is selected in the dropdownlist the page to refresh and re-load my permission control with the RoleID and RoleName properties to be set to the DDL.SelectedValue and the textbox.Text like so…

<RSIPD:Permissions ID="Permissions" RoleID="[lstBaseRoles.SelectedValue]" RoleName="[txtCustomRoleName.Text]" runat="server" />

I know I am probably going about this the wrong way as I am more familiar with MVC3 than traditional ASP.NET Webform and am still learning.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:54:03+00:00Added an answer on June 14, 2026 at 12:54 am

    This can be done in the code behind:

    Permissions.RoleID = lstBaseRoles.SelectedValue
    Permissions.RoleName = txtCustomRoleName.Text
    

    This code would need to be called in the SelectedIndexChanged event of your DropDownList, and the TextChanged event of your TextBox.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing a custom control that derives from CStatic MFC class (Smart Device
I'm currently developing a custom theme for a client of mine. What I want
I'm currently developing a custom Lync client. I need full control over the UI.
I'm currently developing a custom ticket system for internal purposes for which I've written
I'm currently developing an application for Android which needs to use a custom made
I'm currently developing a custom control and realize that my code is being run
I am currently developing a custom map, but have one issue. I have several
I'm currently working on developing a custom keyboard app that will be optimized for
I've created a SSIS Custom Task in C# and I'm currently developing the UI.
SO. I'm working with the OCS UCCAPI, developing a custom OCS client. I'm currently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.