Subject: HTML controls
Posted By: g_vamsi_krish Post Date: 1/6/2006 11:44:39 AM
i am trying to use html server controls.
but in client side its name and id is changing.
it is changing like _ctl3_ID.
how can i avoid this. Plz help me.thanks in advance

vamsi
Reply By: jbenson001 Reply Date: 1/7/2006 12:36:25 AM
Is this control going in a datagrid?  If so, the name will be chaged due to the way the grid works.  It needs to have a unique name for each control in each row.

Jim

Reply By: g_vamsi_krish Reply Date: 1/7/2006 4:03:18 AM
no its general html server side control used in asp page.


vamsi
Reply By: jbenson001 Reply Date: 1/7/2006 3:54:08 PM
How are you placing the controls on the page?  Are you dragging and droping, writing straigght HTML, converting HTLM controls to server side controls?  You need to provide more information.

Reply By: g_vamsi_krish Reply Date: 1/8/2006 6:35:23 AM
dragging and droping on the page directly.

vamsi
Reply By: jbenson001 Reply Date: 1/8/2006 6:25:14 PM
I don't see how this can be.  Are they HTML controls or server controls?

Reply By: g_vamsi_krish Reply Date: 1/10/2006 12:06:27 AM
thanks for u r help. i found solution. its html server control i.e, just add run at server tag for the control. This is added because of the form tag.

thank u very much for u r help.
bye.

vamsi
Reply By: jbenson001 Reply Date: 1/10/2006 1:14:58 AM
glad to help


Go to topic 37463

Return to index page 399
Return to index page 398
Return to index page 397
Return to index page 396
Return to index page 395
Return to index page 394
Return to index page 393
Return to index page 392
Return to index page 391
Return to index page 390