Here is my javascript that open simple browser popup but i want to open using radwindow i'm new for telerik control so how can i do this?
<script language="javascript" type="text/javascript">
function openTest(num, cid) {
var nAgt = navigator.userAgent;
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB10/i.test(navigator.userAgent))
window.open("default.aspx?ChapterNum=" + num + "&cid=" + cid, "DefaultPage");
else
window.showModalDialog("Course.aspx?ChapterNum=" + num + "&cid=" + cid, null, "dialogHeight=700px; dialogTop=75px; dialogLeft=250px; dialogWidth=800px; edge=Raised; center=No; help=Yes; resizable=no; status=no; scroll=yes");
}
</script>
<script language="javascript" type="text/javascript">
function openTest(num, cid) {
var nAgt = navigator.userAgent;
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB10/i.test(navigator.userAgent))
window.open("default.aspx?ChapterNum=" + num + "&cid=" + cid, "DefaultPage");
else
window.showModalDialog("Course.aspx?ChapterNum=" + num + "&cid=" + cid, null, "dialogHeight=700px; dialogTop=75px; dialogLeft=250px; dialogWidth=800px; edge=Raised; center=No; help=Yes; resizable=no; status=no; scroll=yes");
}
</script>