Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
148 views
Hi all,

I made a ASP.Net rad menu (image based) which goes till level 3. Till level 2 it dont give any problem but when I add further childs then a strange problem occurs .i.e menu disappears and then come back when I hover on menu. There is not any particular position I could find where this happens. It happens randomly but frequently. It works fine in Firefox and all other browsers even works fine in IE8 also. I am facing this problem in IE6 and 7 only.

Did anybody face this problem before or anybody have idea about this problem?

Thanks in advance

Kamran Hussain Cheeta
Yana
Telerik team
 answered on 13 Jan 2011
2 answers
209 views
Hi,

Is there any easy way of Vertically Aligning the Text in the PanelBarItem Header? I have tried applying style directly to the Item, and also through the use of a PanelBarHeader class I have set up in CSS, but so far no luck. I currently have a larger Image inside the PanelBar (32x32) and I would like to vertically align my Header Text in the middle of these images.

Any help would be greatly appreciated.

Best Regards,

Landon
Landon
Top achievements
Rank 2
 answered on 13 Jan 2011
1 answer
107 views
I am experiencing a weird problem with the RadButton labeled Save Values (see image 1). I have inside a RadListView which has some RadGrids in it. When the button is clicked and the ajax call is made all works except that the style suddenly changes. You can see image 2 to see what I mean. I have a rad pager at the bottom and when it is clicked the style stays as it should. Only the RadButton causes this. Is there a bug with the RadButton that would cause this? I don't get any javascript errors and if I refresh the page it goes back to normal. Thanks in advance.
Pero
Telerik team
 answered on 13 Jan 2011
1 answer
116 views
I display pdf documents in a RadPane and when I use the SplitterBar to reduce the size of the viewing area it goes under the PDF viewer and I am not able to release it to resize.
Svetlina Anati
Telerik team
 answered on 13 Jan 2011
0 answers
58 views
This seems to work fine in Chrome, but not Internet Explorer 7. Any idea what might be causing this? Are there any workarounds?

Thanks!
- J
John Truong
Top achievements
Rank 1
 asked on 13 Jan 2011
6 answers
307 views
Hi,

I am having issues accessing values from a Template Column that I created. Here is what I have.

....
....
  <telerik:GridTemplateColumn UniqueName="ItemDiscount" HeaderText="Discount">
                                    <EditItemTemplate>                                        
                                                    <asp:RadioButtonList ID="rdListItemDiscount" runat="server">
                                                        <asp:ListItem Selected="True">Discount in %</asp:ListItem>
                                                        <asp:ListItem>Discount in $</asp:ListItem>
                                                    </asp:RadioButtonList>
                                                    &nbsp;
                                                    <telerik:RadNumericTextBox ID="txtItemDiscountVal" runat="server" Width="20px">
                                                    </telerik:RadNumericTextBox>                                           
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="lblLineDiscountVal" runat="server" Text="No Discount Applied"></asp:Label>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" EditText="Add Discount"
                                    UpdateText="Update Discount">
                                    <ItemStyle CssClass="MyImageButton" />
                                </telerik:GridEditCommandColumn>
.....
.....
Code Behind:

Protected Sub rgLineItems_ItemUpdated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridUpdatedEventArgs) Handles rgLineItems.ItemUpdated
        Try
            Dim i As Integer = 1
            Dim CellValue As String
            Dim txtVal As String
            CellValue = CType(rgLineItems.Items(i).FindControl("rdListItemDiscount"), RadioButtonList).SelectedItem.Value
            txtVal = CType(rgLineItems.Items(i).FindControl("txtItemDiscountVal"), TextBox).Text
        Catch ex As Exception
        End Try
    End Sub

I would like to get the selected value from the radiobuttonlist and the text value upon clicking on Update Discount. Once this is done, I would like to change the EditItemTemplate column to a value entered by the user in the textbox. Let me know where I am going wrong and is this really possible?

Thanks in advance!
Soumya
Soumya Parla
Top achievements
Rank 1
 answered on 13 Jan 2011
5 answers
111 views
I'm using a RadGrid with a relatively straightforward setup of DataBound columns, and a single Grid Expression that I set on page load like this: 

if (!Page.IsPostBack)
{
    //set up an initial group by base
    var baseExpression = new GridGroupByExpression();
    var selectField = new GridGroupByField {FieldAlias = "Base", FieldName = "Dest_Name", HeaderValueSeparator = " "};
    baseExpression.SelectFields.Add(selectField);
 
    var groupField = new GridGroupByField() {FieldName = "Dest_Name"};
    baseExpression.GroupByFields.Add(groupField);
 
    Grid.MasterTableView.GroupByExpressions.Add(baseExpression);
}

I then load the data via DataSource = foo and DataBind();

The problem comes when I right click on the column header and select ungroup form the menu, it doesn't get ungrouped.  I can group and ungroup with other columns, but the initial column does not ungroup, unless I use the menu to group by the column, and then ungroup it.

Is there a way around this behaviour?
Pavlina
Telerik team
 answered on 13 Jan 2011
2 answers
93 views
Hello All, 
I attached simple example, using which is easy to reproduce issue by the following steps:
1. lunch application
2. press "Show test RadDock"
3. press button again.
4. move RadDock.
So, after that you should see two RadDocks.
Other issue:
1. lunch application
2. press button
3. move RadDock
4. close RadDock
5. press button
6. move RadDock
7. close RadDock
8. press button
You will see the follow JS exception:
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: {"Top":155,"Left":510,"DockZoneID":"","Collapsed":false,"Pinned":false,"Resizable":false,"Closed":false,"Width":"300px","Height":null,"ExpandedHeight":0,"Index":-1}.

