Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 9th, 2006, 05:35 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DropDownList

Hi all,

I trying to make my dropdownlist to autopost back when needed so i use this coding

Code:
ddlGLCode.Attributes["onchange"] = "if (ddlNotListed(document.getElementById('" + ddlGLCode.ClientID + "')))";
but it dun work, so i take a look at the html source
and find out that there is a ";" breaking the whole if statement, is there aniway to bypass it.

i found out this code from here and waitin for that person to reply but at the meantime i decided to ask others as well

  #2 (permalink)  
Old October 12th, 2006, 12:55 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Lu5ck,
    I will find the solution of ur problem



  #3 (permalink)  
Old October 13th, 2006, 04:03 AM
Authorized User
 
Join Date: May 2006
Location: New Delhi, Delhi, India.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Go to your properties of dropdownlist and set it's autopostback property true;



http://www.apnasaathi.blogspot.com

rajkumar sharma
  #4 (permalink)  
Old October 13th, 2006, 04:05 AM
Authorized User
 
Join Date: May 2006
Location: New Delhi, Delhi, India.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Go to your properties of dropdownlist and set it's autopostback property true.




-------------------
rajkumar sharma
http://www.apnasaathi.blogspot.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
dropdownlist sumith ASP.NET 1.0 and 1.1 Professional 1 February 23rd, 2007 09:11 AM
DropdownList Venkatesan ASP.NET 1.0 and 1.1 Basics 1 December 11th, 2006 11:03 AM
how to get value from dropdownlist vandat ASP.NET 1.0 and 1.1 Basics 3 November 28th, 2005 12:47 AM
DropDownList chiraagb VS.NET 2002/2003 5 June 15th, 2004 03:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.