Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 11th, 2008, 08:37 AM
Registered User
 
Join Date: Nov 2006
Location: chennai, tamilnadu, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to janakiraman
Default How to retain the value for the drop down.

Hi

I have a form view. Inside the form view I have a drop down. I do not use Object data source. Instead I assign the datasource at the code behind. If I change the value of the drop down I show a text box beside it and user can enter value. Upon onblur event of this text box I call a javascript and submit the page.
    Upon post back I once again bind the entered value and make the selected value as the entered value. If the user clicks the save link I could not get the selected of the drop down.

I even tried using javascript and I was able to successfully add the value to the drop down and make it selected. But when I look for the selected value I get nothing.

Please help me in this regard

Thanks
Janakiraman

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Button does not retain visible property mhshpk ASP.NET 2.0 Professional 2 July 18th, 2007 11:24 AM
Retain the value of Controls S_Dogra ASP.NET 1.0 and 1.1 Professional 1 January 31st, 2007 01:21 PM
How to retain radio button check asif_aslam ASP.NET 1.0 and 1.1 Professional 0 May 4th, 2006 06:10 AM
Retain form values qhong Javascript 1 May 13th, 2004 02:02 AM



All times are GMT -4. The time now is 05:12 AM.


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