disable input type hidden to change his name if it runat=server

Y

yoshra

i want to edit form and submit (post) it to another server.

the name value contain char that cannot be inisde varible name in .net
"xxx[sss]"

so i gave those inputtypehidden diffrent name and diffrent id
but when the html go to the client it change the name of inputtypehidden to
the id

also i am using user control so name is totally diffrent..

the aspx code
<input type='hidden' runat="server" id="codename" name='TAG[codename]' >

and the html the client recieve is

<input type='hidden' id="_ctl1:codename" name='_ctl1:codename' >

is there any solution for client to recieve html like this
<input type='hidden' id="_ctl1:codename" name='TAG[codename]' >

i can pass the usercontrol if i found half solution for disable name to
change..

Tnx in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top