Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
122 views
Hi,

I am using Nested RadGrid View and I have two Detail Tables One is Called Group and the other is called Items. What I want to acheive is that each Group contains different number of items. I am successful in displaying the sub-total of each group using GridCalculatedColumn of items but I also want that I can also calculate the Total for the number of groups. I shall be very greatful if someone can help with this problem.

For Example

Quotation 1

Fruits :

Item Name CostPrice Quantity TotalCost
Apple             10           2              20
Orange           20           2             40
                                     Sub-Total 60

Vegetables :

Carrot              5           2                       10
Cuccumber      3            2                        6
                                          Sub-Total     16
                                         
                                              Total :       76  (Need Help Here)



<telerik:RadGrid ID="rgQuotation" runat="server" Width="95%" ShowStatusBar="true"
    Skin="WebBlue" AutoGenerateColumns="False" PageSize="20" AllowSorting="True"
    AllowMultiRowSelection="False" AllowPaging="True" GridLines="None" ShowFooter="True">
    <PagerStyle Mode="NumericPages"></PagerStyle>
    <MasterTableView Width="100%" DataKeyNames="ID" AllowMultiColumnSorting="True" CommandItemDisplay="Top"
        Name="Quotation">
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                ItemStyle-Width="30px" EditImageUrl="~/Portals/0/Images/Edit.gif">
            </telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn SortExpression="ID" HeaderText="ID" HeaderButtonType="TextButton"
                DataField="ID" UniqueName="ID" ReadOnly="true" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn SortExpression="TariffName" HeaderText="Quotation Name"
                HeaderButtonType="TextButton" DataField="TariffName" UniqueName="TariffName"
                ReadOnly="true">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn SortExpression="RecordType" HeaderText="Rec Type" HeaderButtonType="TextButton"
                DataField="RecordType" UniqueName="RecordType" ReadOnly="true" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn SortExpression="JobID" HeaderText="Job No" HeaderButtonType="TextButton"
                DataField="JobID" UniqueName="JobID" ReadOnly="true" Visible="false">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings EditFormType="Template" InsertCaption="New Quotation">
            <FormTemplate>
                <div>
                    <asp:Label ID="lblTariffName" runat="server" Text="Quotation Name" CssClass="fieldsetControlStyle"></asp:Label>
                    &nbsp;&nbsp;
                    <asp:TextBox ID="txtTariffName" runat="server" Text='<%# Eval("TariffName") %>'></asp:TextBox>
                    <asp:LinkButton ID="lnkbtnUpdate" runat="server" CausesValidation="True" CommandName='<%# IIf( DataBinder.Eval(Container, "OwnerTableView.IsItemInserted"), "PerformInsert", "Update") %>'
                        CssClass="lnkButton" ToolTip="Update">
                        <asp:Image ID="imgUpdate" runat="server" ImageUrl="~/Portals/0/Images/Update.gif" /></asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="lnkbtnCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                        CssClass="lnkButton" ToolTip="Cancel">
                        <asp:Image ID="imgCancel" runat="server" ImageUrl="~/Portals/0/Images/Cancel.gif" /></asp:LinkButton>
                </div>
            </FormTemplate>
        </EditFormSettings>
        <DetailTables>
            <telerik:GridTableView DataKeyNames="GroupID" HierarchyLoadMode="Client" Width="100%"
                CommandItemDisplay="Top" runat="server" Name="Groups">
                <Columns>
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                        ItemStyle-Width="30px" EditImageUrl="~/Portals/0/Images/Edit.gif">
                    </telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn SortExpression="GroupID" HeaderText="GroupID" HeaderButtonType="TextButton"
                        DataField="GroupID" UniqueName="GroupID" ReadOnly="true" Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="GroupName" HeaderText="Group Name" HeaderButtonType="TextButton"
                        DataField="GroupName" UniqueName="GroupName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="TariffID" HeaderText="TariffID" HeaderButtonType="TextButton"
                        DataField="TariffID" UniqueName="TariffID" ReadOnly="true" Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn>
                        <FooterTemplate>
                            <asp:Label ID="lblTotalCost" runat="server" Text="Total Cost" CssClass="fieldsetControlStyle"></asp:Label>
                        </FooterTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
                <EditFormSettings EditFormType="Template" InsertCaption="New Group">
                    <FormTemplate>
                        <div>
                            <asp:Label ID="lblGroupName" runat="server" Text="Group Name" CssClass="fieldsetControlStyle"></asp:Label>
                            &nbsp;&nbsp;
                            <asp:TextBox ID="txtGroupName" runat="server" Text='<%# Eval("groupname") %>'></asp:TextBox>
                            <br />
                            <asp:LinkButton ID="lnkbtnUpdate" runat="server" CausesValidation="True" CommandName='<%# IIf( DataBinder.Eval(Container, "OwnerTableView.IsItemInserted"), "PerformInsert", "Update") %>'
                                CssClass="lnkButton">
                                <asp:Image ID="imgUpdate" runat="server" ImageUrl="~/Portals/0/Images/Update.gif" /></asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="lnkbtnCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                                CssClass="lnkButton" ToolTip="Cancel">
                                <asp:Image ID="imgCancel" runat="server" ImageUrl="~/Portals/0/Images/Cancel.gif" /></asp:LinkButton>
                        </div>
                    </FormTemplate>
                </EditFormSettings>
                <CommandItemSettings AddNewRecordText="Add New Group" AddNewRecordImageUrl="~/Portals/0/Images/AddRecord.gif"
                    ShowRefreshButton="false" />
                <DetailTables>
                    <telerik:GridTableView DataKeyNames="ID" Width="100%" Name="Items" CommandItemDisplay="Top"
                        EditMode="InPlace" runat="server" HierarchyLoadMode="Client">
                        <Columns>
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                                UpdateImageUrl="~/Portals/0/Images/Update.gif" ItemStyle-Width="40px" EditImageUrl="~/Portals/0/Images/Edit.gif"
                                CancelImageUrl="~/Portals/0/Images/Cancel.gif">
                            </telerik:GridEditCommandColumn>
                            <telerik:GridBoundColumn SortExpression="ID" HeaderText="ID" HeaderButtonType="TextButton"
                                DataField="ID" UniqueName="ID" ReadOnly="true" Visible="false">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn SortExpression="ItemOrder" HeaderText="ItemOrder" HeaderButtonType="TextButton"
                                DataField="ItemOrder" UniqueName="ItemOrder" ReadOnly="true" Visible="false">
                            </telerik:GridBoundColumn>
                            <%--                            <telerik:GridBoundColumn SortExpression="ItemName" HeaderText="Item Name" DataField="ItemName"
                                UniqueName="ItemName">
                                UniqueName="ItemName">
                            </telerik:GridBoundColumn>--%>
                            <telerik:GridTemplateColumn HeaderText="Item Name">
                                <ItemTemplate>
                                    <asp:Label ID="lblItemName" runat="server" Text='<%# Eval("ItemName") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <asp:TextBox ID="txtItemName" runat="server" Text='<%# Eval("ItemName") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemStyle Width="30%" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="Rate">
                                <ItemTemplate>
                                    <asp:Label ID="lblUnits" runat="server" Text='<%# Eval("Units") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadNumericTextBox ID="rntbRate" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                        IncrementSettings-InterceptMouseWheel="true" runat="server" Type="Number" Width="80px"
                                        DbValue='<%# Eval("Units") %>' NumberFormat-DecimalDigits="2" MinValue="1" IncrementSettings-Step="1"
                                        CssClass="fieldsetControlWidth fieldsetLine" />
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="Quantity">
                                <ItemTemplate>
                                    <asp:Label ID="lblQuantity" runat="server" Text='<%# Eval("Quantity") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadNumericTextBox ID="rntbQuantity" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                        IncrementSettings-InterceptMouseWheel="true" runat="server" Type="Number" Width="80px"
                                        DbValue='<%# Eval("Quantity") %>' NumberFormat-DecimalDigits="0" MinValue="0"
                                        IncrementSettings-Step="1" CssClass="fieldsetControlWidth fieldsetLine">
                                        <ClientEvents OnBlur="Blur" OnFocus="Focus" />
                                    </telerik:RadNumericTextBox>
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="C.P">
                                <ItemTemplate>
                                    <asp:Label ID="lblCostPrice" runat="server" Text='<%# Format(DataBinder.Eval(Container.DataItem,"CostPrice"),"###,##0.00") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadNumericTextBox ID="rntbCostPrice" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                        IncrementSettings-InterceptMouseWheel="true" runat="server" Type="Number" Width="80px"
                                        DbValue='<%# Eval("CostPrice") %>' NumberFormat-DecimalDigits="2" MinValue="0"
                                        IncrementSettings-Step="1" CssClass="fieldsetControlWidth fieldsetLine" />
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="S.P">
                                <ItemTemplate>
                                    <asp:Label ID="lblSellingPrice" runat="server" Text='<%# Format(DataBinder.Eval(Container.DataItem,"SellingPrice"),"###,##0.00") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadNumericTextBox ID="rntbSellingPrice" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                        IncrementSettings-InterceptMouseWheel="true" runat="server" Type="Number" Width="80px"
                                        DbValue='<%# Eval("SellingPrice") %>' NumberFormat-DecimalDigits="2" MinValue="0"
                                        IncrementSettings-Step="1" CssClass="fieldsetControlWidth fieldsetLine" />
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridCalculatedColumn HeaderText="C.P Total" DataType="System.Double" FooterText="C.P Total : "
                                DataFields="CostPrice,Units,Quantity" Expression="{0}/{1}*{2}" Aggregate="Sum"
                                DataFormatString="{0:###,##0.00}" FooterAggregateFormatString="{0:£###,##0.00}" />
                            <telerik:GridCalculatedColumn HeaderText="S.P Total " UniqueName="TotalSellingPrice"
                                DataFields="SellingPrice,Units,Quantity" Expression="{0}/{1}*{2}" DataType="System.Double"
                                FooterAggregateFormatString="{0:£###,##0.00}" FooterText="S.P Total : " Aggregate="Sum"
                                DataFormatString="{0:###,##0.00}" />
                        </Columns>
                        <CommandItemSettings AddNewRecordText="Add New Item" AddNewRecordImageUrl="~/Portals/0/Images/AddRecord.gif"
                            ShowRefreshButton="false" />
                        <%--<EditFormSettings EditFormType="Template" InsertCaption="New Item">
                            <FormTemplate>
                                <div>
                                    <asp:Label ID="lblItemName" runat="server" Text="Item Name" CssClass="fieldsetControlStyle"></asp:Label>
                                    &nbsp;&nbsp;
                                    <asp:TextBox ID="txtItemName" runat="server" Text='<%# Eval("ItemName") %>'></asp:TextBox>
                                    <br />
                                    <asp:Label ID="lblRate" runat="server" Text="Rate" CssClass="fieldsetControlStyle"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:TextBox ID="txtRate" runat="server" Text='<%# Eval("Units") %>'></asp:TextBox>
                                    <br />
                                    <asp:Label ID="lblQuantity" runat="server" Text="Quantity"></asp:Label>
                                    <telerik:RadNumericTextBox ID="rntbQuantity" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                        IncrementSettings-InterceptMouseWheel="true" runat="server" Type="Number" Width="80px"
                                        NumberFormat-DecimalDigits="0" MinValue="0" IncrementSettings-Step="1" CssClass="fieldsetControlWidth fieldsetLine" />
                                    <br />
                                    <asp:Label ID="lblCostPrice" runat="server" Text="Cost Price" CssClass="fieldsetControlStyle"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;
                                    <telerik:RadNumericTextBox ID="rntbCostPrice" MinValue="0" runat="server" MaxLength="6"
                                        DbValue='<%# Bind("CostPrice") %>' Width="160px" Type="Currency" Culture="English (United Kingdom)">
                                    </telerik:RadNumericTextBox>
                                    <br />
                                    <asp:Label ID="lblSellingPrice" runat="server" Text="Selling Price" CssClass="fieldsetControlStyle"></asp:Label>
                                    &nbsp;
                                    <telerik:RadNumericTextBox ID="rntbSellingPrice" MinValue="0" runat="server" MaxLength="6"
                                        DbValue='<%# Bind("SellingPrice") %>' Width="160px" Type="Currency" Culture="English (United Kingdom)">
                                    </telerik:RadNumericTextBox>
                                    <br />
                                    <br />
                                    <asp:LinkButton ID="lnkbtnUpdate" runat="server" CausesValidation="True" CommandName='<%# IIf( DataBinder.Eval(Container, "OwnerTableView.IsItemInserted"), "PerformInsert", "Update") %>'
                                        CssClass="lnkButton" ToolTip="Update">
                                        <asp:Image ID="imgUpdate" runat="server" ImageUrl="~/Portals/0/Images/Update.gif" /></asp:LinkButton>
                                    &nbsp;<asp:LinkButton ID="lnkbtnCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                                        CssClass="lnkButton" ToolTip="Cancel">
                                        <asp:Image ID="imgCancel" runat="server" ImageUrl="~/Portals/0/Images/Cancel.gif" /></asp:LinkButton>
                                </div>
                            </FormTemplate>
                            <%-- <EditColumn ButtonType="ImageButton" InsertText="Insert Item" UpdateText="Update Item"
                                UpdateImageUrl="~/Portals/0/Images/Update.gif" InsertImageUrl="~/Portals/0/Images/Update.gif"
                                UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                            </EditColumn>
                        </EditFormSettings>--%>
                    </telerik:GridTableView>
                </DetailTables>
            </telerik:GridTableView>
        </DetailTables>
        <CommandItemSettings AddNewRecordText="Add new Quotation" AddNewRecordImageUrl="~/Portals/0/Images/AddRecord.gif"
            ShowRefreshButton="false" ShowExportToPdfButton="true" />
    </MasterTableView>
    <ClientSettings AllowKeyboardNavigation="true" EnableRowHoverStyle="true">
        <ClientEvents OnRowContextMenu="RowContextMenu" OnRowDblClick="RowDblClick" />
        <Selecting AllowRowSelect="true" />
        <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true"
            AllowActiveRowCycle="true" CollapseDetailTableKey="LeftArrow" ExpandDetailTableKey="RightArrow" />
    </ClientSettings>
