DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

How To Access Server Side Function Using Javascript

  • submit to reddit
        // how to access server side function using javascript

protected string ServerFunciton()     
string toppltip= string.Format("I am a server side function");                
return tooltip;     

<asp:FileUpload ID="FileUpload1" runat="server" ToolTip='<%# ServerFunciton() %>' />