Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
31 views


<?xml version="1.0" encoding="utf-8" ?>
  <siteMapNode title="Home" url="Default.aspx">
    <siteMapNode title="Base info" url="">
      <siteMapNode title="provinces" url="~/AppUsers/addProvince.aspx"/>
      <siteMapNode title="Cities" url="~/AppUsers/addCity.aspx" />
      <siteMapNode title="Sender" url="~/AppUsers/addFactory.aspx" />
      <siteMapNode title="NVP" url="~/AppUsers/addRepresentation.aspx"/>
    </siteMapNode>


<telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="RadSiteMapDataSource1"  >  </telerik:RadMenu>
 <telerik:RadSiteMapDataSource ID="RadSiteMapDataSource1" runat="server" ShowStartingNode="false"  />

hi , this is my code in web.sitemap and web form  but when i show menu , menu show url property(in web.sitemap) in browser . i wana to show only url property .
see attachment picture
please help me
Boyan Dimitrov
Telerik team
 answered on 19 Feb 2014
3 answers
365 views
For Telerik RadGrid Multirow edit, When editing a row, I have a DropDownList in the grid column. Options can be Date, Number or Text. Based on the option selected, the next column should render the control (date picker, numeric textbox, textbox). How to achieve this functionality ?
Viktor Tachev
Telerik team
 answered on 19 Feb 2014
2 answers
90 views
I have a website that has a RadMultiPage control on the main page with 5 UserControls that wrap RadGrid's in each PageView.  The ASP.NET markup for this is below:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <ClientEvents OnRequestStart="onRequestStart" OnResponseEnd="hideHourGlass" />
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadCodeBlock1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPageReporting" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadListBoxActiveLayer">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPageReporting" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadMultiPageReporting">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPageReporting"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Transparency="20" Skin="Default" />
    <telerik:RadMultiPage runat="server" ID="RadMultiPageReporting" SelectedIndex="4">
        <telerik:RadPageView runat="server" CssClass="radPageView" ID="RadPageView1">
            <div>
                <uc:CCTVGrid runat="server" ID="CCTVGridUserControl" />
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" CssClass="radPageView" ID="RadPageView2">
            <div>
                <uc:CommSegmentsGrid runat="server" ID="CommSegmentsGridUserControl" />
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" CssClass="radPageView" ID="RadPageView3">
            <div>
                <uc:DetectorsGrid runat="server" ID="DetectorsGridUserControl" />
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" CssClass="radPageView" ID="RadPageView4">
            <div>
                <uc:DMSGrid runat="server" ID="DMSGridUserControl" />
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" CssClass="radPageView" ID="RadPageView5">
            <div>
                <uc:TrafficSignalsGrid runat="server" ID="TrafficSignalsGridUserControl" />
            </div>
        </telerik:RadPageView>
    </telerik:RadMultiPage>

The problem I am having is with the TrafficSignalsGrid (RadGrid with Virtualization enabled).  In spite of a number of solutions I have tried, it will not show a RadAjaxLoadingPanel when it has to load more data on scrolling.  Right now I've left it with the markup I added to try to use the "RadAjaxLoadingPanel1" control that is in the main page (above) but that's not working.  I tried creating a new Loading Panel and adding it to the TrafficSignalsGrid user control, but couldn't get that to work either.  Can you please assist me with the right way to do this?  The relevant markup for the TrafficSignalsGrid is included below:

<telerik:RadGrid ID="RadGridTrafficSignals" runat="server" 
        CssClass="gridClass"
        GridLines="None"
        AutoGenerateColumns="False"
        AllowSorting="True"
        EnableHeaderContextMenu="True"
        Width="98%" Height="636px"
        OnNeedDataSource="RadGridTrafficSignals_NeedDataSource"
        OnUpdateCommand="RadGridTrafficSignals_OnUpdateCommand"
        OnItemUpdated="RadGridTrafficSignals_ItemUpdated"
        OnDataBound="RadGridTrafficSignals_DataBound"
        OnItemCommand="RadGridTrafficSignals_ItemCommand"
        OnItemCreated="RadGridTrafficSignals_OnItemCreated"
        CellSpacing="0"
        AllowFilteringByColumn="True"
        ShowGroupPanel="True"
        ShowStatusBar="False">
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True">
            <ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick" OnGridCreated="GridCreated" OnCommand="GridCommand"></ClientEvents>
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ScrollHeight="458px"></Scrolling>
            <Virtualization EnableVirtualization="true" ItemsPerView="100" LoadingPanelID="RadAjaxLoadingPanel1" />
        </ClientSettings>
