asp.net - call pageload event in aspx pages of a .vb page -



asp.net - call pageload event in aspx pages of a .vb page -

i have many aspx pages in 1 folder (100 pages) , maintain increasing. have 1 vb.net file has code these pages. can phone call pageload event in vb.net file these pages? im using code, not reading pageload event.

<%@ page language="vb" %> <script runat="server"> protected sub page_load(byval sender object, byval e system.eventargs) newone_load(page) end sub </script>

vb.net page code -

public module newone public sub newone_load(byref page web.ui.page) end sub end module

i found little error in code: add together handles me.load page_load sub

protected sub page_load(byval sender object, byval e system.eventargs) handles me.load

else sub never bound load event.

asp.net vb.net pageload

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -