---
title: "Comboboxitem to be replaced by textbox on clicking"  
description: "Comboboxitem to be replaced by textbox on clicking"  
author: "Samuel Fernandes"  
published: 2013-09-04  
updated: 2013-09-04  
canonical: https://www.mindstick.com/forum/1454/comboboxitem-to-be-replaced-by-textbox-on-clicking  
category: "c#"  
tags: ["Comboboxitem", "c#", "mindstick", "textbox", "Comboboxitem replaced by textbox on click"]  
reading_time: 1 minute  

---

# Comboboxitem to be replaced by textbox on clicking

I am implementing a [comboBox](https://www.mindstick.com/articles/57/display-record-according-to-combobox-selection-in-csharp-dot-net) consisting of normal comboBoxItems and those which will allow the modification of the list bound to the comboBox.

Eg: I need the following to go into the comboBox - option1, option2, option3, AddNewOption where, upon clicking on the AddNewOption, I want the comboBoxItem to expose a [textBox](https://www.mindstick.com/forum/12714/dynamic-textbox-in-gridview) where I enter the [content](https://www.mindstick.com/articles/13019/get-the-best-content-marketing-pricing-packages-for-your-brand), which will be dynamically added to the list bound to the comboBox.

How do I implement the highlighted portion?

## Replies

### Reply by Sumit Kesarwani

Hi Samuel,\
I would probably bind to an editable collection view that adds the NewItemPlaceholder at the end, then one could define a DataTemplate for the place-holder which contains the outlined logic.


---

Original Source: https://www.mindstick.com/forum/1454/comboboxitem-to-be-replaced-by-textbox-on-clicking

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