Could you please say what I do wrong? Or advise some workarounds?
Pero
Telerik team
 answered on 13 Jan 2011
3 answers
64 views
I have created a web page in which I placed a rad grid and set the virtual scroll paging property to true,so when I group a grid by a column in which group consumes more than 1 page so instead of showing records list in collapse manner, it shows space of records consumed by that group which should not be happened instead of this it should show records list in the collapse manner and not the space of records consumed by that group. The code for aspx page is as follows:-

<telerik:RadGrid ID="rgFITList" runat="server" AllowSorting="True"

TabIndex="3" EnableTheming="False" ShowGroupPanel="True" OnItemCommand="rgFITList_ItemCommand"

OnSortCommand="rgFITList_SortCommand" OnGroupsChanging="rgFITList_GroupsChanging"

EnableHeaderContextMenu="True" onitemdatabound="rgFITList_ItemDataBound"

GridLines="None" DataSourceID="ODS_FITList"

AllowPaging="true" PageSize="40" AllowCustomPaging="true">

<HeaderContextMenu></HeaderContextMenu>

<MasterTableView AutoGenerateColumns="False" DataKeyNames="FITID"

GroupsDefaultExpanded="False" GroupLoadMode="Client" Name="Master"

DataSourceID="ODS_FITList">

<CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>

<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn DataField="FITID" HeaderText="Task ID" SortExpression="FITID"

UniqueName="FITID">

<ItemStyle Width="8%"></ItemStyle>

<HeaderStyle Width="8%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="DateSubmitted" HeaderText="Submitted" SortExpression="DateSubmitted"

UniqueName="DateSubmitted" DataFormatString="{0:MM/dd/yyyy}">

<ItemStyle Width="10%"></ItemStyle>

<HeaderStyle Width="10%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="ProjectName" HeaderText="Project" SortExpression="ProjectName" UniqueName="ProjectName">

<ItemStyle Width="17%"></ItemStyle>

<HeaderStyle Width="17%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="FITType" HeaderText="Task Type" SortExpression="FITType"

UniqueName="FITType">

<ItemStyle Width="8%"></ItemStyle>

<HeaderStyle Width="8%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="FITTitle" HeaderText="Title" SortExpression="FITTitle"

UniqueName="FITTitle">

<ItemStyle Width="22%" ></ItemStyle>

<HeaderStyle Width="22%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="FITDescription" HeaderText="FITDescription"

UniqueName="FITDescription" Visible="false">

<ItemStyle Width="22%" ></ItemStyle>

<HeaderStyle Width="22%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="UserName" HeaderText="Assigned To" SortExpression="UserName"

UniqueName="UserName">

<ItemStyle Width="12%"></ItemStyle>

<HeaderStyle Width="12%" />

</telerik:GridBoundColumn>

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

UniqueName="Status">

<ItemStyle Width="10%"></ItemStyle>

<HeaderStyle Width="10%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="DateDue" HeaderText="Due" SortExpression="DateDue"

UniqueName="DateDue" DataFormatString="{0:MM/dd/yyyy}">

<ItemStyle Width="8%"></ItemStyle>

<HeaderStyle Width="8%" />

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="RankID" HeaderText="RankID"

UniqueName="RankID" Visible="false">

<ItemStyle Width="8%"></ItemStyle>

<HeaderStyle Width="8%" />

</telerik:GridBoundColumn>

<telerik:GridTemplateColumn HeaderText="Priority" UniqueName="Priority" Groupable="false">

<ItemTemplate>

<asp:ImageButton ID="imgMoveOrder" runat="server" CommandName="MoveOrder" ImageUrl="Images/MoveUp.gif"

ToolTip="Move Up" />

</ItemTemplate>

<HeaderStyle Width="80px" HorizontalAlign="Center"></HeaderStyle>

<ItemStyle Width="80px" HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn UniqueName="TemplateColumn" Groupable="false">

<ItemStyle Width="5%" HorizontalAlign="Center" />

<HeaderStyle Width="5%" />

<ItemTemplate>

<asp:ImageButton ID="btnRadEdit" CommandName="EditFIT" TabIndex="5" ImageUrl="~/Images/Edit.gif"

runat="server" AlternateText="Edit" />

</ItemTemplate>

</telerik:GridTemplateColumn>

</Columns>

<EditFormSettings>

<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>

</EditFormSettings>

</MasterTableView>

<ClientSettings EnablePostBackOnRowClick="True" AllowDragToGroup="True" EnableRowHoverStyle="True">

<Selecting AllowRowSelect="true" />

<Scrolling AllowScroll="True" UseStaticHeaders="True" EnableVirtualScrollPaging="True" SaveScrollPosition="True"/>

</ClientSettings>

<FilterMenu EnableTheming="False" TabIndex="6">

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

</FilterMenu>

</telerik:RadGrid>

In order to make my problem clear, I am attaching the screenshot of the grid when grouping by a column.So please tell me solution for my problem.
Pavlina
Telerik team
 answered on 13 Jan 2011
1 answer
80 views
Hi. I am using the 2009.3.1401.35 version of telerik controls and I am trying to add a reminder to the scheduler which appears that it's not supported in this version. Is there any turn around for this issue?

Thank you very much for your help.
Veronica
Telerik team
 answered on 13 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?