whatever i select , the dropdownlist changed to item2
i discovered the problem became more complicated than i thought
some more background is needed
the dropdownlist is binded to datasoure ( username , password , user rank), i display the username and i return the password in selected value and the dropdownlist sorted by rank
indeed the dropdownlist working so fine and the selected item remains even after reading selected value but IN ONLY ONE COND. that such username has a unique password
if i choose ccc it will return 34343 selected index 2
if i choose dddd it will return 67657 selected index 3 if i choose aaa it will return 1234 if aaa is higher rank than bbb
if i choose bbb it will return 1234 selected index 1
I use a windows 2008 R2 dedicated server. Recently I'm in a weird problem. I host almost 15 sites in that server.All works well and the average cpu load remains 10-15 all time. Recently one of the sites starts troubling me. When it starts, the Cpu reaches 99-100 and all getting stopped. When I stopped that site and and its application pool, the server come back to normal way. This isnt a over traffic problem.Even when I point the hosted files to another domain, that site works well. Such as, My problematic site is abc.com. When I point the directory of abc.com to other xyz.com, no problem occurs. But starting abc.com hangs all things. I find that php-cgi.exe and mysqld.exe cause that damage, but same code running under other domain remain intact. ANd again this is not a trafic issue, as no sooner than I had started abc.com, cpu reaches 100%!!! Please suggest something to get me out of this.
I have 3 pages say A.aspx,B.aspx and C.aspx.
Page A and B redirect to common page C.aspx.Now on page C i want to know from which page its redirected to c,I want to do following on page C.aspx
if(redirected from A)
if(redirected from B)
I dont know how to catch redirection request.Please post the code in C# asp.net.
in my opinion ajax is good and safe control and easy to use but if u want to have more graphical effect u can use nivoo slider it's free and fast.
I have lot's of test with the 3 top of slider that are usual: 1.ajax ,2.nivoo ,3.wowslider
the result is nivoo slider won.
Most here on the CodeProject write their own programs for everything, such as slideshows, few purchase anything for use.
You can then make it more complex by adding something to store various image file locations, such as a xml file, and rotate through the record elements.
I had some slide show code from a project I had to upgrade, in which the slideshow was the only thing that worked. Actually now that I think about it, I had to fix that as well, was poorly written. Requires JQuery 1.8.2. I don't have the CSS for it anymore.
I think this had a container called slider_Container, and 4 div tags inside it, in which in moved the div inside the container. It's written in Jquery, and will not work with an update panel on the page, because you have to edit the file below to handle the UP events when they fire.