Took me a while but AJAX worked like a charm! Thank you all for your input.
rbr On Sep 23, 2:45 pm, Paul <[EMAIL PROTECTED]> wrote: > In the java script, did you use FindControl? I would use AJAX. For me, it is > a lot easier than Java Script, though I believe the industry is moving away > from that. > > Use the click or selected index changed event for both list views. Set the > other selected index to -1. It isn't the most robust or clean solution, but > it is easy. > > > > > > On Tue, Sep 23, 2008 at 4:38 PM, rbr <[EMAIL PROTECTED]> wrote: > > > I actually tried that but, I'm getting a javascript error saying that > > the listbox is undefined????? > > > Here is what I have: > > > onclick="_lstInactiveJobPostings.SelectedIndex = -1;" > > > I also tried putting it in a seperate function and got the same error. > > > Thanks, > > > rbr > > > On Sep 23, 1:45 pm, Paul <[EMAIL PROTECTED]> wrote: > > > AJAX? lstOne.SelectedIndex = -1 > > > > On Tue, Sep 23, 2008 at 2:59 PM, rbr <[EMAIL PROTECTED]> wrote: > > > > > I have two listboxes on an asp.net web control (ascx). I want them to > > > > act non-mutually-exclusive. In other words, if an item in one listbox > > > > is selected, I want the other to be clear. > > > > > The problem I am solving is that I have a listbox with active job > > > > postings and a second with inactive job postings for my employer. I > > > > want to be able to just use one button to pull the selected job > > > > posting. Currently, this is impossible since a posting from each > > > > listbox may be selected. > > > > > I have tried numerous javascript options without luck. However, I am > > > > admittedly a novice at javascript. In addition, extending the listbox > > > > control is not an option in my environment. > > > > > Thank you in advance! > > > > > rbr > > > > -- > > > _______________________________ > > > > Take care, > > > Paul > > > > It is not we non-interventionists who are isolationists. The real > > > isolationists are those who impose sanctions and embargos on countries > > and > > > peoples across the globe and who choose to use force overseas to promote > > > democracy. A counterproductive approach that actually leads the U.S. to > > be > > > more resented and more isolated in the world. > > > > Dr. Ron Paul > > > >www.RonPaul2008.com-Hide quoted text - > > > > - Show quoted text - > > -- > _______________________________ > > Take care, > Paul > > It is not we non-interventionists who are isolationists. The real > isolationists are those who impose sanctions and embargos on countries and > peoples across the globe and who choose to use force overseas to promote > democracy. A counterproductive approach that actually leads the U.S. to be > more resented and more isolated in the world. > > Dr. Ron Paul > > www.RonPaul2008.com- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
