Ask a Question related to ASP.NET General, Design and Development.
-
Konrad R. #1
firing event on server via javascript
Hi all
is there any possiblity of doing this ?
for example,i have handler procedure defined in
codebehind :
protected sub proc(sender as object, e as eventargs)
handles ___.____ ???
'code here
end sub
i want to fire this procedure via javascript, and i dont
want to 'form.submit()', i just want run this specific
code defined in handler (what should i place instead of
___.___ then ??)
many thanks in advance
Konrad R. Guest
-
event firing problem
Hi IN my asp.net application (C#.net) i've grid control whith pagerstyle mode=numericpages. in codebehind page i've events for... -
Server Control - Datagrid paging event - not firing for previous pages
Hello All I am having a pretty wired problem...I am writing a web part (SPS 2003) that uses a Datagrid. In the web part, I create the datagird... -
OnUpdate Event Not Firing When I Want It
I have a DataGrid with an Edit Mode. When in Edit Mode, I make a change to a textbox and the Update event fires. This works fine. However, the... -
SelectedIndexChanged event not firing
Is the AutoPostBack property of the DropDown set to True? -- HTH, Kevin Spencer Microsoft MVP ..Net Developer http://www.takempis.com... -
server event not firing
I have a form with a single field and a submit button with a server event. If I click the submit button, the event runs and everything is fine, if... -
Kevin Spencer #2
Re: firing event on server via javascript
I think you're misunderstanding the way that ASP.Net works. HTTP is
stateless. There is NO connection between the client and the server. You can
fire an event on the server from the client, but the only way to do it is to
post the form back to the server.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"Konrad R." <krotuski@_no_sp.am_mion.elka.pw.edu.pl> wrote in message
news:099901c35dbd$d90ce950$a501280a@phx.gbl...> Hi all
>
> is there any possiblity of doing this ?
>
> for example,i have handler procedure defined in
> codebehind :
>
> protected sub proc(sender as object, e as eventargs)
> handles ___.____ ???
> 'code here
> end sub
>
> i want to fire this procedure via javascript, and i dont
> want to 'form.submit()', i just want run this specific
> code defined in handler (what should i place instead of
> ___.___ then ??)
>
> many thanks in advance
Kevin Spencer Guest



Reply With Quote

