I have an asp.net web page which requires the user to capture some information. On pressing a button, some server side code (vb.net) is called to validate some of the entered data.
If the validation passes OK, I then need (or would like) to display a popup which the user then selects some values from drop down lists, etc. I then need the server side to continue from that point using the values selected in the popup to do some more processing (eg. sql inserts, etc).
I already have some attributes to add "onclick" events to buttons which calls "showModalDialog" that returns back values to my page. But I would like to call this modalDialog mid-way through some server side code, and then continue using the values that have been returned back.
eg.
private sub btnCheck....
ValidateData()
'Something to call the modalDialog and return values
UpdateDatabase()
end sub
Any help greatly appreciated!
Thanks,
skip
If the validation passes OK, I then need (or would like) to display a popup which the user then selects some values from drop down lists, etc. I then need the server side to continue from that point using the values selected in the popup to do some more processing (eg. sql inserts, etc).
I already have some attributes to add "onclick" events to buttons which calls "showModalDialog" that returns back values to my page. But I would like to call this modalDialog mid-way through some server side code, and then continue using the values that have been returned back.
eg.
private sub btnCheck....
ValidateData()
'Something to call the modalDialog and return values
UpdateDatabase()
end sub
Any help greatly appreciated!
Thanks,
skip