<telerik:RadCodeBlock ID=rcb2 runat=server>
<script language=javascript>
var toolb = <%=RadToolBar1.ClientID %>;
toolb.attachEvent(
"OnClientClick","click_handler");
function
click_handler(sender, e)
{
if(sender.CommandName == "spell")
{
SpellCheck()
return false;
}
}
</script>
</telerik:RadCodeBlock>
if(Array.contains(c,i.get_postBackElement().id))
<CommandItemTemplate> |
<div> |
<table width="103%" border="0" cellpadding="0" cellspacing="0" style="margin-top: -2px; |
margin-left: -4px; margin-bottom: -3px;"> |
<tr> |
<telerik:RadToolBar runat="server" ID="RTBTermination" Skin="Office2007" Width="100%" |
OnClientButtonClicked="RTBTerminationclientButtonClicked" OnButtonClick="RTBTermination_ButtonClick"> |
<Items> |
<telerik:RadToolBarButton Text="Edit" Font-Size="9" ForeColor="#00156E" CommandName="Edit" |
ImagePosition="Left" ImageUrl="images/penedit.png"> |
</telerik:RadToolBarButton> |
<telerik:RadToolBarButton Text="Close" Font-Size="9" ForeColor="#00156E" ImagePosition="Left" |
ImageUrl="images/closeeeeeee.gif"> |
</telerik:RadToolBarButton> |
<telerik:RadToolBarButton Text="" Font-Size="9" Width="800px" Enabled="false" ForeColor="#00156E"> |
</telerik:RadToolBarButton> |
</Items> |
</telerik:RadToolBar> |
</tr> |
</table> |
</div> |
</CommandItemTemplate> |
function rgvReport_RowSelect(sender, eventArgs) { |
var rowindex = eventArgs.get_itemIndexHierarchical(); |
document.getElementById("<%=txtrgvReportRowIndex.ClientID%>").value = eventArgs.get_itemIndexHierarchical(); |
//alert(rowindex); |
var TerGrid = $find("<%=rgvReport.ClientID %>"); |
var gridRow = TerGrid.MasterTableView.get_dataItems()[rowindex]; |
var TerStatus = gridRow.getDataKeyValue("TerminationStatus"); |
//alert(TerStatus); |
//alert(RTBButton); |
} |
Hello,
I have 2 questions:
1) I have paging in my grid(Attached:CurrentPaging), and dont want the whole pager, i want only part of it (Attached:wantedPaging)
How do i do that?
2) at the paging, the prev,next,home and end buttons are arrows
How can i write text(Attached:PrevNextPaging)?
thanks,
yoni
Hello Telerik,
I have a hard time in getting this problem solved, if you guys can help me that would be really grateful, I have a situation where we are implementing DundasCharts which loads dynamically. we have a requirement that as the user right click on the chart he should have an option of changing the chart types (bar Charts, Pie charts, Line graph, so on..) so for this we thought of implementing the RadContextmenu. but we were unable to add context menu. if you can help me with this situation either providing me the snippet or the sample project which implements my scenario ( context menu for Dundas charts), that would be really helpful for me.
Thanks,
Gautham Gorla