User Profile

Collapse

Profile Sidebar

Collapse
nklm8485
nklm8485
Last Activity: Jan 4 '08, 12:36 PM
Joined: Jul 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nklm8485
    replied to unable to retreive the values from drop down
    in .NET
    Thank you people for your comments.
    The issue was that the variables inside the dropdown were local variables in the JS. i.e. runs only in the client side. Hence I was unable to retrieve the values. I have to go with bringing the values into a hidden variable rather than retriving from drop downs.
    See more | Go to post

    Leave a comment:


  • nklm8485
    started a topic unable to retreive the values from drop down
    in .NET

    unable to retreive the values from drop down

    I'm not able to retrieve the values from a drop down in .cs file using ddl.selectedVal ue while I'm able to retrieve in Javascript using a hidden variable.
    The problem in detail:
    Neither This
    string dateTemp = Convert.ToStrin g(ddlYear.Selec tedIndex) + "-" + Convert.ToStrin g(ddlMonth.Sele ctedIndex) + "-" + Convert.ToStrin g(ddlDay.Select edIndex);
    nor This
    string dateTemp = Convert.ToStrin g(ddlYear.Selec tedValue)...
    See more | Go to post
No activity results to display
Show More
Working...