Hi,
Somebody help me please.I am stuck with this.
<script type="text/javascript">
function openPrompt() {
radprompt("please enter the file name", CallBackFn);
}
function CallBackFn(arg) {
document.getElementById("<%=hdnField1.ClientID%>").value = arg;
}
</script>
I have specified onClientClick="openPrompt()" in the button control.But this directly executes the serverside code.but it should execute server side code only after i enter the file name and click ok.please help.
Thanks.
|