Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Saturday, March 24, 2012

Dropdowns inside updatepanel flash on postback.

I have 2 dropdown controls inside an updatepanel. One is disabled or enabled dependent on the selection of the other dropdown. The disabled one has its autopostback property set to false. The other one has autopostback=true. When I make selection in dropdown 1, both dropdowns flash. Is there a way to prevent the redrawing of the controls and just have the data in them update?

Thanks,

John

Put the both the DropDownlist control in to its own UpdatePanel.And make the second updatepanel Updatemode ="Conditional" and when you want to second DDL to be enable do it in the code and call the update() method in the UpdatePanel two ..

refer the following link for more information

http://asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx

Wednesday, March 21, 2012

DropDownList displaying press SPACEBAR or ENTER to activate

This message is like the one that appears on embedded flash movies when they are not instantiated correctly.

But I am using MS AJAX and this is just a DropDownMenu. In this case I am using IE6 and the Drop Down is outside of an update panel. Pressing the spacebar activates the dropdown and it works normally.

Has anybody seen this behavior before?

sounds like you used a windows forms dropdownlist control instead of a web dropdownlist control.

check to make sure you're actually using the asp:dropdownlist