</telerik:RadGrid>
<telerik:RadContextMenu ID="rcMenu" runat="server" OnItemClick="rcMenu_ItemClick"
    EnableRoundedCorners="true" EnableShadows="true">
    <Items>
        <telerik:RadMenuItem Text="Add" />
        <telerik:RadMenuItem Text="Edit" />
        <telerik:RadMenuItem Text="Delete" />
        <telerik:RadMenuItem Text="Move Up" />
        <telerik:RadMenuItem Text="Move Down" />
    </Items>
</telerik:RadContextMenu>
<%--</telerik:RadAjaxPanel>--%>
<input type="hidden" id="radGridClickedRowIndex" name="radGridClickedRowIndex" />
<input type="hidden" id="radGridClickedTableId" name="radGridClickedTableId" />
Muhammad
Top achievements
Rank 1
 answered on 31 May 2011
2 answers
116 views
Hi,
I have two list boxes inside a RadComboBox. RadListBoxSource is bound to an ObjectDataSource that load the listbox with names. The RadListBoxDestination is not bounded to anything, it just accepts the values that I select to transfer. The problem I am having is that when I select an Item from the RadListBoxSource, I break inside its ontransferring and ontransferred without ever breaking inside the RadListBoxDestination's oninserting and oninserted events.

I have witnessed the flow looking at the transfer demo and see that all the mentioned events get called; however, two do not get called.

