Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
133 views
Hello - It seems that the Scrolling functionality of the RadRotator is having adverse effects on the display of my web pages. Is there a way to disable the functionality altogether? I've tried things like setting the ScrollDuration to some ridiculously high value in hopes that my frames would change but the scrolling would not occur, but that doesn't seem to work. Thanks.

Matt
Princy
Top achievements
Rank 2
 answered on 30 Dec 2010
5 answers
180 views
When ever we are filtering or doing any operation on UnAssignedTasks, the loading panel does not appear on the tab. It only appears on AssignedTasks tab. Are we doing or missing anything?

Please note that when we switch between the tabs, loading panel appears as expected. The only issue is within the unassignedTasks tabs where the loading panel is not shown when performing any action within that user control.

<%@ Page Language="C#" MasterPageFile="~/Platform/Interface/Default.master" AutoEventWireup="true"
    CodeFile="ConsolidatedView.aspx.cs" Inherits="Interface_PendingTask_ConsolidatedView"
    Title="" %>
 
<%@ Register Src="~/WebControls/PendingTask/Tasks.ascx" TagName="Tasks" TagPrefix="rei" %>
<%@ Register Src="~/WebControls/PendingTask/TaskDetails.ascx" TagName="TaskDetails"
    TagPrefix="rei" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <rei:REIRadAjaxManagerProxy ID="rampPendingTasks" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="lnkViewType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlTaskHeader" LoadingPanelID="TaskLoadingPanel" />
                     
                     
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="rtsTasks">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlTasks" LoadingPanelID="TaskLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
<%--            <telerik:AjaxSetting AjaxControlID="reiSearchPanel">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlTaskHeader" LoadingPanelID="TaskLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>--%>
            <telerik:AjaxSetting AjaxControlID="UnAssignedTasks">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlTasks" LoadingPanelID="TaskLoadingPanel" />
                     
                     
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </rei:REIRadAjaxManagerProxy>
    <rei:REIRadAjaxLoadingPanel ID="TaskLoadingPanel" runat="server">
    </rei:REIRadAjaxLoadingPanel>
    <telerik:RadCodeBlock runat="server" ID="rdCodeBlock">
 
        <script language="javascript" type="text/javascript">      
         function OnClientItemChecked(sender, eventArgs)
         {    
            var lstBoxControl;      
            lstBoxControl = $find(sender.get_id());
            var items = lstBoxControl.get_items();        
            if(eventArgs.get_item().get_index() == 0)
            {
                var firstIndex = eventArgs.get_item().get_checked();
                for(var i=0;i<lstBoxControl.get_items().get_count();i++)
                {
                     
                    items.getItem(i).set_checked(firstIndex);
                }
            }
            else
            {
                   items.getItem(0).set_checked(false);
            }       
         }
        </script>
 
    </telerik:RadCodeBlock>
    <rei:REISearchPanel ID="reiSearchPanel" runat="server" ValidationGroup="ValGroupSearchDates">
        <rei:BasicSearchPanel ID="BasicSearchPanel" runat="server">
            <table width="100%" border="0" class="module_tb" summary="Basic Search Filters">
                <tr>
                    <td width="12%" scope="row">
                        <rei:REIASPLabel ID="lblTrackingNumber" runat="server" Text="Tracking #" />
                    </td>
                    <td width="28%">
                        <rei:REIASPTextBox ID="txtTrackingNumber" runat="server" MaxLength="20" Width="150px" />
                    </td>
                    <td width="12%" valign="middle">
                        <rei:REIASPLabel ID="lblRole" runat="server" Text="Role" />
                    </td>
                    <td width="48%">
                        <rei:REIRadListBox ID="lstRole" EnableEmbeddedSkins="false" CheckBoxes="true" SelectionMode="Multiple"
                            Width="250px" Height="70px" runat="server" OnClientItemChecked="OnClientItemChecked">
                        </rei:REIRadListBox>
                    </td>
                </tr>
                <tr>
                    <td width="12%" scope="row" valign="middle">
                        <rei:REIASPLabel ID="lblDocument" runat="server" Text="Document" />
                    </td>
                    <td width="48%" class="searchvertalign">
                        <rei:REIRadListBox ID="lstDocument" EnableEmbeddedSkins="false" CheckBoxes="true"
                            Width="250px" Height="70px" SelectionMode="Multiple" runat="server" OnClientItemChecked="OnClientItemChecked">
                        </rei:REIRadListBox>
                    </td>
                    <td width="12%" valign="middle">
                        <rei:REIASPLabel ID="lblTask" runat="server" Text="Task" />
                    </td>
                    <td width="48%">
                        <rei:REIRadListBox ID="lstTasks" EnableEmbeddedSkins="false" CheckBoxes="true" SelectionMode="Multiple"
                            Width="250px" Height="70px" runat="server" OnClientItemChecked="OnClientItemChecked">
                        </rei:REIRadListBox>
                    </td>
                </tr>
                <tr>
                    <td width="12%" valign="middle" scope="row">
                        <rei:REIASPLabel ID="lblStatus" runat="server" Text="Status" />
                    </td>
                    <td width="48%" class="searchvertalign">
                        <rei:REIRadListBox ID="lstStatus" EnableEmbeddedSkins="false" CheckBoxes="true" SelectionMode="Multiple"
                            Width="250px" Height="70px" runat="server" OnClientItemChecked="OnClientItemChecked">
                        </rei:REIRadListBox>
                    </td>
                    <td width="12%">
                        <rei:REIASPLabel ID="lblDisplayView" runat="server" Text="Display View" />
                    </td>
                    <td width="48%">
                        <rei:REIASPRadioButtonList ID="rbListDisplay" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Text="Consolidated" Value="Consolidated" Selected="True" />
                            <asp:ListItem Text="Detailed" Value="Detailed" />
                        </rei:REIASPRadioButtonList>
                    </td>
                </tr>
            </table>
        </rei:BasicSearchPanel>
        <rei:AdvancedSearchPanel ID="AdvancedSearchPanel" runat="server">
            <table width="100%" border="0" class="module_tb" summary="Basic Search Filters">
                <tr>
                    <td width="8%" class="searchvertalign" scope="row">
                        <rei:REIASPLabel ID="lblAssignedDateFrom" runat="server" Text="Assigned On" />
                    </td>
                    <td class="searchvertalign">
                        <rei:REIASPLabel ID="lblDateFrom" runat="server" Text="Between" AssociatedControlID="dpAssignedDateFrom" />
                        <rei:REIRadDatePicker ID="dpAssignedDateFrom" runat="server" Width="100px" EnableEmbeddedSkins="false"
                            Skin="HrsaTheme">
                            <Calendar>
                                <SpecialDays>
                                    <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Bisque" />
                                </SpecialDays>
                            </Calendar>
                        </rei:REIRadDatePicker>
                        <rei:REIASPLabel ID="lblAssignedDateTo" runat="server" Text="and" AssociatedControlID="dpAssignedDateTo" />
                        <rei:REIRadDatePicker ID="dpAssignedDateTo" runat="server" Width="100px" EnableEmbeddedSkins="false"
                            Skin="HrsaTheme">
                            <Calendar>
                                <SpecialDays>
                                    <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Bisque" />
                                </SpecialDays>
                            </Calendar>
                        </rei:REIRadDatePicker>
                    </td>
                    <td width="8%" class="searchvertalign" scope="row">
                        <rei:REIASPLabel ID="lblCompledOn" runat="server" Text="Completed On" />
                    </td>
                    <td class="searchvertalign">
                        <rei:REIASPLabel ID="lblCompletedDateFrom" runat="server" Text="Between" AssociatedControlID="dpCompletedDateFrom" />
                        <rei:REIRadDatePicker ID="dpCompletedDateFrom" runat="server" Width="100px" EnableEmbeddedSkins="false"
                            Skin="HrsaTheme">
                            <Calendar>
                                <SpecialDays>
                                    <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Bisque" />
                                </SpecialDays>
                            </Calendar>
                        </rei:REIRadDatePicker>
                        <rei:REIASPLabel ID="lblCompletedDateTo" runat="server" Text="and" AssociatedControlID="dpCompletedDateTo" />
                        <rei:REIRadDatePicker ID="dpCompletedDateTo" runat="server" Width="100px" EnableEmbeddedSkins="false"
                            Skin="HrsaTheme">
                            <Calendar>
                                <SpecialDays>
                                    <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Bisque" />
                                </SpecialDays>
                            </Calendar>
                        </rei:REIRadDatePicker>
                    </td>
                </tr>
            </table>
        </rei:AdvancedSearchPanel>
        <rei:DisplaySearchOptions ID="parsortbyCombo" runat="server" SearchPanelID="reiSearchPanel">
            <Fields>
                <rei:Field Name="Role" Value="RoleAbbr" />
                <rei:Field Name="Document" Value="ProcessName" />
                <rei:Field Name="Task" Value="TaskType" />
            </Fields>
            <SortItems>
                <rei:SortItem DefaultFieldName="Role" DefaultSortOrder="Ascending" />
                <rei:SortItem DefaultFieldName="Document" DefaultSortOrder="Ascending" />
                <rei:SortItem DefaultFieldName="Task" DefaultSortOrder="Descending" />
            </SortItems>
        </rei:DisplaySearchOptions>
    </rei:REISearchPanel>
 
    <script type="text/javascript">
            showDetailedViewClick.subscribe(function(sender, eventArgs) {
                javascript: __doPostBack('ctl00$MainContent$lnkViewType', '');
            }
        );
    </script>
 
    <asp:Panel ID="pnlTaskHeader" runat="server">
        <table width="100%">
            <tr>
                <td align="right">
                    <rei:REIASPLinkButton ID="lnkViewType" runat="server" Text="Task Detailed View" Visible="false" />
                </td>
            </tr>
        </table>
        <asp:Panel ID="pnlTasks" runat="server">
            <div class="tabout">
                <div class="tabsstrip">
                    <rei:REIRadTabStrip ID="rtsTasks" runat="server" SelectedIndex="0" Width="100%" BorderStyle="None"
                        OnTabClick="rtsTasks_OnTabClick">
                        <Tabs>
                            <rei:REIRadTab runat="server" Text="Assigned" SelectedIndex="0" />
                            <rei:REIRadTab runat="server" Text="Unassigned" SelectedIndex="1" />
                            <rei:REIRadTab runat="server" Text="Recently Completed" SelectedIndex="2" />
                        </Tabs>
                    </rei:REIRadTabStrip>
                </div>
                <asp:Panel ID="pnlConsolidatedView" runat="server" Visible="false">
                    <div class="tabins">
                        <asp:Panel ID="pnlConsolidatedAssigned" runat="server" Visible="false">
                            <div class="rmpHiddenView">
                                <div id="Div3">
                                    <rei:Tasks ID="AssignedTasks" runat="server" />
                                </div>
                            </div>
                        </asp:Panel>
                        <asp:Panel ID="pnlConsolidatedUnassigned" runat="server" Visible="false">
                            <div class="rmpHiddenView">
                                <div id="Div8">
                                    <rei:Tasks ID="UnAssignedTasks" runat="server" />
                                </div>
                            </div>
                        </asp:Panel>
                        <asp:Panel ID="pnlConsolidatedRecentlyCompleted" runat="server" Visible="false">
                            <div class="rmpHiddenView">
                                <div id="Div11">
                                    <rei:Tasks ID="CompletedTasks" runat="server" />
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </asp:Panel>
                <asp:Panel ID="pnlDetailedView" runat="server" Visible="false">
                    <div class="tabins">
                        <asp:Panel ID="pnlDetailedAssigned" runat="server" Visible="false">
                            <div class="rmpHiddenView">
                                <div id="Div5">
                                    <rei:TaskDetails ID="AssignedTaskDetails" runat="server" />
                                </div>
                            </div>
                        </asp:Panel>
                        <asp:Panel ID="pnlDetailedUnassigned" runat="server" Visible="false">
                            <div class="rmpHiddenView">
                                <div id="Div13">
                                    <rei:TaskDetails ID="UnAssignedTaskDetails" runat="server" />
                                </div>
                            </div>
                        </asp:Panel>
                        <asp:Panel ID="pnlDetailedRecentlyCompleted" runat="server" Visible="false">
                            <div class="rmpHiddenView">
                                <div id="Div22">
                                    <rei:TaskDetails ID="CompletedTaskDetails" runat="server" />
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </asp:Panel>
            </div>
        </asp:Panel>
    </asp:Panel>
