Ask a Question related to ASP.NET General, Design and Development.
-
PJ #1
DropDownList Strange Behavior
I have several dropdownlist controls in a placeholder on my form. Certain
events will show this place holder and populate the values of the items
collection of the dropdownlist controls. A placeholder surrounds each
individual dropdownlist as well and will be set to false if the data for the
dropdownlist will not cause it to have more than one item. I create the
items manually...I don't use databinding and I set both the text and the
value of each listitem. The autopostback is not set, as the follows are
read during a command event for a button.
My problem is that the SelectedIndex of any of the dropdownlist controls, in
which the value has been changed, is always 1. If it hasn't been touched,
it will be 0. The .SelectedIndex and .SelectedItem properties will not
reflect the correct selection. As a test, a dropdownlist outside of the
placeholders, in which i enter the listitem controls directly on the aspx
page, is working fine.
Any one have any idea what is going on here? I've used dropdownlist
controls thousands of times w/out encountering this issue. I'm sure I've
used them inside placeholder controls before. Inspecting the Locals, I do
see that all of the items are present for each dropdownlist, it just seems
to be the selectedindex is off. I am not manipulating the lists in this
particular event at all. I really can't seem to figure this one out.
~TIA PJ
PJ Guest
-
Strange Contribute 3 Behavior
Just recently, every time I right-click on a file icon the Contribute setup dialog appears. This also occurs when I attempt cut/copy/paste or delete... -
Strange behavior of webservices
Hi! I found same strange behavior of ASP.NET. It is possible this is the bug. Follow the steps: I create the simple service,... -
Strange behavior
The problem seems to be in c code calling ruby calling c code. ======== start test.rb puts "about to require curses" require "curses" puts... -
Strange behavior of $.
Apparently $. is not always set correct (see second ruby 1liner). Is this a bug? 12:12:42 : cat -n n 1 2 3 BAR="hello" 4 12:12:47 : ruby... -
Why strange IF...ELSE behavior
Hi all, I'm getting a strange result with the following IF statement: $bar = ($foo == 'last') ? true : false; In my script $foo normaly has...



Reply With Quote

