This is a migrated thread and some comments may be shown as answers.

expanding table messes with the onclick statement

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fred
Top achievements
Rank 1
Fred asked on 21 Jun 2013, 07:36 PM
This one is weird. I'm not getting my confirm message set like this:

<a onclick="return confirm('Do you want to delete this document:  { idx1: , idx2: , Creation Date: 6/21/2013 2:15:17 PM}?');" href="javascript:__doPostBack('RadGridDocView$ctl00$ctl04$ctl01','')">

because after I expand the row it changes to this:

<a onclick="$find('RadGridDocView_ctl00')._clientDelete(event); return false;return confirm('Do you want to delete this document:  { idx1: , idx2: , Creation Date: 6/21/2013 2:15:17 PM}?');" href="javascript:__doPostBack('RadGridDocView$ctl00$ctl04$ctl01','')">

any ideas?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 27 Jun 2013, 05:57 AM
Hello,

We will need a sample project where the issue can be reproduced. Thus we will be able to understand the logic of your application and advice you further.

Regards,
Pavlina
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Fred
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or