Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
34 views
how to show contextmenu on radtreeview when user left click on it?
Shinu
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
64 views
How to prevent the radmenu from displaying the submenu items
Princy
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
37 views
How can i make the user to enter only 2 character while filtering in radgrid?
Shinu
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
244 views
 How to add a space between two toolbar buttons as a separator between them?
Princy
Top achievements
Rank 2
 answered on 14 Jan 2013
7 answers
112 views
Hello guys.

Is this possible to drag and drop a row over another row in the same grid and take the event and the args of the context?

Best regards.
Maria Ilieva
Telerik team
 answered on 14 Jan 2013
1 answer
42 views

Hi All,
I am encountering this issue with the radgrid enableheadercontextmenu, When I click one of the columns on my radgrid, the column on the right of my grid are getting hidden too. So it's hiding two columns at the same time. I can't find any settings that is allowing this. I already tried Tablelayout = "fixed" but still got the same problem. Below is the setting of my radgrid.

 

<telerik:RadGrid ID="grid" runat="server" Skin="Office2007"

 

AllowPaging="true" AllowSorting="true"  

 

 

 

 

 

PageSize="20" AutoGenerateColumns="false" 

 

 

 

ShowStatusBar="true" GridLines="None" Width="99%" 

 

 

 

OnNeedDataSource="grid_NeedDataSource"

 

OnItemCreated ="grid_ItemCreated"  

 

SelectedItemStyle-BackColor="LightSteelBlue"

 

 

 

AllowMultiRowSelection="False"

 

<SelectedItemStyle BackColor="LightSteelBlue"></SelectedItemStyle>

 

<HeaderStyle Font-Names="Verdana, Century Gothic" Font-Bold="true" Font-Size="8" ForeColor

="Navy"/> 

 

<ItemStyle Font-Names="Verdana, Century Gothic" Font-Size="8" Wrap

="false"/>

 

<PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" />

 

 

 

<AlternatingItemStyle BackColor="AliceBlue" Font-Names="Verdana, Century Gothic" Font-Size="8" Wrap="false" />

 

<MasterTableView Width="100%" AllowMultiColumnSorting="true" TableLayout="Auto"

 

 

 

AllowFilteringByColumn="true" IsFilterItemExpanded="false" EnableHeaderContextFilterMenu="true" EnableHeaderContextMenu ="true">

 

 

 

<GroupByExpressions 

 

<telerik:GridGroupByExpression 

 

<SelectFields 

 

<telerik:GridGroupByField FieldAlias="Week" FieldName="Rotation" FormatString

="{0 : S}"

HeaderValueSeparator = " : " />

 

 

 

</SelectFields 

 

<GroupByFields>

<telerik:GridGroupByField FieldName="Rotation" SortOrder="Ascending"/>

 

</GroupByFields>
</telerik:GridGroupByExpression> 

 

</GroupByExpressions>

 

 

 

<Columns>

 

 

 

<telerik:GridTemplateColumn UniqueName="CategoryName" DataField="Categoryname" HeaderText

="Category">

 

<ItemStyle Wrap="true" Width="130" Font-Names

="Verdana"/>

 

 

<HeaderStyle Width="130" Wrap="true" />

 

<ItemTemplate>
<asp:Label ID="lblCategoryName" runat="server" Text='<%#Eval("CategoryName") %>' Width="130"></asp:Label>

 

 

</ItemTemplate 

 

</telerik:GridTemplateColumn 

 

<telerik:GridBoundColumn UniqueName="Status" DataField="Status" HeaderText

="Status">

<ItemStyle Wrap="true" Width="150" Font-Names

="Verdana"/> 

 

<HeaderStyle Width="150" Wrap="true" />

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn UniqueName="EventName" DataField="Eventname" HeaderText

="Event Name">

 

<ItemStyle Wrap="true" Width="150" Font-Names

="Verdana"/> 

 

<HeaderStyle Width="150" Wrap="true" />  

 

<ItemTemplate>

 

