<telerik:RadTextbBox ID="RadTextBox1" runat="server" ClientEvents-OnFocus="tonload">
</telerik:RadTextBox>
<telerik:RadToolTip ID="RadToolTip1" runat="server" Text="TextBox" Animation="Slide"
Position="BottomRight" Width="100px" Height="100px" TargetControlID="RadTextBox1_Text"IsClientID="true">
</telerik:RadToolTip>
function tonload(sender, args)
{
var radToolTip = $find("<%= RadToolTip1.ClientID %>");
radToolTip.show();
}
Hi dear:
I'm having the following scenario:
the problem is that
when right clicking on row in the child grid it display the context menu of the master grid.
How can I do the following?
Remark:
I try to create another context menu for the child grids but with no effect[ it also display the parent one]
this is done using :
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Web20"> |
| <Windows> |
| <telerik:RadWindow ID="EditDialogWnd" runat="server" Title="Edit" ShowContentDuringLoad="false" |
| ReloadOnShow="true" Modal="true" Width="400" Height="400" OffsetElementID="OffsetElement" Top="0" Left="0"/> |
| </Windows> |
| </telerik:RadWindowManager> |
| <CommandItemTemplate> |
| <div style="padding:10px 0px;"> |
| <asp:LinkButton ID="HlInsertNew" runat="server" OnClientClick="ShowInsertForm('EditFormSA.aspx?type=cliente'); return false;"><img style="border:0px;vertical-align:middle;" alt="" src="images/AddRecord.gif" /> Inserisci Nuovo</asp:LinkButton> |
| </div> |
| </CommandItemTemplate> |
| <Telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function ShowEditForm(id, rowIndex, editFormUrl) |
| { |
| var grid = $find("<%= RadGrid1.ClientID %>"); |
| var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element(); |
| grid.get_masterTableView().selectItem(rowControl, true); |
| //window.radopen("EditFormCS.aspx?EmployeeID=" + id, "UserListDialog"); |
| window.radopen(editFormUrl, "EditDialogWnd"); |
| return false; |
| } |
| function ShowInsertForm(editFormUrl) |
| { |
| window.radopen(editFormUrl, "EditDialogWnd"); |
| return false; |
| } |
| function refreshGrid(arg) |
| { |
| if(!arg) |
| { |
| $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind"); |
| } |
| else |
| { |
| $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate"); |
| } |
| } |
| </script> |
| </Telerik:RadCodeBlock> |