I would wire up the the onSelectedIndexChange event.
Public Sub selStatus_OnSelectedIndexChanged(ByVal source As Object, ByVal e As EventArgs)
'code to populate next combo.
End Sub
you can either have client side code to submit or a submit button.
On the server something like this will work.
strSql = "select * from [mytable] where field= '" & request("myDropdown") &"'"
There is a control available for free on www.metabuilders.com called Default Button. I would recommend looking at it as it includes source code.
Also if you have focus issues look at FirstFocus control
hth
You could output a little javascript to handle it.
<script type="text/javascript"><!--
function handleEnter() {
return !(window.event && window.event.keyCode == 13); }
//--></script>
with an onKeypress on your textbox like so...
onkeypress="return handleEnter();"
You may want to look into the Exception Application Block on msdn. It is microsoft code you can use or customize. We are using it to handle our exceptions.
When you created it on your development box it created a web in your local iis. Replicate that to they web site you want to show. You will need the .aspx .ascx and a bin folder with your dll along with .css, .config etc files.
hth.
this should assist you...
Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetlpMSDN.asp?frame=true
in the onitemdatabound event
you could handle it..... something along this way
Private Sub myGrid_ItemDataBound(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles MyGrid.ItemDataBound
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.