Ask a Question related to ASP.NET General, Design and Development.
-
yaya coco #1
button evet ---- server side - client side ???
I want to use button. My question is that
How can use server side and client site event at the same time.
That is:
I want to use button :
when The user click the button first of all, client side ask question "Are U
sure"
If yes then send server side function ?
Button Like this
<asp:button id="btnDelete" onclick="delFunction" runat="server">
How can I do that?
yaya coco Guest
-
flashcom: client side cant access server side
hi all, i hav install the flash com on the PC. It work well, on the server PC, i can access and log in to the 'chat room'.. however, if im... -
Controls with a client side onLoad function or seting a cursor server side
Is there any way to create a web control that calls a client side onLoad function? Its diffucilt since you are not able to access the form or... -
Is PHP client-side or server-side?
I'd like to take a look at PHP but the problem is that this far, i've used Java because it doesn't require anything else from the server it's... -
Client side and server side scripting problem
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve... -
server-side ASP w/ client -side component
Hello good folks! I need your advice on a project that i am working on. I am integrating a signature pad, a client-side web browser, and my... -
Rajesh Tiwari #2
Re: button evet ---- server side - client side ???
run this code and you will get the answer
<%@ page Language="C#" debug=true %>
<script language="C#" runat=server>
void Page_Load()
{
bt1.Attributes["onClick"]="javascript:return confirm('are u sure')";
}
public void abc(Object o,EventArgs e)
{
l.Text="Server Side Function called";
}
</script>
<form id=frm1 runat=server>
<asp:Button id=bt1 runat=server onClick="abc" Text="Submit" />
<asp:Label id=l runat=server/>
</form>
hope it helps
Rajesh
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Rajesh Tiwari Guest



Reply With Quote

