Changing function from position gives 'name is not declared'

42 Views Asked by At

I'm working on a project in asp.net with vb.net

I changed a function from team.aspx.vb to a global file with all my functions in it. But now it has some errors (name 'ddl_type' is not declared). This error makes sense cause this ddl_type had a runat=server and was directly connected to the frontend file team.aspx.

How can I link this ddl_type in my functions.aspx.vb file to the correct id='ddl_type' in my frontend file team.aspx?

Don't really think adding code to this question makes it any clearer?

0

There are 0 best solutions below