November Happy Hour will be moved to Thursday December 5th.

Where to store the code?

Vote:
 
Hi!

I'm working at a library, and want to add a simple search form to our home page. Our IT department can't help me, so I'm asking here.

The easiest solution, I think, would be if I code store my code together with the content for the specific page. So, would it be possible to store a <script runat="server"> and some <asp:*> on a specific page?

 

/ Jakob

#32572
Sep 08, 2009 18:03
Vote:
 
Yes, you can store script tags and asp.net controls on your aspx or master pages. Do you have access to the solution in Visual Studio? 
#32646
Sep 11, 2009 7:33
Vote:
 
You can even add those controls from the code behind
#32690
Sep 14, 2009 7:56
Vote:
 
Thanks for your replies! Now I know how to solve it.
#32691
Sep 14, 2009 8:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.