Any Help will be appreciated.

Thanks in advance,
Gary

<asp:ObjectDataSource ID="ObjectDataSourceLookUpValues" runat="server"
    OldValuesParameterFormatString="original_{0}" SelectMethod="Select"
     
    TypeName="Epsi.Segmentation.WebApp.DataSource.ObjectDataSourceAttrLookUpValues">
    <SelectParameters>
        <asp:Parameter Name="attrEntityDto" Type="Object" />
    </SelectParameters>
</asp:ObjectDataSource>
 
<telerik:RadComboBox ID="RadComboBoxStringInLookupValue" Runat="server"
    Width="325px" AllowCustomText="True" CausesValidation="False"
    EmptyMessage="<%$ Resources:CommonUserMsg, EnterValueMsgResource %>"
    EnableTextSelection="False" DropDownWidth="325px" HighlightTemplatedItems="True" 
    OnClientDropDownClosing="OnClientDropDownClosing"
    OnClientDropDownClosed="DropDownClosed_PopulateInComboBoxEmptyMessage" >
    <ItemTemplate>
        <ul>
         <li class="col1">
           <telerik:RadListBox ID="RadListBoxSource" runat="server" Height="125px" AutoPostBack="False"
                DataSourceID="ObjectDataSourceLookUpValues" DataTextField="Descr" DataValueField="Code"
                AllowTransfer="true" TransferToID="RadListBoxDestination" SelectionMode="Multiple" 
                AllowTransferOnDoubleClick="True" AutoPostBackOnTransfer="True"
                OnTransferring="RadListBoxSource_Transferring"
                OnClientSelectedIndexChanged="IndexChanged" ondatabound="OnDataBound"
                onitemdatabound="OnItemsDataBound"
                 ontransferred="RadListBoxSource_OnTransfered"
                 TransferMode="Move" >
               <ButtonSettings TransferButtons="Common"></ButtonSettings>
           </telerik:RadListBox
         </li
         <li class="col2">
            <telerik:RadListBox ID="RadListBoxDestination" runat="server" Height="125px" SelectionMode="Multiple"
               oninserted="RadListBoxDestination_AddItemToList"
                 oninserting="RadListBoxDestination_Inserting" AllowDelete="True"
                 TransferMode="Move">
            </telerik:RadListBox>
         </li>                                
        </ul>
      </ItemTemplate>
      <Items>
          <telerik:RadComboBoxItem Text="" />
      </Items>          
