How to transfer from javascript to c#
Hi, pardon me for my english.
I add a ActiveX in my asp.net and I can get it's return and put it in
my TextBox.
But I need the value transfer to my class, like this:
// test.aspx
function ServerReturnMessage()
{
message = AniAliActiveX.GetServerReturnMessage();
document.getElementById("textBox1").value = message;
}
// test.aspx.cs
private GetServerReturn ( string str )
{
// write it to DB
...
}
I use TextBox1_TextChanged, but it's value can not transfer to the
method.
Thanks for your kind advice, David.
.
Relevant Pages
- RE: Running Sum Effect on Form
... "David W" wrote: ... > Is there a way to have a runningsum effect in a textbox to show the number ... Prev by Date: ... (microsoft.public.access.formscoding) - ActiveX in Monad
... can someone show me an example of using ActiveX in Monad Beta2? ... Prev by Date: ... (microsoft.public.windows.server.scripting) - Re: Text Box Scroll Bars do not appear until you click in the text box
... Is it an ActiveX Textbox, from the controls toolbox menu, placed on a sheet. ... any way to make the scroll bars appear all of the time? ... (microsoft.public.excel.programming) - Re: Master Pages and Cross-Page Form Information
... > David R. Longnecker ... > Management Information Services ... >> | since we're using Master page, the textboxes are cotained in the ... >> | in that textbox. ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Re: update textbox value
... I deleted the control textbox and I'm using a regular textbox but it still ... "David M. Marcovitz" wrote: ... Microsoft PowerPoint MVP ... (microsoft.public.powerpoint) |
|