modal

M

Mike

I'm in the process of converting a VB6 app to the web and and using .NET
(C#). In the VB app on the grid if the users clicks on a row another form
displays with detailed information about that row they clicked.
Now my question is with the .NET grid can I allow the user to double click a
row within the grid and have a modal display with more detailed information
from the row selected?

thx
 
A

Andrew de la Harpe

yes but that's not a .NET thing. it's client side scripting.
you can embed anything you like with the datagrid.
A
 
B

Bruno Sirianni

You can make a template column with links to the page that display the
detailed information.
For open modal window from link you must use a javascript function in
OnClick event (client side!).

modal windows (I think) are supported only in IE... you can use simple
pop-up!

example :
normal:
<a href="details.aspx" OnClick="window.open(this.href, 'details', '
...... ');" >descr</a>

modal :
window.showModalDialog(.....);

Brun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top