</telerik:RadComboBox>
gary
Top achievements
Rank 1
 answered on 31 May 2011
3 answers
61 views
Hi.
A column's values in a grid are disappearing when the user is doing something on the web-site, like push a button or insert an item in another grid but not when user is inserting a new item in the grid that keep the column that lose it's values. When I refresh the grid, the values are coming back. The column is keeping a bool value from the database that is displaying as text (and as a combobox when inserting items). The code is:

 
<telerik:GridTemplateColumn HeaderStyle-Width="195px" DataField="Shipregistry" HeaderText="Skipsregister" SortExpression="Shipregistry" UniqueName="Shipregistry">
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "Shipregistry")%></ItemTemplate>
                    <EditItemTemplate>
                        <telerik:RadComboBox DataTextField="Shipregistry" DataValueField="Shipregistry" ID="ShipregistryComboBox" HighlightTemplatedItems="true" EmptyMessage="Velg et element..." AllowCustomText="true"
                        runat="server" Height="50px"  Width="95px" SelectedValue='<%#Bind("Shipregistry") %>' AutoPostBack="true">
                        <Items>                       
                            <telerik:RadComboBoxItem runat="server" Text="norsk" Value="NOR"/>
                            <telerik:RadComboBoxItem runat="server" Text="internasjonalt" Value="NIC"/>
                        </Items>
                    </telerik:RadComboBox>       
                    <asp:RequiredFieldValidator runat="server" ErrorMessage="*"  ForeColor="Red" ControlToValidate="ShipregistryComboBox" ID="RequiredFieldValidator2"></asp:RequiredFieldValidator>   
                    </EditItemTemplate><HeaderStyle Width="195px"></HeaderStyle>
                </telerik:GridTemplateColumn>

