Hi all.
This is an urgent requirement, so open to the community if there are any answers out there.
I have a hierarchical grid and based on this example http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid
I have the following code to open a pop up modal Radwindow. Tjis is ion the Second level grid within the <DetailTables Tag.
The trouble is I cant get the value of Message_ID to be passed as a parameter. You will notice that I have 2 parameters in the Javascript, I cant pass the second value either.
Andy
This is an urgent requirement, so open to the community if there are any answers out there.
I have a hierarchical grid and based on this example http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid
I have the following code to open a pop up modal Radwindow. Tjis is ion the Second level grid within the <DetailTables Tag.
<
CommandItemTemplate
>
<
a
href
=
"#"
onclick
=
"return ShowMessageScheduleEdit('<%# eval("
Message_ID") %>');">
<
img
src
=
"../App_Themes/Images/add_24.png"
border
=
"0"
vspace
=
"2"
hspace
=
"2"
/>Add new Location / Schedule</
a
>
</
CommandItemTemplate
>
JAVASCRIPT
function ShowMessageScheduleEdit(Message_ID, MessageSchedule_ID) {
var oWnd = radopen("MessageScheduleEdit.aspx?Message_ID=" + Message_ID + "&MessageSchedule_ID=" + MessageSchedule_ID, "MessageScheduleEdit");
return false;
}
The trouble is I cant get the value of Message_ID to be passed as a parameter. You will notice that I have 2 parameters in the Javascript, I cant pass the second value either.
Andy