Server control learning - generated client script for fur

xiaoxiao2021-03-06  108

Only two HTML form elements ("Button" and "ImageButton) are caused to return. If the custom control presents an HTML element that does not cause a return (such as "textbox) or" linkbutton), you want the control to start forth, you can rely on the client in ASP.NET The event structure of the script (JAVAScript) is programmed to implement this.

Protected Overrides Sub Render (Output As HTMLTextWriter) Output.write (" ") Output.write ("& me.uniqueID &" ") End Sub

The GETPOSTBACKEVENTREFERENCE method issues a repur-raised client script and also provides references to the controls that start the return event. In the explanation, the HTML source code is like this is like this' ******************************************************* *********************************************************** **************

Here is the customer ="link" href="javascript:__dopostback('Link' ,''""> link