<
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
<rad:RadComboBox ID="RadComboBox1" runat="server"> <Items> <rad:RadComboBoxItem runat="server" Text="A" Value="1" /> <rad:RadComboBoxItem runat="server" Text="B" Value="2" /> <rad:RadComboBoxItem runat="server" Text="C" Value="3" /> </Items> </rad:RadComboBox>First div tag gets reformatted on save.
Original Code:
<div class="main-block comparison" id="comparison">
<div class="main-frame"> <div class="left-col"> <h2>Product Comparison</h2> <p>Quisque commodo hendrerit lorem quis egestas. Maecenas quis tortor arcu. </p> </div> <div class="right-col"> <div class="image-holder"> <img src="_themes/v2/images/img.png" alt="" /></div> <a href="#" class="launch-btn"><span>Click to Launch Comparison Tool</span></a> </div> </div></div>
And it gets reformatted as:
<div class="main-block">
I tried adding StripFormattingOptions="noneSupressCleanMessage" and ConvertToXhtml="false"
to see if that made a difference.
Telerik dll version: 2011.3.1115.40
