Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
196 views
When I place a Rad Control in a Child Master Page which is nested within a Parent Master Page I get the following rollover error with the telerik: prefix, "Unrecognized tag prefix or device filter 'telerik'"

To demonstrate the problem I have used the Nested MasterPages with two level TabStrip project from the Code Library and added a Rad Control to the AnimalsMaster.Master page. A screenshot of the problem is attached.

Rgds Len Jones
Chad
Top achievements
Rank 1
 answered on 20 Feb 2014
20 answers
441 views

Hello,

I am having a strange problem with the RadGrid on IE 9.  The grid looks fine when published to a site, but when I am debugging code in Visual Studio 2008 the column alignment does not align with the headers.  This is affecting all grids in every .NET project that I have, but again - only when debugging or browsing the page from within Visual Studio.

This issue originally occurred when I went to IE 9 and only occurs when debugging or browsing a page in Visual Studio.  I had found a fix before, but cannot remember what the fix was (it was a either a setting in either IE or a modification to the skin for the grid) and cannot find it now.  Once the latest ASP.NET AJAX update was applied, the issue came back.  A sample of a grid that is affected by this issue is provided below.

<asp:Content ID="ViewEventLogContent" ContentPlaceHolderID="ViewEventLogContent" Runat="Server">
    <asp:Panel ID="pnlEventLog" runat="server" Visible="false">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="gridTableStyle">
    <tr><td style="height:10px"> </td></tr>
    <tr>
        <td>
            <telerik:RadGrid ID="RadGridEventLog" runat="server"
                    AutoGenerateColumns="false" AllowSorting="True" AllowPaging="true" Skin="Simple" ClientSettings-Resizing-AllowColumnResize="true"
                    ItemStyle-Wrap="false" Width="95%" HeaderStyle-Wrap="false" PageSize="10"
                    OnNeedDataSource="RadGridEventLog_NeedDataSource">
                    <PagerStyle Mode="NumericPages" />          
                    <ClientSettings>
                        <Scrolling AllowScroll="true" UseStaticHeaders="true"  />
                    </ClientSettings>
                    <MasterTableView TableLayout="Fixed" AllowMultiColumnSorting="true" DataKeyNames="EventLogId" ShowFooter="false" PagerStyle-AlwaysVisible="false" >
                        <Columns>
                            <telerik:GridBoundColumn DataField="EventLogId" HeaderButtonType="TextButton" HeaderText="Event Log ID" HeaderStyle-Width="100" />
                            <telerik:GridBoundColumn DataField="CampaignId" HeaderButtonType="TextButton" HeaderText="Campaign ID" HeaderStyle-Width="80" />
                            <telerik:GridBoundColumn DataField="EventStatusDesc" HeaderButtonType="TextButton" HeaderText="Event Status" HeaderStyle-Width="160" />
                            <telerik:GridBoundColumn DataField="EventTypeDesc" HeaderButtonType="TextButton" HeaderText="Event Type" HeaderStyle-Width="100" />
                            <telerik:GridBoundColumn DataField="EventReasonDesc" HeaderButtonType="TextButton" HeaderText="Event Reason" HeaderStyle-Width="100" />
                            <telerik:GridBoundColumn DataField="EventMessage" HeaderButtonType="TextButton" HeaderText="Event Message" HeaderStyle-Width="200" />
                            <telerik:GridBoundColumn DataField="FirstName" HeaderButtonType="TextButton" HeaderText="First Name" HeaderStyle-Width="150" />
                            <telerik:GridBoundColumn DataField="LastName" HeaderButtonType="TextButton" HeaderText="Last Name" HeaderStyle-Width="150" />
                            <telerik:GridBoundColumn DataField="ProfDesignation" HeaderButtonType="TextButton" HeaderText="Prof. Designation" HeaderStyle-Width="200" />
                            <telerik:GridBoundColumn DataField="StateLicenseNumber" HeaderButtonType="TextButton" HeaderText="SLN" HeaderStyle-Width="200" />
                            <telerik:GridBoundColumn DataField="StateOfLicensure" HeaderButtonType="TextButton" HeaderText="State of Licensure" HeaderStyle-Width="200" />
                            <telerik:GridBoundColumn DataField="EmailAddress" HeaderButtonType="TextButton" HeaderText="Email" HeaderStyle-Width="250" />
                            <telerik:GridDateTimeColumn DataField="CreateDate" HeaderButtonType="TextButton" HeaderText="Date" HeaderStyle-Width="150" DataFormatString="{0:MM/dd/yyyy hh:mm:ss tt}" />
                        </Columns>
                    </MasterTableView>
            </telerik:RadGrid>
        </td>
    </tr>
    </table>
    </asp:Panel>
</asp:Content>


Thanks,

Sam Bronchetti
Top achievements
Rank 1
 answered on 19 Feb 2014
4 answers
116 views
A customer has reported a problem with the Real-Time Html View module. The behavior can be seen using the Telerik demo editor.


Go here to access the editor with the Real-Time Html View module enabled:

   http://demos.telerik.com/aspnet-ajax/editor/examples/builtinmodules/defaultcs.aspx


Steps to reproduce the problem:


1. switch to HTML view

2. delete everything in HTML view

3. switch back to Design view

4. click in the Design view area and start typing.


After a few seconds of typing, the focus will shift to the Real-Time Html View area. Anything you have typed in the design window will be lost.


Can you offer a solution to this problem?

Thanks!
Trevor
Top achievements
Rank 1
 answered on 19 Feb 2014
1 answer
53 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
408 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
109 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
161 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
319 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
59 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
84 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?