I have a WebUserControl that i am trying to run some client side code 
on. 

When i put a "runat=server" property in the Textarea, the ID is 
changed when the page is drawn.

ie: 
the element is --> 
<textarea id="txtRemarks" rows=10 cols=35 NAME="tx
tRemarks"></textarea>

it comes back like --->
<textarea name="_ctl0:txtRemarks" id="_ctl0_txtRemarks" rows="10" 
cols="35"></textarea>

this is screwing up my clientside code. 
it will work fine if it is standalone page,rather than a user control.

anyone know how to prevent the element name change?
or is there a way?
or should i just make it its own page?

thanks,
david 






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to