protected void RadGridFerryReg_ItemDataBound(object sender, GridItemEventArgs e)
       {
           if (e.Item is GridDataItem && e.Item.DataItem is Ferry)
           {              
         var item = e.Item as GridDataItem;
               var ferry = e.Item.DataItem as Ferry;
               item["Shipregistry"].Text = ferry.Shipregistry == "NOR" ? "norsk" : "internasjonalt";     
           }        
       }

Anyone have an idea why this happens? Perhaps the content is wrong in the ItemTemplate ....

Daniel
Telerik team
 answered on 31 May 2011
1 answer
59 views
Hi Telerik,

I have two tabs, one tab displays some information and a tab to load RadEditor

When run the program I set SelectedIndex is Tab1, then press into Tab2 and press update button to write content of editor,
It's ok on Firefox or Chrome but it's doesn't work in IE9

You can see my sample project in download link below,
http://www.mediafire.com/?o73iqtm9vyoy1mw
Please check it for me,

Thanks
Rumen
Telerik team
 answered on 31 May 2011
1 answer
74 views
i am using ajax concepts to load rotator . but as is a service that shows latest informations , i must clear data before to add new arrivals data from ajax request .. How can i do that using javascript block.


to load data , it works fine using .


 

 

var radRotatorItemData = [];

 

 

radRotatorItemData.Html =

 

"<a href='' style='margin-left:10px'>" + DAF + "</a>";

 

 

rotator.addRotatorItem(radRotatorItemData, 0);

Niko
Telerik team
 answered on 31 May 2011
1 answer
140 views

Hi,

I'm working with Performance Center from HP and apparently they use the telerik component. Since last week I get an error that applies on the raduploadmodule of Telerik. I also contacted HP support but they are not progressing on this so I'm trying to directly check for help on this forum. I'm admin on the server where Performance Center is running on so I have the rights to do anything ;)

Who can help or point me to the solution?

Thanks,
Nico
 

Server Error in '/LoadTest' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The specified module could not be found. (Exception from HRESULT: 0x8007007E) (E:\Program Files\HP\Performance Center Server\PCWEB\web.config line 104)

Source Error:

Line 102:      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 103:      <add name="SSOHttpModule" type="HP.PC.Security.SSO.MessageHandlers.SSOHttpModule, HP.PC.Security.SSO" />
Line 104: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />Line 105:    </httpModules>
Line 106:  </system.web>

