Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Dynamically adding Dropdown, Text Box, Add Button and Remove Button
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 16th March 19:49
rocky
External User
 
Posts: 1
Default Dynamically adding Dropdown, Text Box, Add Button and Remove Button



Hi Everyone,
I am facing a poblem in creating a row which contains following
scenario in ASP.NET

|DROP_DOWN_LIST | |TEXT_BOX| |ADD_Button| |REMOVE_Button|
------------------------------ -----------------
-------------------- --------------------------

When user will press ADD_Button then the same row will be populated in
next row. The situation can be explained as


|DROP_DOWN_LIST | |TEXT_BOX| |ADD_Button| |REMOVE_Button|
------------------------------ -----------------
-------------------- --------------------------

|DROP_DOWN_LIST | |TEXT_BOX| |ADD_Button| |REMOVE_Button|
------------------------------ -----------------
-------------------- --------------------------


When User will press Remove then that row will be removed. I thought to
do this by using Java Script but not able to have any good idea about
that.
If you guys faced similar situation or have some idea then please let
me know. I would really appreciate your help.

Thanking you.
Rocky
  Reply With Quote


 


2 18th March 09:23
gaurav vaish \(www.edujinionline.com\)
External User
 
Posts: 1
Default Dynamically adding Dropdown, Text Box, Add Button and Remove Button



Has a composite control that will have all the four controls.
Publish events like AddClicked, RemoveClicked.
Handle them in the page that uses the composite control.

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666