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

  • Home
  • SEARCH
  • 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 8093901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:37:07+00:00 2026-06-05T20:37:07+00:00

I have a telerik-radgrid where I use an editcolumn. For the edit-column I use

  • 0

I have a telerik-radgrid where I use an editcolumn. For the edit-column I use a webusercontrol, I created. This works fine.

But know there should be two editlinks. Depending on which he chooses, i want to show a different usercontrol.

when i create two GridEditCommandColumns i get an error, because of two columns with the same id “EditButton”

I don’t want to put the whole content of the usercontrols into one and show just the content needed, although this would work. But the controls are quite big and it wouldn’t be fine to work with it afterwards.

How can I use two Edit-Columns in one radgrid?

Thank you

  • 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-05T20:37:09+00:00Added an answer on June 5, 2026 at 8:37 pm

    I found it out myself

    I created a GridButtonColumn with the command Edit
    and a GridEditCommandColumns where i assign one of my usercontrols to it.

    when it comes to the EditCommand-Event I do following:

    if (((LinkButton)e.CommandSource).Text == "Edit1") //The Title of EditColumn 1
    {
        rgCases.MasterTableView.EditFormSettings.UserControlName = "WebUC1.ascx";
    }
    else
    {
        rgCases.MasterTableView.EditFormSettings.UserControlName = "WebUC2.ascx";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this Telerik radgrid | Encryption Key | Password to encode | Edit
I have Telerik RadGrid with a custom edit form. In my edit form there
I have grid in my ASP.NET page (actualy it's Telerik RadGrid). There is GridButtonColumn
I have a Telerik's RadGrid which has 2 columns like this: <Columns> <telerik:GridBoundColumn HeaderText=AirlineCode
I have a problem with the get_selectedItems() function. I use RadGrid from Telerik .
I have a RadGrid from Telerik with a GridClientSelectColumn column. When the user checks
I have a grid view like this : <telerik:RadGrid ID=RadGrid1 runat=server GridLines=None AllowPaging=true PageSize=20
I'm using a user control in some edit item template (telerik radgrid). But, my
I'm trying to use the Telerik RadGrid, but I'm getting the following warning: Element
I have a Telerik RadGrid with a GridTemplateColumn that contains a checkbox, as follows:

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.