Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionLosing Session Variables within Frames Pin
mjc22516-Sep-09 8:33
mjc22516-Sep-09 8:33 
AnswerRe: Losing Session Variables within Frames Pin
Steve van Niman16-Sep-09 12:21
Steve van Niman16-Sep-09 12:21 
GeneralRe: Losing Session Variables within Frames Pin
mjc22516-Sep-09 14:19
mjc22516-Sep-09 14:19 
GeneralRe: Losing Session Variables within Frames Pin
butchzn1-Oct-09 20:48
butchzn1-Oct-09 20:48 
QuestionFooterTemplate in Gridview. Pin
dayakar_dn16-Sep-09 8:16
dayakar_dn16-Sep-09 8:16 
AnswerRe: FooterTemplate in Gridview. Pin
Muhammad Mazhar17-Sep-09 9:22
Muhammad Mazhar17-Sep-09 9:22 
QuestionProblem with JavaScript Pin
phani2548516-Sep-09 7:02
phani2548516-Sep-09 7:02 
AnswerRe: Problem with JavaScript Pin
Manas Bhardwaj16-Sep-09 8:53
professionalManas Bhardwaj16-Sep-09 8:53 
phani25485 wrote:
Can you please tell me the code


NO, I wont give the code. But I will tell you what you should do.
When you bind the datatable to the DDL, assign the text property as emp name and value property as emp number.
Till now, we have done the server side part.

Lets, come to the client side(Javascript) now. Write a function which will be called on the click of the button that returns you the selected value for the drop down list.

That is it. Show it in the alert box. Smile | :)

Give it a try. Write some code, and if you still stuck somewhere, comeback and someone would be happy to help you.Thumbs Up | :thumbsup:

Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

GeneralRe: Problem with JavaScript Pin
phani2548516-Sep-09 15:33
phani2548516-Sep-09 15:33 
AnswerRe: Problem with JavaScript Pin
sashidhar16-Sep-09 21:16
sashidhar16-Sep-09 21:16 
AnswerRe: Problem with JavaScript Pin
Muhammad Mazhar17-Sep-09 9:27
Muhammad Mazhar17-Sep-09 9:27 
QuestionProblem with Ajax call from Infragistics ultrawebgrid Pin
sskala16-Sep-09 6:27
sskala16-Sep-09 6:27 
Questionasp:boundcolumn dataformatstring - How do you suppress the trailing zero Pin
Steve van Niman16-Sep-09 6:05
Steve van Niman16-Sep-09 6:05 
QuestionAjaxModalPopup clicking OK button ,should reatin focus on textbox Pin
yadlaprasad16-Sep-09 4:15
yadlaprasad16-Sep-09 4:15 
AnswerRe: AjaxModalPopup clicking OK button ,should reatin focus on textbox Pin
Not Active16-Sep-09 5:27
mentorNot Active16-Sep-09 5:27 
AnswerRe: AjaxModalPopup clicking OK button ,should reatin focus on textbox Pin
Muhammad Mazhar17-Sep-09 9:30
Muhammad Mazhar17-Sep-09 9:30 
QuestionRequiredFieldValidator doesn't work Pin
Jan R Hansen16-Sep-09 4:11
Jan R Hansen16-Sep-09 4:11 
AnswerRe: RequiredFieldValidator doesn't work Pin
Not Active16-Sep-09 5:24
mentorNot Active16-Sep-09 5:24 
QuestionFingerprint biometrics integration into ASP.Net application Pin
Joseph Cheriaux MPORANYI16-Sep-09 3:53
Joseph Cheriaux MPORANYI16-Sep-09 3:53 
AnswerRe: Fingerprint biometrics integration into ASP.Net application Pin
Manas Bhardwaj16-Sep-09 4:13
professionalManas Bhardwaj16-Sep-09 4:13 
AnswerRe: Fingerprint biometrics integration into ASP.Net application Pin
Abhishek Sur16-Sep-09 9:33
professionalAbhishek Sur16-Sep-09 9:33 
QuestionWeb Site Administration Tool How to change the Password length ASP.NET 3.5 Pin
BoySetsFire16-Sep-09 2:55
BoySetsFire16-Sep-09 2:55 
AnswerRe: Web Site Administration Tool How to change the Password length ASP.NET 3.5 Pin
sashidhar16-Sep-09 21:23
sashidhar16-Sep-09 21:23 
GeneralRe: Web Site Administration Tool How to change the Password length ASP.NET 3.5 Pin
BoySetsFire17-Sep-09 1:43
BoySetsFire17-Sep-09 1:43 
Questionuse windows usercontrol in web application Pin
ramki.pindi16-Sep-09 2:48
ramki.pindi16-Sep-09 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.