473,378 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Dynamic Handle the selected Index changed

1) Accpet the item in TxtItem in
comma seperated values like
(Apple, Mango, Orange etc.). Store that
item in array object (objArray) in acending order."

2) Create the object of the
dropdown list objDropDwon on runtime and fill its items from objArray."


3) Create server side table and
add rows on runtime."

4) Add objDropDown to the
each row of the table."


5) Handle Selected index changed event. Display the current selected name on screen

Note: give me code guide how can done 1 to 5 step.
Sep 15 '10 #1
1 2456
Frinavale
9,735 Expert Mod 8TB
Kapil tripathi,

Welcome to Bytes.

This forum is dedicated to help you solve your problems but the experts here are not going to give you full code solutions complete with comments explaining every line. It's truly unfair to ask the experts here to do your work for you.

We are more than happy to help you through any problems you are having with your code but you have to attempt to implement the solution first.

Have you added the controls to the aspx page that are required to do what you need to do?

What have you tried so far?
What errors are you getting if any?
What is wrong with your program?


I think you would be interested in checking out the documentation found in the MSDN Library. There you will find articles on all .NET controls complete with examples on how to use them. For example there are multiple articles on the topic of the DropDownList control and the TextBox control. There are also articles there on the DataTable class.

Since you have to work with dynamic controls I recommend that you look over the Bytes article on how to use dynamic controls in .NET as well.

-Frinny
Sep 15 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: william_dudek | last post by:
I am becoming extremely frustrated with the event handlingin C#. I need to handle the OnSelectedIndex changed event and am getting the following error message when I build the application. ...
0
by: Julie Barnet | last post by:
Can someone please post a small example of how to trap a selected index changed event from a dropdownlist in a datagrid? Thanks in advance Julie Barnet
5
by: Steve Jones | last post by:
Hi there, I am working with web forms, and am finding that the standard list of combo box events is dramatically reduced when using the dropdownlist. For example, the only event that I can see...
0
by: jmatviak | last post by:
Hi, I have created a dynamic dropdownlist and set the selected index to that control. When I add the control to the table cell via a <tablecellname>.Controls.Add(<dropdownlist>), the index...
0
by: DCC700 | last post by:
After converting a web application to 2005, I am receiving an invalid character error when I change the value in a dropdown list. The dropdown list is set to postback on selected index changed and...
11
by: Santosh | last post by:
Dear all , i am writting following code. if(Page.IsPostBack==false) { try { BindSectionDropDownlist();
1
by: RichGK | last post by:
The first time I run my code the list box sends a selected index changed event even though at this point there has been no activity with the mouse. The value returned from SelectedValue according...
1
by: RK800 | last post by:
could someone help me out with this?? i am creating a dropdown(dd2) dynamically inside a <div> , on the selected index event of another dropdown(dd1). somehow i am not able to handle or get the...
5
by: Kalkin | last post by:
Hi Is it possible to change the data source of a dropdown list in a gridview from another dropdown list selected index changed method in the same gridview? for example I have a dropdown that...
0
by: perumalsamy R | last post by:
I am using gridview in my project.When i am clicking the checkbox ,I want to add the price value on gridview selected index changed event.can you help for my problem please help me?
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.