<
MasterTableView DataKeyNames="Id" AutoGenerateColumns="false" CommandItemDisplay="Top">
<Columns>
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn" HeaderText="Edit column" ButtonType="ImageButton"
EditImageUrl = "
~/Alarm.png"
>
<ItemStyle Width="50px" />
</telerik:GridEditCommandColumn>
......
GridEditCommandColumn edc = new GridEditCommandColumn();
edc.ButtonType =
GridButtonColumnType.ImageButton;
edc.EditImageUrl =
"~/Alarm.png";
Response.Write(edc.EditImageUrl);
$(window).load(
function
()
{
Resize();
$(window).resize(
function
()
{
Resize();
});
});
function
Resize()
{
var
grid = $find(
"<%= mygrid.ClientID %>"
);
if
(grid !=
null
)
{
grid.get_element().style.height = $(
"#form1"
).height() +
"px"
;
grid.repaint();
}
}
if
(!Page.IsPostBack)
{
ResourceType providers =
new
ResourceType(
"Providers"
);
providers.DataSource = ScheduleAdapter.GetViewResources(defaultView.ResourceViewID);
providers.KeyField =
"ResourceID"
;
providers.TextField =
"Resource"
;
providers.ForeignKeyField =
"ResourceID"
;
RadScheduler1.ResourceTypes.Add(providers);
}
Hi,
I have a radgrid in which I'm binding the data. For instance I have the column "SER" in the grid. The value of "SER" in the grid is
"NG 101101". The length is fixed i.e 10.
When i export the above data using export to excel, the radgrid exports the above data to "NG 101101". It removes one space. I don't want the excel to remove the space. I need to maintain the data as such.
Could you please help me achieve what I want.
Thanks,
Raji
Hi,
I am adding a new Ribbon tab with two ribbon buttons dynamically. When i click the added ribbon button, its throwing the error,
Error: Sys.WebForms.PageRequestManagerServerErrorException: Index was out of range. Must be non-negative and less than the size of the collection.
What may be the Issue?
Thanks,
Mohan