Greetings,
I am having some unusual issues with web forms on my public-facing internet servers. I can run everything fine both locally and on my internal intranet servers. I have forms that show or hide table rows depending on what step you are on in the form. This form reads and writes to a SQL database via a Web Service. I have eliminated AJAX or JavaScript issues by creating a simple test form that is showing the same erronious behavior...
Web Service:
The form starts by showing the "Get Employee ID" section, hiding the other two sections. I click it and it shows the "Add a Message" section, and seems to retrieve the Employee ID field and populate the label correctly. However, at this point, the "Show Message Button" checkbox is supposed to post-back to unhide the "View Your Message" button, but instead, it unhides everything on the form, and clears out the Employee ID that it retrieved earlier. None of the controls on the form work as expected at this point.
Like I said, the form works fine locally and on my intranet servers. Also, all of my forms were working fine on my external servers until about a month ago when they suddenly began exhibiting this strange behavior. Nothing was installed, patched, or updated on these servers when this started happening. If you have seen this before or have any ideas of things I could try to fix this problem, I will be greatly appreciative. Thank you!
Matt
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Suthish NairRank #92 · 22.8K reputationPosted Oct 4, 2010, 11:03 AM EDT
0
Its seems working for me, code sample used attached. (using VS2010).
Be sure your clicking on checkbox :-)
I will suggest, you must use MultiView control for theses kind of logics.
Suthish NairRank #92 · 22.8K reputationPosted Oct 4, 2010, 11:03 AM EDT
Its seems working for me, code sample used attached. (using VS2010).
Be sure your clicking on checkbox :-)
I will suggest, you must use MultiView control for theses kind of logics.
refer some good article:
http://www.c-sharpcorner.com/UploadFile/mahesh/Multiview10092005215233PM/Multiview.aspx
http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/WorkingWithTheMultiviewControlInASPNet212182005225903PM/WorkingWithTheMultiviewControlInASPNet2.aspx
M Larsen3 reputationPosted Oct 4, 2010, 1:02 PM EDT