Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to add cliet side event to server side?
and
how to register client script to sever side? wt difference
these two

Answer Posted / raju

we can register client script in serverside also....if u
want to make it in serverside use this code...

ClientScript.RegisterStartupScript(Me.GetType
(), "script", "<script language=""javascript"">function1()
</script>")

(or)

Me.Page.RegisterClientScriptBlock("close", "<script
language=javascript>javascriptcode......</script>")

I think there is no difference b/n those two....depending
upon the situatio we can use any of these....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is session id generated?

930


In which event of the page viewstate is available?

874


where can i gather the materials for MCP certification

5296


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

2166


What are directives in asp.net?

958


Explain Life cycle of ASP.NET page when a request is made.

1223


Which object encapsulates state or data of a user?

1069


What is applicatio domain?

1006


A Web Service Can Only Be Written In .net. Is it True??

1061


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

975


Explain about solution explorer window?

1032


How do I upload a file from my ASP.NET page?

1052


What does the .webpart file do?

1027


Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?

1068


How can you display all validation messages in one control?

992