Thanks ... I tried ... and I could made this work well ...

really it was very simple ...

thanks ... and sorry about my english ... it's not my first language, I 
live in Brasil ...


[]'s
Otávio Augusto Cipro

Cerebrus escreveu:
> Well, that's pretty natural, don't you think ? How is the server side
> code supposed to know what (havoc) your client side code wreaks ? If
> you are submitting the form, you could retrieve the values from the
> Request.Form collection.
>
> On Oct 3, 8:40 pm, Otávio Cipro <[EMAIL PROTECTED]> wrote:
>   
>> Could someone help-me ?
>>
>> I have a javascript function that fill a listbox with a value from a
>> textbox :
>>
>> var opt = document.createElement("option");
>> opt.text = document.getElementById(textbox).value;
>> opt.value = document.getElementById(textbox).value;
>>
>> document.getElementById(listbox).options.add(opt);
>>
>> document.getElementById('txtNmroDiasGravacao').value =
>> document.getElementById(listbox).length;
>>
>> The problem is:
>>
>> When I try to get the values from the listbox, on CodeBehind, I
>> can't ...
>>
>> listbox.Items.Count.Equals(0) -> always returns true
>>
>> and when I try get the value from txtNmroDiasGravacao.Text -> always
>> returns ""
>>
>> does someone  knows how to solve ?
>>
>> thanks
>> Otavio Augusto Cipro
>>     
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
 <p><a href="http://feeds.feedburner.com/DotNetDevelopment";><img 
src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&amp;fg=444444&amp;anim=1";
 height="26" width="88" style="border:0" alt="" /></a></p>
-~----------~----~----~----~------~----~------~--~---

Reply via email to