</asp:Content>
Iana Tsolova
Telerik team
 answered on 30 Dec 2010
5 answers
179 views
Hi Telerik,

I want to use a list view control with an user control as its data item. I want to add user control and bind to the list view each time a button is clicked. I also want paging for the list view. Please reply me asap.

Thanks in advance
Iana Tsolova
Telerik team
 answered on 30 Dec 2010
5 answers
264 views
HI,

I have rad grid and it has list of records, when i click on one record it shows detail information on popup page.
For pop up page I show the rad list view control and show the detail record.
in rad list view also have RadDataPager for showing the next previous record.
my problem was i need to show my selected record in the rad list view control as a first page.
that's mean when i pass the id of my record how should i show that record in first page.

How should i do it, please help me as soon as possible, this is urgent.

thanks
Waruni
Iana Tsolova
Telerik team
 answered on 30 Dec 2010
1 answer
171 views
Hi,

I want to add items in a specific category to my RadListBox Control. But I don't know how it would be done. I would like to give an example that how my RadListBox should appears. Fruits and Vegetables are categories and the items appear in each category should appear in a sorted manner in each category. Any help regarding this really appreciated.

Fruits
Apple
Grapes
Orange
Vegetables
Cucumber
Okra
spinach

Princy
Top achievements
Rank 2
 answered on 30 Dec 2010
1 answer
80 views
Hi,

I have a requirement that I need to implement a modal popup if a hyperlink is clicked on a page.  When the modal popup is selected, the user is given a message asking if they wish to leave the site and there are two buttons on the site (cancel and ok).  If ok is clicked, a new window is opened and the user is navigated to the target url in the new window.

If the cancel button is clicked, the popup closes and the user remains on the page.

There is styling involved as well since when the window opens the page behind it appears to be disabled.  With the ModalPopupExtender, this is done using the BackgroundCssClass which is something like

.modal-background
{
    width:100%;
    min-height:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:100000;
    background-color:#333333;
    opacity:0.55;
    -moz-opacity:0.55;
    filter:alpha(opacity=55);
}

Does the RadWindow implement the same kind of functionality and if not, are there any RadControls that do?

Thanks,
Princy
Top achievements
Rank 2
 answered on 30 Dec 2010
1 answer
134 views
Hey Everybody,

I'm binding my RadScheduler to a custom data provider via a WCF service. When I use GetAppointments to return a non-recurring appointment, everything is fine. However, as soon as I try to return a recurring appointment, I get "The server method 'Get Appointments' failed". If I put a break-point in the WCF GetAppointments method, I notice that it is being called repeatedly without throwing any exceptions, but then fails and returns NO exception information to the client. Anybody have any idea what might be happening? Seems like there's some type of infinite loop happening, but I have no idea why. Any help would be greatly appreciated!

Thanks,
Landon
Veronica
Telerik team
 answered on 30 Dec 2010
2 answers
224 views
Hi, I have a page with several controls including a RadGrid.  In it, I have a LinkButton that opens a RadWindow popup using the radopen() command.  It works perfectly, the only problem is that the grid is on the bottom of the page and when I press the button to inside on of the grid's rows the RadWindow opens at the top of the page and my grid looses focus since the page is automatically scrolled to the top.  I included two screenshots to illustrate my problem: Screenshot 1 shows the grid at the bottom of the page; Screenshot 2 shows the page after the window is opened.  Here you can clearly see the problem.  I have researched your forums and codebase to no avail.  Remember that it is not a RadGrid's popup I am opening... it is a completely independent one triggered by a LinkButton inside the Grid.  Here is my RadWindowManager definition I have in the page:
<telerik:RadWindowManager ID="MasterWindowManager" runat="server" Modal="True" Skin="Black"   
        AutoSize="True" Width="450" Height="300" ShowContentDuringLoad="False"
        Style="z-index:7001" Behaviors="Resize, Close, Maximize, Move, Reload"
        DestroyOnClose="False" EnableShadow="True" KeepInScreenBounds="True" ReloadOnShow="true" VisibleStatusbar="False">
        <Windows>     
            <telerik:RadWindow ID="DefaultPopup" runat="server" DestroyOnClose="false"/>
        </Windows>
    </telerik:RadWindowManager>

Thanks for any help,
Manuel

Fiko
Telerik team
 answered on 30 Dec 2010
1 answer
142 views
I have a tabstrip having RadMultiPageView control having 3 tabs on the page and various telerik/.net controls like dropdonw, textbox etc on each tab. I have "Next" and "Previous" buttons on each tab. What I want is on click of Next button, second tab should get active/selected and similarly if I click on Previous button, previous tab should get selected. Can you please help me achieving this on client side.
Thanks
Pankaj
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2010
4 answers
241 views
Hi,
I have already seen the error folowing path: http://www.telerik.com/community/forums/aspnet-ajax/menu/296630-multi-column-menu.aspx.
Now i use the Telerik with version: 2010.1.421.20. Can you send Service pack to fix this error?

Also, i want to fix other error: space of "Root RadMenuItem1" element to "|" element is small. My coding is below:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
 <style type="text/css">
    
    body
    {
        margin: 0 auto;
        padding: 0;
        text-align: center;
        width: 1000px;
    }
    

     
    
</style>    
<script type="text/javascript">


    function OnClientItemOpeningHandler(sender, args) {

        var item = args.get_item();
        // runtime positining of the submenu
        setTimeout(function() {
            var offset = item.get_element().clientWidth - item.get_childListElement().clientWidth;
            $telerik.$(".rmSlide").css("left", offset/2);
        }, 0);

    }
    
</script>    
</head>
<body>
    <form id="mainForm" method="post" runat="server">
        <telerik:RadScriptManager ID="ScriptManager" runat="server" />
        <table><tr>
        <td><img width="150" height="25"  src="../Common/Images/Common/BLANK.GIF" alt="" /></td>
        <td>
        
         <div >
            <telerik:RadMenu ID="RadMenu2" runat="server" Skin="Office2007" EnableEmbeddedSkins="False"  OnClientItemOpening="OnClientItemOpeningHandler">
                
                <DefaultGroupSettings RepeatColumns="5" RepeatDirection="Vertical" OffsetY="-1" OffsetX="-20" />
                <Items>
                    <telerik:RadMenuItem CssClass="HoaNguyen-TopMenu" runat="server" Text="Root RadMenuItem1" >
                        <Items>
                            <telerik:RadMenuItem CssClass="HoaNguyen-TopMenuLevelTwo" runat="server" Text="Child RadMenuItem 1">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem CssClass="HoaNguyen-TopMenuLevelTwo" runat="server" Text="Child RadMenuItem 2">
                            </telerik:RadMenuItem>
                             <telerik:RadMenuItem CssClass="HoaNguyen-TopMenuLevelTwo" runat="server" Text="Child RadMenuItem 2">
                            </telerik:RadMenuItem>
                             <telerik:RadMenuItem CssClass="HoaNguyen-TopMenuLevelTwo" runat="server" Text="Child RadMenuItem 2">
                            </telerik:RadMenuItem>                                                      
                        </Items>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem CssClass="HoaNguyen-TopMenu" runat="server" Text="|"  ></telerik:RadMenuItem>
                    <telerik:RadMenuItem CssClass="HoaNguyen-TopMenu" runat="server" Text="Root RadMenuItem2" >
                        <Items>
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem CssClass="HoaNguyen-TopMenu" runat="server" Text="|"  ></telerik:RadMenuItem>
                    <telerik:RadMenuItem CssClass="HoaNguyen-TopMenu" runat="server" Text="Root RadMenuItem3" >
                        <Items>
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadMenu>
        </div>
</td></tr></table>



    </form>
</body>
</html>



Thanks,
PhuongLD
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2010
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?