i am using vs2010.
i need to add rad combo box dynamically using java script.
i already add some html controls dynamically in java script.
my code is below.
i added two td in table. i need to add rad combo next to text box.
how to add radcombo box and how to bind the values to radcombo.
thanks,
uma
i need to add rad combo box dynamically using java script.
i already add some html controls dynamically in java script.
my code is below.
if (!objPropertyInsp.hasOwnProperty("sctid"))
{
contentHTML += "<
tr
><
td
>sctid</
td
><
td
><
input
type
=
'text'
style
=
'width:100%;'
id
=
'txtsctid'
" + "'
value
=
''
/><
td
><
div
id
=
'dvcombo'
></
div
><
img
src
=
'Images/find.png'
alt
=
'Pick'
width
=
'16px'
height
=
'16px'
onclick
=
'openSearchAttributes(); '
/> </
td
></
td
></
tr
>";
}
else if (objPropertyInsp.hasOwnProperty("sctid"))
{
contentHTML += "<
tr
><
td
>sctid</
td
><
td
><
input
type
=
'text'
style
=
'width:100%;'
id
=
'txtsctid'
value
=
'" + objPropertyInsp["sctid"] + "'
/><
td
><
img
src
=
'Images/find.png'
alt
=
'Pick'
width
=
'16px'
height
=
'16px'
onclick
=
'openSearchAttributes();'
/></
td
></
td
></
tr
>";
}
how to add radcombo box and how to bind the values to radcombo.
thanks,
uma