javascript - Email Script from server breaks Telerik RadGrid and RadDropDownList -


i using rad grid display information grid checkboxes mark items , using raddropdownlist can pick action , press button it. 1 of items send email emails of checked rows.

in button click call enumerate checked rows grid , put emails in string buffer , add script execute email on postback bring email.

clientscript.registerstartupscript(this.gettype(), "mailto",   "<script type = 'text/javascript'>parent.location='mailto:" + emailtobuffer.tostring() + "'</script>") ;

this results in line

<script type = 'text/javascript'>parent.location='mailto:dana@here.com; '</script>
put in front of telerik rad javascript code in html.

somehow innocent little line of javascript causes master checkbox on radgrid header line , raddropdownlist stop functioning completely. dropdown list not drop. value parent.location no else in view source html except inserted email line.

i cannot figure out solution problem, feels bug telerik objects break little self contained script. perhaps there way send email form browser given server not break telerik controls.

george


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -