pearl_emerald
New Member
Hi,<BR>In my ASP.NET WebApplication i have three controls.<BR>1.Textbox -t1[Server Control]<BR>2.Textbox -t2[Html Control]<BR>3.Button -b1[Server Control]<BR><BR>What i want to do was,when the user clicks the button i want to display the value in t2 to t1.<BR>simply t1=t2;<BR>is it Possible.<BR>How can i track the HtmlControl field value in the Button Click Event,<BR>Kindly help waiting for ur positive responses.<BR>Thanks in advance<BR>KennedyIs the HTML control in (2) a "server-side" control or client-side? That is, does it have a runat="server" attribute in it? If so, simply do:<BR><BR>t1.Text = t2.Value<BR><BR>in the event handler for the button's onClick server-side event handler. hthYa,! textbox is server side control<BR>another one is HtmlControl and doesn't have runtat="server" attribute.<BR>Is this clear..<BR>Waiting for ur answer..<BR>kennedy