3 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 25 Sep 2008, 06:20 AM
Hi Bob,
Try the following javascript code to achieve the desired scenario.
ASPX:
JS:
Regards
Shinu.
Try the following javascript code to achieve the desired scenario.
ASPX:
<telerik:RadTextBox ID="RadTextBox1" runat="server"> |
</telerik:RadTextBox> |
<input id="Button2" type="button" value="button" onclick="OnClientClick()" /> |
JS:
<script type="text/javascript" language="javascript" > |
function OnClientClick() |
{ |
document.getElementById("RadTextBox1_text").style.display='none'; |
} |
</script> |
Regards
Shinu.
0
Rakesh
Top achievements
Rank 1
answered on 02 Nov 2011, 09:20 PM
How can i hide or show a radtextbox which is part of radlistbox control..
I am able to find it but not able to hide it or show it
can you help me....
I am able to find it but not able to hide it or show it
can you help me....
0
Princy
Top achievements
Rank 2
answered on 03 Nov 2011, 05:58 AM
Hello Rakesh,
You can try the following javascript.
JS:
Thanks,
Princy.
You can try the following javascript.
JS:
<script type=
"text/javascript"
>
function
OnClientSelectedIndexChanged(sender, args)
{
var
textbox= args.get_item().findControl(
"RadTextBox1"
);
textbox.set_visible(
false
);
}
</script>
Thanks,
Princy.