Author: junkrail | Posted on: 7/2/2010 4:22:04 PM | Views : 963




Hi guys, I have the followin problem.

I need to execute from the .aspx file a code-behind function on onClick event.

When I run the project, the ASP sentence is beign execute before show the whole HTML or click the tag.

How can I avoid this? I really need to run this code-behind function after clicking the DIV dat.

I would appreciate any kind of help.

Thank you in advance.


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="_Default" %> <%@ Import Namespace="System.IO" %> <HTML> <HEAD> </HEAD> <body> <form id="Form1" runat="server"> <input type="hidden" id="perguntarAbrir" value="test"/> <div id="ejemploHTML" onclick="<% preguntarAbrir("C:\\var\\ejemp ...

Go to the complete details ...