CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_asp.net_1.x_to_asp.net_2.0 Tags:
Item Type: NewsGroup Date Entered: 1/7/2008 10:22:41 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 36 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
Bhalchandra
Asp.Net User
SelectedIndex is not reflecting in ListBox that is enabled at client side1/7/2008 10:22:41 AM

0/0

Hi,

When I upgraded my ASP.Net 1.1 web application to ASP.Net 2.0. I encountered one issues with ListBox control of WebUI. The senario is as given below

A ListBox is disabled at server side by setting ListBox.Enabled = true. The View State of ListBox is enabled

At client side this listbox is enabled by client script.

User selects few options in ListBox and clicks on Save button.

The selected values are not available on Server. It shows the values from ViewState. In .Net 1.1 it use to update selected indexes as per new selection even if control is disabled.

The behavior of dropdownlist and textbox  in 2.0 is same as that of 1.1. i.e. they are updating the values from client even if control is disabled at server side.

Can any body explain me why ListBox is behaving differently? Is it a bug or change happened in ASP.Net 2.0.

 

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
SelectedIndex is not reflecting in ListBox that is enabled at ... SelectedIndex is not reflecting in ListBox that is enabled at client side. Last post 01-07-2008 5:22 AM by Bhalchandra. 0 replies. ...
CodeProject: Best Practice for Binding WinForms ListControls. Free ... This article demonstrates the best technique for databinding the ListBox and ..... Enabled = true; This does not stop firing the SelectedIndexChanged event ...
ListBox and CheckedListBox (C# Programming Tutorial) • Geekpedia Every item in a list box has an index. The SelectedIndex property shows us ..... how can i select all the checkboxes in a checkboxlist from client side in ...
Inside Microsoft: Creating Dynamic List Boxes With Cross-Browser ... The way we do this combines both client-side JavaScript and server-side ASP VBS cript ... selectedIndex = 0; // change length of options list to new required ...
UpdatePanel with RadioButton/List Does Not Update when Selected at ... Where 'RadioButtonList1_0 is the client side ID of the radio button we need to ... -selectedindexchanged-not-working-correctly-in-ajax.html ...
CodeProject: A Complete Read Only ComboBox. Free source code and ... However, the property "SelectedIndex" and "SelectedItem" in "ComboBox" reflect the current selection... But I do not know how to correct the problem when I ...
Nikhil Kothari's Weblog : Atlas XML Script However it all is rendered client side. The 'Atlas' button property is set to ' client ... but to have a postback on a dropdown selectedIndexChanged is not. ...
CodeProject: Magic AJAX: Applying AJAX to your existing Web Pages ... DoPostCallBack call on the client side, and return false; ..... event or a dropdown listbox's selectedindexchanged event does not always update the page. ...
Working with Web and JSP Targets It is standard practice to put client-side scripts in the Head section of your document, but the Page view in the HTML editor does not handle scripts in the ...
CLIENT SIDE XML - ASP on steroids ! - SQL Server Central To demonstrate the client-side capabilities of the XML DOM, I will be relying ..... selectedIndex); //index in list box if (movewhere=='previous') { if ...




Search This Site:










3.0.10 - ie 6 and ftb problem

problems with trust levels

changing pages in a module results forces logout

could not find stored procedure 'pagedupcomingeventlist'

enterprise library 2.0 - cryptography block - deployment to host

document: duplicate filename

cookie expiration with forms authentication ?

navigation controls

dotnetnuke 2.12 deployment.... can't edit tabs or administer

will the dnn v2 will run smoothly when asp.net v2 comes out?

security in .net

how to make a non-clickable treeview?

any dnn 3.x moudle development guide in c# ?

url rewrite error (probably)

problem using masters pages

yetanotherforums error question

how do i get dnn to use the paypal sandbox?

checking the access permission on folders.

accordion style menu

custom extensions in vwd

urgent - getting ad groups via forms authentication and active directory

is dotnetnuke - ( dnn 1.0.9 ) stable?

rendering the contents of the errorpage to text file and saving it to root directory???

caching search results from database

any of the existing flaws fixed..

accessing controls

events only fire when i refresh the page

your hosting provider has disabled the site log history feature for your portal.

dnn content localisation – the perfect tool is out there! for free!

changes related to session-state and user controls?

 
All Times Are GMT