Click here to Skip to main content
11,480,626 members (62,232 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
means to avoid page shake during selected index change
Posted 14-Nov-12 0:22am
Edited 14-Nov-12 0:28am
v2
Comments
digimanus at 14-Nov-12 5:25am
   
set AutoPostBack="false";
Anusha SR at 14-Nov-12 7:31am
   
Sharon, if you set autopostback to false then u have to change the way of getting the dropdown slected value....
Sharon 2 at 20-Nov-12 2:04am
   
if autopostback property is false then ow can i fill second dropdown in fisrt dropdown selectedindexchange.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

In your designer, click on the drop down and look at the properties - There is one named 'AutoPostback'. Set this to false if you don't want postback behaviour.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Keep that control in update panel..................
  Permalink  
Comments
Sharon 2 at 20-Nov-12 2:08am
   
if this dropdown is in updatepanel means second dropdown will not fill...how is it possible?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

set the AutoPostBack property as false
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 294
1 OriginalGriff 155
2 Richard MacCutchan 150
3 CHill60 130
4 CPallini 125
0 Sergey Alexandrovich Kryukov 8,184
1 OriginalGriff 7,556
2 Sascha Lefèvre 3,114
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100