Click here to Skip to main content
15,912,475 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,
i have a dropdown control inside Gridview control, on selection of values from the dropdown
a message box should Pop-Up showing the related message.
how can it be acheivable

Pl reply.
aamir
Posted
Comments
[no name] 5-Jul-12 9:15am    
A messagebox in ASP? No that is not what you want to do.

use OnSelectedChange event of the dropdown and write the data you want to write inside that event .
 
Share this answer
 
Hi Aamir.

You can create UserControl for DropDownList and add the javascript in the Attribute 'OnChange' event.

Its working fine for me in GridView Control.
 
Share this answer
 
Comments
aamir07 5-Jul-12 13:29pm    
dear sanjay,
can u post ur example here....it will helpfull in my query....i want to learn more abt the Asp.net and its technique

Pl reply,
aamir

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900