���That's true, but I think the problem here is that listboxes need Viewstate to tell them what their items are from the previous page.� When you use Javascript to add items, Viewstate is not affected, so the items are not remembered. ���What you need to do is to keep a hidden field to store the names and values of the swapped items, so you can read it on postback.� Kind of like this example:
http://learnasp.com/freebook/learn/elb_linked_vb.aspx From: Eva Li [EMAIL PROTECTED] If the list data is re-populated during postback, you lose your selection. Eva jamil tamimi wrote: Dear All, i create a tow listboxes in my web page. i copy and take the data from one to another by javascript function. i have a dropdown and another controls in the same page. whem an event in one of the control postback the list cleared and return to the default data. i want to let the tow list keep the data through any postback or any event to the page. thanks in advance p_somani_2000 wrote: Dear Dean, Thanks for the link. I went through it. They provide controls or inheritance facilities , But we have already developed a big website And I need some solution which does not need much changes like changes in my .CS file ,or replacing existing controls with new one in all aspx pages. I understand that I am displaying a lazy type of gesture, But our client wont give us that much of time. Is there some short solution. Also I need to mention here 2 important things: (1) Each of the aspx page is loaded into a placeholder of a template that is inherited in each page (2) We use Validationsummary which displays with showmessage=true Thanks in advance Parag Somani --- In [email protected], Dean Fiala wrote: > Client-side validation does not work in non-IE browsers. There is a > work around but it is a little more involved than editing > BrowsersCaps. > > Here's a link to an article that walks you how to do it. > > http://aspnet.4guysfromrolla.com/articles/051204-1.aspx > > On 6/9/05, p_somani_2000 wrote: > > I copied it into the root directory but no success > > > > > > > > > > --- In [email protected], [EMAIL PROTECTED] wrote: > > > Copy the aspnet_client directory to the root directory of your > > application. > > > NON-IE browsers can't "find" the WebUIValidation.js file. > > > ASP.NET 2.0 is supposed to fix this problem. > > > > > > > > > Quoting Parag Somani : > > > > > > > [Browser Compatibility issue] > > > > we have developed a site in asp.net > > > > we have used required field validators for our site. > > > > But these validators are not working on browsers other than IE > > > > I have tried many solutions but could not succeed > > > > I have also tried to copy code for tag from various > > help sites > > > > into my web.config but it could not work. > > > > Please Help for this problem > > > > Parag Somani > > > > Thanks in advance > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > > http://mail.yahoo.com > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > -- > Dean Fiala > Very Practical Software, Inc > http://www.vpsw.com --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Yahoo! Mail - You care about security. So do we. [Non-text portions of this message have been removed] --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] Yahoo! Groups Links [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
