What type of code (server or client) is found in a Code-Behind class?

Showing Answers 1 - 19 of 19 Answers

purnima

  • Aug 6th, 2005
 

It's a server side scripting

  Was this answer useful?  Yes

Jatinder Singh Rana

  • Aug 8th, 2005
 

Server side code is found in the code behind file (you can output a string of code that will get printed on client browser like java script etc which will get executed on client browser but only line of code that can get executed ofn server is included in code behind file)

  Was this answer useful?  Yes

ANil

  • Sep 1st, 2005
 

The code which we write in code behind is all server side code we will use languages like vb or c# for this code. 
All this code will be converted in to DLL in .net

  Was this answer useful?  Yes

Sudhakar Leo

  • Oct 7th, 2005
 

Usually it contains the Server side code either C# or in VB.Net \and it can also include the Javascript code

  Was this answer useful?  Yes

Alpesh

  • Apr 19th, 2006
 

obiviously It's a server side scripting

  Was this answer useful?  Yes

suresh

  • May 5th, 2006
 

it is server side scripting.

  Was this answer useful?  Yes

Both type of code can be written in code behind page. usually we write sever side code. we can call client side function through the server side code in code behind by using

Page.ClientScript.RegisterClientScriptBlock(Type As system.Type,Key as string,script as string) in vb

mrp100461

  • Aug 6th, 2009
 

There is the ability to use both server side and client side code with in the code behind. Generally though the code behind is server side code. This code acts on Events that are fired that are not handled by the client side script.(JavaScript,vbscript, etc..) .

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions