Sync Javascript with ASP.Net
- From: "anassar" <anassar@xxxxxxxxx>
- Date: 29 Aug 2005 13:19:41 -0700
I have an <asp:label id="lblPrice" runat="server"/> tag that I update
on the client side using Javascript by referring to the object ID
_ctl0_lblPrice.
The Javascript does client-side calculations depending on the user's
selections of choices on the web form.
The problem I have is that ASP.Net does not seem to know anything about
the changes made by Javascript upon postback.
My question is: how do I get ASP.Net to know the latest client-side
updates to lblPrice without having to duplicate the client-side
calculations on the server side ?
Please advise with examples as this is new territory for me. Please
note I can get Javascript to modify ASP.Net objects, but I cannot get
ASP.Net to see any updates Javascript has made to these objects.
Having Javascript post the updates back to ASP.net in a request object
defeats the purpose of what I am looking for. I need to have ASP.Net
detect the latest updates Javascript made to the <asp:label> object.
Aladdin Nassar
.
- Follow-Ups:
- Re: Sync Javascript with ASP.Net
- From: darrel
- Re: Sync Javascript with ASP.Net
- Prev by Date: Re: Triggering event, listbox
- Next by Date: Re: Triggering event, listbox
- Previous by thread: Triggering event, listbox
- Next by thread: Re: Sync Javascript with ASP.Net
- Index(es):
Relevant Pages
|