...
</telerik:RadGrid>
Kostadin
Telerik team
 answered on 19 Feb 2014
1 answer
135 views
Hi,
I am tried to export the content of editor to pdf but its not generating pdf file,
please check the code.
<asp:Button ID="Button2" Text="Export RadEditor content to PDF" runat="server" OnClick="Button2_Click"></asp:Button>
    <br />
    <br />
    <telerik:RadEditor ID="RadEditor1" runat="server" ContentFilters="DefaultFilters,PdfExportFilter">
         <ExportSettings OpenInNewWindow="true">
         </ExportSettings>
         <Content>
          Test pdf content
         </Content>
    </telerik:RadEditor>
.Cs file
protected void Button2_Click(object sender, EventArgs e)
{
    RadEditor1.ExportToPdf();
}
Slav
Telerik team
 answered on 19 Feb 2014
4 answers
275 views
I can add items to a comboBox - thru your excellent Telerik example.

But I am trying to delete all items , this code deletes some , not all 

function RemoveAllItems() 
    {
  
        var combo = $find('cboGarmentSize');
        var comboItems = combo.get_items();
          
        for (var i = 0; i < comboItems.get_count(); i++)
        {
            combo.trackChanges();
            var item = comboItems.getItem(i);
  
            combo.get_items().remove(item);
            combo.commitChanges();
              
        }
           
    }
Daniel Aquere
Top achievements
Rank 2
 answered on 19 Feb 2014
1 answer
51 views
Hi

I'm trying to create a Department Planner.

I need time in 15 mins interval for 24 hours horizontally on the header and employees name vertically. I need to be able to select the time interval for each employees. Also, I need to group employees based on their job profile. I also need a few footers to calculate totals.

For example

                                        6:00                   7:00                   8:00                9:00            10:00 .............................n                                                            Total hrs worked
                                  15   30   45       15   30   45       15  30   45     15   30  45    15   30  45

Group A - Emp1      highlight back color if working and if double clicked on a particular 15 mins interval then change the colour                                Total Emp1
Group A - Emp2                                     
Group A - Emp3
     :
Group A -Footer total...

Group B - Emp1
Group B - Emp2
    :
Group B - Footer total


What' s the best control that I can use to achieve the above scenario.

Any suggestions would be appreciated.

Thanks
Plamen
Telerik team
 answered on 19 Feb 2014
1 answer
51 views
i have rad editor in my website,and image manager work correctly(pic2)
when browse from VS.but when browse it from Internet Information Service
and server image manager dialog not showing correctly and toolbox dose

how to solve this problem?
Marin Bratanov
Telerik team
 answered on 19 Feb 2014
1 answer
113 views
i have rad editor in my website,and image manager work correctly when
browse from VS.but when browse it from Internet Information Service and
server image manager dialog not showing correctly and toolbox dose not
show.
how to solve this problem?
Marin Bratanov
Telerik team
 answered on 19 Feb 2014
1 answer
67 views
the Dialogs (documents,images,media....) are not aligned right.
the folder tree in in the middle the files is in the left side , and the preview on the right side 


you should add this style  to widget.css when on rtl mode:

.redWrapper .redFEWrapper{float: right;}
that fixed the problem .

ido nahmias
Lnet CTO
Danail Vasilev
Telerik team
 answered on 19 Feb 2014
1 answer
107 views
i have rad editor in my website,and image manager work correctly
when browse from VS.but when browse it from Internet Information Service
and server image manager dialog not showing correctly and toolbox dose

how to solve this problem?
Marin Bratanov
Telerik team
 answered on 19 Feb 2014
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?