button of the form, a SQL statement is run and the the resultant records
autofills into corresponding textboxes. I want to bypass the button and
just have the process execute when user selects the name in the listbox,
similar to the On_Click event in VBA. How can this be done or can it be done
in VWD?
thanks.Hi,
If you are using ASP.NET 2.0(Visual Studio 2005) then you just need to AJAX
enable your ASP.NET website project.Relavant link for you is
http://ajax.asp.net.Thereafter you can place allt hese controls in
UpdatePanel and it will work like VBA Application
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
"Bret" wrote:
Quote:
Originally Posted by
I have a Listbox that displays Names. When user selects a name then clicks a
button of the form, a SQL statement is run and the the resultant records
autofills into corresponding textboxes. I want to bypass the button and
just have the process execute when user selects the name in the listbox,
similar to the On_Click event in VBA. How can this be done or can it be done
in VWD?
thanks.
Simply set the AutoPostback property of the Listbox to True.
Then no button click will be necessary.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Bret" <Bret@.discussions.microsoft.comwrote in message
news:C5A7F6CB-2E0C-4E08-B894-D63EDA1831A5@.microsoft.com...
Quote:
Originally Posted by
>I have a Listbox that displays Names. When user selects a name then clicks
>a
button of the form, a SQL statement is run and the the resultant records
autofills into corresponding textboxes. I want to bypass the button and
just have the process execute when user selects the name in the listbox,
similar to the On_Click event in VBA. How can this be done or can it be
done
in VWD?
thanks.
0 comments:
Post a Comment