<asp:Label ID="lblEventName" runat="server" Text='<%#Eval("EventName") %>' Width="150"></asp:Label>

 

</ItemTemplate>

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn UniqueName="EventDetails" DataField="EventDetails" HeaderText

="EventDetails">

 

<ItemStyle Wrap="true" Width="200" Font-Names

="Verdana"/>

 

<HeaderStyle Width="200" Wrap="true" />  

 

<ItemTemplate>

 

<asp:Label ID="lblDetails" runat="server" Text='<%#Eval("EventDetails") %>' Width="200px"></asp:Label> 

 

</ItemTemplate>

 

</telerik:GridTemplateColumn> 

 

<telerik:GridBoundColumn UniqueName="BrandFl" DataField="CompanyEvent" HeaderText="Priority Brand" >

 

 

 

</telerik:GridBoundColumn>

 

 

 

</Columns>

 

<NoRecordsTemplate></NoRecordsTemplate>

 

</MasterTableView>

 

 

 

<FilterMenu EnableImageSprites="False"></FilterMenu>

 

<ClientSettings AllowColumnsReorder="true">

 

 

 

</ClientSettings>

 

</telerik:RadGrid>

Pavlina
Telerik team
 answered on 14 Jan 2013
1 answer
79 views
Hi,
I need to add some spacing between the bars in my chart (see attachement).

The Silverlight version has a property named ItemOverlapPercent that does exactly what I want. Does the ASP.NET have something similar?

Regards,
Martin
Princy
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
97 views

Hello,

I am using a RadGrid in which I am using the FrozenColumnsCount property to freeze the first column, and it works well.

Now, I am showing and hidding some columns, by changing the Display property of the GridBoundColumn in my PreRender method, and it works well too.

I have 18 columns in the RadGrid, so when I horizontally scroll to see the last columns, I always have some columns automatically hidding "behind" the first column which is frozen.

The problem is that sometimes, when I display some columns in the RadGrid and hide the others, if I use the horizontal scrolling, I find that suddenly the second column of the RadGrid is being displayed when it unveils from "behind" the frozen column, even if I set the Display property of this column to false.

I would like to know which event is being fired when I use the horizontal scroll and could let me know which column is going to be unveiled, to let me hide the unwanted columns ?

Thank you for any help or advice.

[For example, let say I have 5 columns in the Grid. The column N° 1 is frozen, I set Display property of columns 2, 3, 4 to false, so the RadGrid only shows columns 1 (frozen) and 5.
If I use horizontal scroll, I see column 2 unveilling from "behind" column 1 when I thought that it was going to stay hidden as its Display property is set to false.]

Eyup
Telerik team
 answered on 14 Jan 2013
3 answers
152 views
I have radgrid being used in sharepoint webpart.   protected void RadGridCommunityList_Init(object sender, EventArgs e)i have customized the list of filter to limited so that will be easy for users.
now i need help localizing the radgrid.
1. Filter list how to display them in the local language
this is the code for filter menu
protected void RadGridCommunityList_Init(object sender, EventArgs e)
      {
 
          GridFilterMenu menu = RadGridCommunityList.FilterMenu;
          int i = 0;
          while (i < menu.Items.Count)
          {
              if (menu.Items[i].Text == "NoFilter" || menu.Items[i].Text == "Contains" || menu.Items[i].Text == "EqualTo" || menu.Items[i].Text == "GreaterThan" || menu.Items[i].Text == "LessThan" || menu.Items[i].Text == "StartsWith")
              {
                  i++;
              }
              else
              {
                  menu.Items.RemoveAt(i);
              }
          }
 
      }

2. Tool tips for everything in the Rad grid. how to localize them where should i write the code and which variable and how please advise....       
Shinu
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
82 views
hi,

hope doing well, i want to disable grid controls when radgrid is in editable mode based on combobox selection, combobox control is not in the radgrid i have tried javascript to do that but  no luck i was unable to find controls in the radgrid, can any one tell me server side and client side both.

Thanks
Regards
Shinu
Top achievements
Rank 2
 answered on 14 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?