Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I.E.

There are two dropdown lists in a datalist itemTemplate.

dropDownList1 has two values 1, 2

dropDownList2 has two values A, B

 

On selectedIndexChange event of dropDownList1, I want to change the value selection of dropDownList2 to C, D and remove options A, B.

 

Remember: These controls only exist while datalist is in edit mode so I cannot just refer to the names of the controls in the code behind.

 

Does anyone have an asp.net example of how this can be done?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...