Let me give you a brief about what Office Web App Server is for those who don’t know what it is used for. Its basically a server which provides the Office Services to edit or view the office documents in the browser itself without the need of office installed on local machine of end users.
Installing OWA Server on Windows Server is not a pain until its Windows Server 2012 R2. Normally one would think like SharePoint it would give the list of pre-requisites which would be installed automatically but it doesn’t do that.
- Using ScriptManager Class.
- Using Page.RegisterClientScriptBlock or Page.RegisterStartupScript or Page.ClientScript object
Page.RegisterClientScriptBlock or Page.RegisterStartupScript methods are deprecated methods and they shouldn’t be used. Microsoft has replaced them with Page.ClientScript object methods.
ScriptManager class can also be used to do the same but with the slight difference, these methods are compatible with Asp.Net AJAX partial post backs where as the Page.ClientScript object methods are not compatible with Asp.Net AJAX.
Recently, I faced an issue in which I need to get the ID of the control which is responsible for post back inside update panel.
If we are using Update Panel and then we cannot get the post back control id using Request.Form[“__EVENTTARGET”].