thanks for the reply,
the controls are in a user control and it is placed in an aspx page. the
controls in the user controls are dynamic.
it will create new id after the page got reloaded.
Eg: pageid_ctl1_text1 will change to pageid_ctl2_text1
> Hi Kevin,
> how does the id change and where is your control placed?
[quoted text clipped - 17 lines]
>> Thanks
>> Kevin
Alexey Smirnov - 15 Aug 2007 21:10 GMT
On Aug 15, 9:28 pm, "Kevin Mapppov" <kevin.Mapp...@yahoo.nospam.com>
wrote:
> thanks for the reply,
> the controls are in a user control and it is placed in an aspx page. the
[quoted text clipped - 3 lines]
>
> "Ladislav Mrnka" <LadislavMr...@discussions.microsoft.com> wrote in message
use a mix of ASP.NET and javascript
document.getElementById("<%=text1.ClientID%>");
where text1 is id of your Control, e.g.
<asp:TextBox id="text1" runat="server"/>