Source File: E:\Program Files\HP\Performance Center Server\PCWEB\web.config    Line: 104


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
Nico
Top achievements
Rank 1
 answered on 31 May 2011
1 answer
83 views
Hallo,

I have got a problem with the example on Example.

Because of this, i edited my code as following:
<telerik:RadGrid runat="server" ID="Grid_Statistik" AllowMultiRowEdit="false" Skin="Office2007"
            GridLines="None"  PageSize="20" AllowPaging="true" DataSourceID="Grid_Statistik_DataSource" AllowSorting="true"  ShowStatusBar="true" >
             <ExportSettings FileName="File" OpenInNewWindow="True">
                <Pdf PaperSize="A4" PageHeight="210mm" PageWidth="297mm" />
            </ExportSettings>
            <GroupPanel ID="GroupPanel" Text="Gruppierungsfläche">
            </GroupPanel><%----%>
            <MasterTableView Name="Grid_Statistik" runat="server"DataSourceID="Grid_Statistik_DataSource"
                AutoGenerateColumns="false" PageSize="20" AllowPaging="true" AllowMultiRowEdit="false" AllowFilteringByColumn="True">
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px" />
                </ExpandCollapseColumn>
                <Columns>
<telerik:GridBoundColumn HeaderText="Employee" UniqueName="Employee"
                        DataField="Employee" DataType="System.String" ReadOnly="True">
                        <FilterTemplate><%--DataSourceID="MA_Source" DataTextField="nameKomplett" DataValueField="hr_m_personal_id" --%>
                          <telerik:RadComboBox id="cbx_MA" runat="server" Skin="Office2007" OnLoad="cbx_MA_Load"
                          SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("Employee").CurrentFilterValue %>' OnClientSelectedIndexChanged="EmployeeIndexChanged"><%----%>
                            </telerik:RadComboBox>
                                <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                            <script type="text/javascript">
                                    function EmployeeIndexChanged(sender, args) {
                                        var tableView = $find(<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>");
                                        tableView.filter("Employee", args.get_item().get_value(), "EqualTo");
                                }
                                </script>
                            </telerik:RadScriptBlock>
                        </FilterTemplate>
                        <HeaderStyle Width="250px" />
                    </telerik:GridBoundColumn>
 </Columns>
 </MasterTableView>
            <ClientSettings>
                <Scrolling ScrollHeight="415px" AllowScroll="True" UseStaticHeaders="true" />
            </ClientSettings>
            <PagerStyle AlwaysVisible="true" />
            <HeaderContextMenu EnableTheming="True">
 
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </HeaderContextMenu>
            <FilterMenu EnableTheming="True">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </FilterMenu>
        </telerik:RadGrid>

If I use the RadComboBox to edit my filtervalue, my browser returns the following errorcode:
"tableView is null"
Because I used the code of the example, it might be a copy paste problem, but I don't see the mistake.....

Best regards
Mira
Telerik team
 answered on 31 May 2011
7 answers
149 views
Does RadRotator have a way to do a mouse over caption transparent area similar to the SimpleViewer.  An example of what I am looking for is at http://www.techstudio.ca/portfolio

I want to have the same functionality as this one without the thumbnails but with auto advance.

Thanks
Clint

Niko
Telerik team
 answered on 31 May 2011
1 answer
101 views
Hi,

I want to change the font color of selected Menu when it clicked. I tried to do it in Menu css but what is happening is, When we click on any menu there is page load and it reloads a full page and in that case the css again reload with page. So I thought to change font color of selected menu in C# code in Page_Load. But I am getting null for the selectedItem everytime after selection of any menu
Can you please let me know that how to do that change font color of selected menu ?

Note: I don't have any submenu in my menu control.


Thanks,
--JP
Princy
Top achievements
Rank 2
 answered on 31 May 2011
3 answers
227 views
http://www.telerik.com/help/aspnet-ajax/upload-custom-progress-monitoring-with-ajax.html

I am wanting to auto-hide the RadProgressArea on completion using AJAX - it does this automatically with a postback, but within an UpdatePanel, it just stays open after completion.
Referring to the above link, I have tried wrapping the RadProgressArea inside the UpdatePanel as well as not. I am having trouble with hiding the RadProgressArea on completion. I am using a Custom Progress, measuring a foreach loop and not uploading files.
How am I supposed to hide the RadProgressArea on completion? I have tried on client-side via the .hide() function and OnClientProgressUpdating event but this hides it as soon as it appears - before it's complete.

Thanks
David
Top achievements
Rank 1
 answered on 31 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?