Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Hi,

I have searched documentation and the internet for possible resolutions to this problem with no luck so far. 

I have an instance of RadGrid which utilizes a WebUserControl for its EditForm. The EditForm itself works fine, but when the EditForm is shown, it can appear outside of the RadGrid, as shown in the attached photo. Below are relevant code snippets.

Default.aspx:

    <asp:UpdatePanel ID="notificationGridUpdatePanel" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true"> 
        <ContentTemplate> 
            <telerik:RadGrid ID="notificationGrid" runat="server" Visible="false" Height="500" Width="1200" Skin="Hay" AllowSorting="true" AutoGenerateColumns="false" OnItemDataBound="notificationGridItemDataBound" 
                OnNeedDataSource="notificationGridNeedDataSource" OnUpdateCommand="notificationGridUpdateCommand" OnInsertCommand="notificationGridInsertCommand" OnDeleteCommand="notificationGridDeleteCommand" > 
                <MasterTableView Width="100%" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add new notification"> 
                    <Columns> 
                        <telerik:GridEditCommandColumn HeaderText="Edit" UniqueName="EditColumn" HeaderStyle-Width="50px" /> 
                        <telerik:GridButtonColumn HeaderText="Delete" UniqueName="DeleteColumn" Text="Delete" CommandName="Delete" ConfirmText="Are you sure you would like to delete this notification?" HeaderStyle-Width="50px" /> 
                        <telerik:GridBoundColumn DataField="Active" HeaderText="Active" UniqueName="Active" SortExpression="Active" HeaderStyle-Width="50px" /> 
                        <telerik:GridBoundColumn DataField="Market" HeaderText="Market / Scenario" UniqueName="Market" SortExpression="Market" HeaderStyle-Width="150px" /> 
                        <telerik:GridBoundColumn DataField="Email" HeaderText="Email" UniqueName="Email" SortExpression="Email"  HeaderStyle-Width="300px"/> 
                        <telerik:GridBoundColumn DataField="StartHour" HeaderText="StartHour" UniqueName="StartHour" SortExpression="StartHour" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="EndHour" HeaderText="EndHour" UniqueName="EndHour" SortExpression="EndHour" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="Min_Erlang" HeaderText="Min Erlang" UniqueName="Min_Erlang" SortExpression="Min_Erlang" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="Min_Avg_Erlang" HeaderText="Min Avg Erlang" UniqueName="Min_Avg_Erlang" SortExpression="Min_Avg_Erlang" HeaderStyle-Width="100px" /> 
                        <telerik:GridBoundColumn DataField="STDEV_Erlang" HeaderText="STDEV Erlang" UniqueName="STDEV_Erlang" SortExpression="STDEV_Erlang" HeaderStyle-Width="100px" /> 
                        <telerik:GridBoundColumn DataField="Min_Atts" HeaderText="Min Atts" UniqueName="Min_Atts" SortExpression="Min_Atts" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="STDEV_Atts" HeaderText="STDEV Atts" UniqueName="STDEV_Atts" SortExpression="STDEV_Atts" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="P_Block" HeaderText="% Block" UniqueName="P_Block" SortExpression="P_Block" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="STDEV_Block" HeaderText="STDEV Block" UniqueName="STDEV_Block" SortExpression="STDEV_Block" HeaderStyle-Width="100px" /> 
                        <telerik:GridBoundColumn DataField="P_IAs" HeaderText="% IAs" UniqueName="P_IAs" SortExpression="P_IAs" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="STDEV_IAs" HeaderText="STDEV IAs" UniqueName="STDEV_IAs" SortExpression="STDEV_IAs" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="P_Drop" HeaderText="% Drop" UniqueName="P_Drop" SortExpression="P_Drop" HeaderStyle-Width="75px" /> 
                        <telerik:GridBoundColumn DataField="STDEV_Drop" HeaderText="STDEV Drop" UniqueName="STDEV_Drop" SortExpression="STDEV_Drop" HeaderStyle-Width="100px" /> 
                    </Columns> 
                    <EditFormSettings FormStyle-Width="600" UserControlName="NotificationEdit.ascx" EditFormType="WebUserControl"  /> 
                </MasterTableView> 
                <HeaderStyle Wrap="false" /> 
                <ClientSettings Scrolling-AllowScroll="true" Scrolling-UseStaticHeaders="true" /> 
                <AlternatingItemStyle BackColor="#c9fca3" />   
            </telerik:RadGrid> 
        </ContentTemplate> 
    </asp:UpdatePanel> 


NotificationEdit.ascx:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NotificationEdit.ascx.cs" Inherits="NotificationEdit" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<div style="position:relative; height:315px; border: solid 1px #4EB106;"> 
    <table style="position:relative; top:10px; left:10px; border: solid 1px #4EB106;" cellspacing="2" cellpadding="2"> 
        <tr> 
            <td valign="top"> 
 
                <!-- Form inputs here, removed for brevity --> 
 
            </td> 
        </tr> 
    </table> 
     
    <div style="position:relative; top:17px; left:10px; height:17px;"> 
        <asp:Label ID="inputValidationErrorMessage" runat="server" Text="Validation OK" ForeColor="Green" /> 
    </div> 
     
    <div style="position:relative; top:20px; left:10px;"> 
        <asp:LinkButton ID="updateButton" runat="server" Text="Update" CommandName="Update" Visible="<%# !(DataItem is Telerik.Web.UI.GridInsertionObject) %>" /> 
        <asp:LinkButton ID="insertButton" runat="server" Text="Insert" CommandName="PerformInsert" Visible="<%# (DataItem is Telerik.Web.UI.GridInsertionObject) %>" /> 
        <asp:LinkButton ID="cancelButton" runat="server" Text="Cancel" CommandName="Cancel" CausesValidation="false" /> 
    </div> 
     
</div> 

I have tried many different tweaks to fix this, but nothing has works thus far. I have even examined the generated HTML / CSS and still can't figure out why the EditForm is showing outside of the RadGrid.

Thanks to anybody who may be able to provide insight on this issue.

Regards,
Kyle
Martin
Telerik team
 answered on 14 Oct 2009
5 answers
195 views
Hi,

We are using RAD editor to display multi line data in the custom list forms of our MOSS 2007 sites. It works fine in certain cases but fails in a few of them (especially in the new and the edit forms) with the script controls prerender error message. Could you please let me know what could be causing this issue to happen?

Appreciate an early response on the same.

Thanks
Stanimir
Telerik team
 answered on 14 Oct 2009
1 answer
327 views
Hi,

I use a RadComboBox with load on demand feature. My problem is when I place the control in my application, the radcomobox waits about 20-30 seconds before calling the backend Itemrequested event. And then everything works as expected. When the user edits the text again, another 30 seconds have to pass before my backend function is called and the items in the drop down list are updated. Just to make sure, the time I mention is not passing in my backend function. My function is called after 30 seconds.

I took out the combo box to a new page to isolate the problem -and created the page below- which works just fine! The backend code is almost the same for both pages so I think it is irrelevant. There probably is some kind of interference with the RadComboBox and any other control in my application. I am adding the body part of my real application below too. It uses Google maps API and many other Telerik components. Any suggestions?

Thanks,
Ozgur
p.s. The second the page I'm adding below has two RadComboBoxes as I was trying to find out if it only habppens when the Combobox is in another control but no, bot of the combobozes there behave the same.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="PapBluemaps.Search" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
   
    <script type="text/javascript">

        searchHandler = function(caller) {
            var locationId = caller.get_value();

            alert(locationId);
        }

    </script>
   
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="blueMapsScriptManager" />
        <telerik:RadComboBox ID="searchBoxTest" AllowCustomText="True" runat="server" Width="160px"
            Height="100px" DataTextField="name" EmptyMessage="Search for Locations..."
            DataValueField="id" MarkFirstMatch="True"
            EnableLoadOnDemand="true" ShowMoreResultsBox="false" EnableVirtualScrolling="false" OnItemsRequested="searchBox_ItemRequested"
            OnClientSelectedIndexChanged="searchHandler"
            OnClientDropDownClosed="searchHandler" LoadingMessage="Searching..." Sort="Ascending" SortCaseSensitive="False">
        </telerik:RadComboBox>
    </form>
</body>
</html>

<body>
    <img alt="BlueNET" src="images/logo.png" class="logo" />
    <form id="mainForm" runat="server">
    <asp:ScriptManager runat="server" ID="blueMapsScriptManager" />
<telerik:RadComboBox ID="searchBoxTest" AllowCustomText="True" runat="server" Width="160px"
    Height="100px" DataTextField="name" EmptyMessage="Search for Locations..."
    DataValueField="id" MarkFirstMatch="True"
    EnableLoadOnDemand="true" ShowMoreResultsBox="false" EnableVirtualScrolling="false" OnItemsRequested="searchBox_ItemRequested"
    OnClientSelectedIndexChanged="searchHandler"
    OnClientDropDownClosed="searchHandler" LoadingMessage="Searching..." Sort="Ascending" SortCaseSensitive="False">
</telerik:RadComboBox>
    <telerik:RadSkinManager ID="radSkinManager" Skin="Office2007" runat="server" />
    <telerik:RadFormDecorator ID="blueMapsFormDecorator" runat="server" DecoratedControls="all" Skin="Web20"></telerik:RadFormDecorator>
    <div id="ParentDivElement" style="height: 100%;">
        <telerik:RadSplitter ID="mainSplitter" runat="server" Height="100%" Width="100%" Orientation="Vertical" LiveResize="true">
            <telerik:RadPane ID="leftPane" runat="server" Width="230" Scrolling="None">
                <center>
                    <img alt="Pinch a Penny" src="images/paplogo.png" /></center>
                <telerik:RadPanelBar runat="server" ID="controlPanel" Width="100%" Height="394" ExpandMode="FullExpandedItem"
                    CollapseAnimation-Duration="600" EnableViewState="False" ExpandAnimation-Duration="500"
                    BackColor="#EEEEFF">
                    <Items>
                        <telerik:RadPanelItem Text="Sales Overview" Expanded="true" ImageUrl="images/UI/overview.png">
                            <Items>
                                <telerik:RadPanelItem>
                                    <ItemTemplate>
                                        <center>
                                            <iframe width='230' height='220' frameborder='0' scrolling="no" src='http://172.28.200.54/locationintelligence/finreport-en-us.mht'>
                                            </iframe>
                                            <button onclick="window.open('TabbedReportChain.aspx', 'child', 'top=0,left=0,screenY=0,screenX=0,width=1250,height=950,resizable=yes');">
                                                Chain Details</button>
                                        </center>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="Business Locations" ImageUrl="images/UI/locationfilter.png">
                            <Items>
                                <telerik:RadPanelItem>
                                    <ItemTemplate>
                                        <telerik:RadTreeView runat="server" ID="locationTypesTreeView" CheckBoxes="True"
                                            OnClientNodeChecked="HandleLocationTypesCheck">
                                            <Nodes>
                                                <telerik:RadTreeNode Text="Zones" Value="2" Checked>
                                                </telerik:RadTreeNode>
                                                <telerik:RadTreeNode Text="Stores" Value="3" Checked>
                                                </telerik:RadTreeNode>
                                                <telerik:RadTreeNode Text="Leslie's" Value="4">
                                                </telerik:RadTreeNode>
                                            </Nodes>
                                        </telerik:RadTreeView>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="Sales Metrics" ImageUrl="images/UI/measurefilter.png">
                            <Items>
                                <telerik:RadPanelItem>
                                    <ItemTemplate>
                                        <b>&nbsp;Store Metrics</b><br />
                                            <telerik:RadToolBar ID="metrics" runat="server" Flow="Vertical" Orientation="Vertical"
                                                OnClientButtonClicking="salesMetricsClientSelectedIndexChanged">
                                                <Items>
                                                    <telerik:RadToolBarButton Text="None" Value="1" />
                                                    <telerik:RadToolBarDropDown Text="Sales Metrics">
                                                        <Buttons>
                                                            <telerik:RadToolBarButton Text="Last Week Growth" Value="2" />
                                                            <telerik:RadToolBarButton Text="Year to Date Growth" Value="3" />
                                                            <telerik:RadToolBarButton Text="Last Week Sales" Value="4" />
                                                            <telerik:RadToolBarButton Text="Year to Date Sales" Value="5" />
                                                        </Buttons>
                                                    </telerik:RadToolBarDropDown>
                                                    <telerik:RadToolBarDropDown Text="Mailer Count Metrics">
                                                        <Buttons>
                                                            <telerik:RadToolBarButton Text="Total Mailer Count" Value="11" />
                                                            <telerik:RadToolBarButton Text="% of  A" Value="13" />
                                                            <telerik:RadToolBarButton Text="% of  PR" Value="15" />
                                                            <telerik:RadToolBarButton Text="% Chg  A YTD" Value="17" />
                                                        </Buttons>
                                                    </telerik:RadToolBarDropDown>
                                                </Items>
                                            </telerik:RadToolBar><br />
                                            <asp:CheckBox ID="zonesame" Text="Zone metrics same as store" Value="1" Checked onClick="zoneSameAsStore(this)" runat="server" /><br />
                                        <b>&nbsp;Zone Metrics</b><br />
                                            <telerik:RadToolBar ID="RadToolBar1" runat="server" Flow="Vertical" Orientation="Vertical"
                                                OnClientButtonClicking="salesMetricsClientSelectedIndexChanged">
                                                <Items>
                                                    <telerik:RadToolBarButton Text="None" Value="6" />
                                                    <telerik:RadToolBarDropDown Text="Sales Metrics">
                                                        <Buttons>
                                                            <telerik:RadToolBarButton Text="Last Week Growth" Value="7" />
                                                            <telerik:RadToolBarButton Text="Year to Date Growth" Value="8" />
                                                            <telerik:RadToolBarButton Text="Last Week Sales" Value="9" />
                                                            <telerik:RadToolBarButton Text="Year to Date Sales" Value="10" />
                                                        </Buttons>
                                                    </telerik:RadToolBarDropDown>
                                                    <telerik:RadToolBarDropDown Text="Mailer Count Metrics">
                                                        <Buttons>
                                                            <telerik:RadToolBarButton Text="Total Mailer Count" Value="12" />
                                                            <telerik:RadToolBarButton Text="% of  A" Value="14" />
                                                            <telerik:RadToolBarButton Text="% of  PR" Value="16" />
                                                            <telerik:RadToolBarButton Text="% Chg  A YTD" Value="18" />
                                                        </Buttons>
                                                    </telerik:RadToolBarDropDown>
                                                </Items>
                                            </telerik:RadToolBar>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="Geography" ImageUrl="images/UI/mapfilter.png">
                            <Items>
                                <telerik:RadPanelItem>
                                    <ItemTemplate>
                                        <telerik:RadTreeView ID="locationsTreeView" runat="server" CheckBoxes="True" CheckChildNodes="True"
                                            DataSourceID="locationsTreeDataSource" OnClientNodeChecked="HandleLocationTreeCheck"
                                            OnClientNodeClicked="HandleLocationTreeClick" TriStateCheckBoxes="True" MaxDataBindDepth="2">
                                            <DataBindings>
                                                <telerik:RadTreeNodeBinding TextField="name" DataMember="location" ValueField="treeid"
                                                    TargetField="id" NavigateUrl="javascript:void(0)" Checked />
                                            </DataBindings>
                                        </telerik:RadTreeView>
                                        <table style="width: 100%; text-align: left">
                                            <tr>
                                                <td>
                                                    <button style="width: 70px" type="button" onclick="geoClearAllClick()">
                                                        Clear All</button>
                                                </td>
                                                <td>
                                                    <button style="width: 70px" type="button" onclick="geoCheckAllClick()">
                                                        Check All</button>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="Custom Queries" ImageUrl="images/UI/customquery.png">
                            <Items>
                                <telerik:RadPanelItem>
                                    <ItemTemplate>
                                        <fieldset style="width: 100%">
                                            <legend>Top 10 Stores</legend>
                                            <telerik:RadComboBox ID="topQueries" runat="server" OnClientSelectedIndexChanged="topCustomQuerySelected">
                                                <Items>
                                                    <telerik:RadComboBoxItem Text="None" Value="1" Selected="true" />
                                                    <telerik:RadComboBoxItem Text="LW Top 10 Sellers" Value="2" />
                                                    <telerik:RadComboBoxItem Text="LW Top 10 Growth" Value="3" />
                                                    <telerik:RadComboBoxItem Text="LW Top 10 Variance" Value="4" />
                                                    <telerik:RadComboBoxItem Text="YTD Top 10 Sellers" Value="5" />
                                                    <telerik:RadComboBoxItem Text="YTD Top 10 Growth" Value="6" />
                                                    <telerik:RadComboBoxItem Text="YTD Top 10 Variance" Value="7" />
                                                </Items>
                                            </telerik:RadComboBox>
                                        </fieldset>
                                        <fieldset style="width: 100%">
                                            <legend>Bottom 10 Stores</legend>
                                            <telerik:RadComboBox ID="bottomQueries" runat="server" OnClientSelectedIndexChanged="bottomCustomQuerySelected">
                                                <Items>
                                                    <telerik:RadComboBoxItem Text="None" Value="1" Selected="true" />
                                                    <telerik:RadComboBoxItem Text="LW Bottom 10 Sellers" Value="2" />
                                                    <telerik:RadComboBoxItem Text="LW Bottom 10 Growth" Value="3" />
                                                    <telerik:RadComboBoxItem Text="LW Bottom 10 Variance" Value="4" />
                                                    <telerik:RadComboBoxItem Text="YTD Bottom 10 Sellers" Value="5" />
                                                    <telerik:RadComboBoxItem Text="YTD Bottom 10 Growth" Value="6" />
                                                    <telerik:RadComboBoxItem Text="YTD Bottom 10 Variance" Value="7" />
                                                </Items>
                                            </telerik:RadComboBox>
                                        </fieldset>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelBar>
                <telerik:RadSplitter ID="leftSplitter" runat="server" Height="100%" Width="100%" Orientation="Horizontal" LiveResize="true">
                    <telerik:RadPane ID="Legend" runat="server" Width="100%" Scrolling="Both">
                    <table style="width: 100%">
                        <tr>
                            <td>
                                <center>
                                    <b>Stores</b></center>
                            </td>
                            <td>
                                <center>
                                    <b>Zones</b></center>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">
                                <div class="legend" id="legend1"/>
                            </td>
                            <td valign="top">
                                <div class="legend" id="legend2"/>
                            </td>
                        </tr>
                    </table>
                </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
            <telerik:RadSplitBar ID="verticalSplitBar" runat="server" CollapseMode="Forward" />
            <telerik:RadPane ID="mainPane" runat="server" Scrolling="none" MinWidth="500">
                <telerik:RadSplitter ID="nestedSplitter" runat="server" ResizeMode="EndPane" Orientation="Horizontal">
                    <telerik:RadPane ID="topPane" runat="server" Height="30px" Scrolling="none">
                        <!-- Place the content of the pane here -->
                        <telerik:RadToolBar ID="mainToolBar" runat="server" Style="z-index: 9000001" Width="1600px"
                            OnClientButtonClicking="blue.controlHandler">
                            <Items>
                                <telerik:RadToolBarButton Text="<u>R</u>eset Map" ToolTip="Reset Map" Value="ClearMap"
                                    ImageUrl="images/UI/mapclear.png" AccessKey="R" />
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarButton Text="<u>R</u>ecenter Map" ToolTip="Recenter Map" Value="Goto"
                                    ImageUrl="images/UI/recenter.png" AccessKey="g" />
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarDropDown ID="gotoDropDown" Text="<u>Z</u>ones">
                                </telerik:RadToolBarDropDown>
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarButton>
                                    <ItemTemplate>
                                        <telerik:RadComboBox ID="searchBox" AllowCustomText="True" runat="server" Width="160px"
                                            Height="100px" DataTextField="name" EmptyMessage="Search for Locations..."
                                            DataValueField="id" MarkFirstMatch="True"
                                            EnableLoadOnDemand="true" ShowMoreResultsBox="false" EnableVirtualScrolling="false" OnItemsRequested="searchBox_ItemRequested"
                                            OnClientSelectedIndexChanged="blue.controlHandler"
                                            OnClientDropDownClosed="blue.controlHandler" LoadingMessage="Searching..." Sort="Ascending" SortCaseSensitive="False">
                                        </telerik:RadComboBox>
                                    </ItemTemplate>
                                </telerik:RadToolBarButton>
                                <telerik:RadToolBarButton Text="<u>S</u>earch" ToolTip="Search" />
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarDropDown Text="Tools" ToolTip="Tools">
                                    <Buttons>
                                        <telerik:RadToolBarButton Text="Help" Value="Help" />
                                        <telerik:RadToolBarButton Text="Bluemaps site" Value="Bluemaps Site" />
                                    </Buttons>
                                </telerik:RadToolBarDropDown>
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarButton ImageUrl="images/UI/stop.png" ToolTip="Stop" Value="Stop" />
                                <telerik:RadToolBarButton ImageUrl="images/UI/pause.png" ToolTip="Pause" Value="Pause" />
                                <telerik:RadToolBarButton ImageUrl="images/UI/play.png" ToolTip="Play" Value="Play" />
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarDropDown Text="Map Types">
                                    <Buttons>
                                        <telerik:RadToolBarButton Text="Simple Map" Value="SimpleMap">
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="StreetMap" Value="StreetMap">
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="Terrain" Value="Terrain">
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="Satellite" Value="Satellite">
                                        </telerik:RadToolBarButton>
                                    </Buttons>
                                </telerik:RadToolBarDropDown>
                                <telerik:RadToolBarButton IsSeparator="true" />
                                <telerik:RadToolBarButton>
                                    <ItemTemplate>
                                        <span id="statusLabel" class="status">Status:</span> <span id="status" class="status">
                                        </span>
                                    </ItemTemplate>
                                </telerik:RadToolBarButton>
                            </Items>
                        </telerik:RadToolBar>
                    </telerik:RadPane>
                    <telerik:RadSplitBar ID="horozontalSplitBar" runat="server" CollapseMode="Forward" />
                    <telerik:RadPane ID="contentPane" runat="server">
                        <!-- Place the content of the pane here -->
                        <div id="mapCanvas" style="top: 0; left: 0; width: 100%; height: 100%" />
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    <asp:XmlDataSource ID="locationsTreeDataSource" runat="server" DataFile="" XPath="locations/*" EnableCaching="False" EnableViewState="False"></asp:XmlDataSource>
    </form>

    <script type="text/javascript">
        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl/." : "http://www/.");
        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>

    <script type="text/javascript">
        try {
            var pageTracker = _gat._getTracker("UA-8867808-1");
            pageTracker._trackPageview();
        } catch (err) { }</script>

</body>
</html>

Vesko
Top achievements
Rank 2
 answered on 14 Oct 2009
1 answer
483 views
I'm running a server with IIS 6.0 that now has multiple web applications that are Telerik Web Applications. I just tried to do my initial deployment of the second application and started getting this error from the web.config

 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 entry 'RadUploadModule' has already been added. 
 
Source Error: 
 
Line 203:    <httpModules> 
Line 204:      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
Line 205:      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
Line 206:      <add name="RadCompression" type="Telerik.Web.UI.RadCompression, Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
Line 207:    </httpModules> 


I have each site running in it's own individual app pool. How else am I supposed to separate these sites to not get this error? Currently I can get around it by just commenting out the httpModules from the one config since I'm not taking advantage of it in both sites but I would like this fixed before I want to use the functionality in both.
Veselin Vasilev
Telerik team
 answered on 14 Oct 2009
4 answers
126 views
I'm using the RadEditor but the icons seem to be corrupted in Firefox and Chrome.  It looks fine in Safari and Opera.  Any ideas?

Have a look at this screenshot here: Firefox screengrab

Using Telerik.Web.UI.dll   2008.3.1314.35






Lini
Telerik team
 answered on 14 Oct 2009
1 answer
178 views
Hello!

I was trying to find some references searching the forums and google but I couldn't find anything related... Maybe I don't know exactly how to look up the information.

I'm using VS 2008 with a trial version of Telerik Ajax asp.net and I have two doubts.

I created a RadGrid in Popup mode for inserting the data through a custom template. So far so good. Regular text boxes insert the data correctly.

1. Inside the template I added a couple of RadTextBoxes and added an asp button to search addresses based on the ZIP code informed. When I run the search off the template window it works properly running the button onClick's method, but I can't access the function that inside the aspx.cs file from within the template stating that the textbox id couldn't be found. How can I access this function?

2. In the template I added a RadCombobox in order to read the data from a second table (get it populated properly) but I'd like to bind the selected value with the table's value when I update/insert.
The main table is my Client's table and the referred one is a status table.

The following code is inside the template:
                    <telerik:RadComboBox ID="RadComboBox1" Runat="server"  
                        DataSourceID="SituacaoAlunosDatasource"  
                        DataTextField="sts_titulo"  
                        DataValueField="sts_id"  
                        LoadingMessage="Carregando..." AppendDataBoundItems="true"  
                        SelectedValue='<%# Bind("eixxxx_sts_statusaluno") %>' > 
                    </telerik:RadComboBox> 

The error message says that the field "eixxxx_sts_statusaluno" can't have the property set... This field is related to the main table's field.

Thanks for the help

Ricardo


Johny
Top achievements
Rank 1
 answered on 14 Oct 2009
1 answer
95 views
Hi there,

I want to create a grid with 2 rows header. Please refer to the attached file.

I followed the following articles: 
http://www.telerik.com/help/aspnet-ajax/grdcustomizewithgridtemplatecolumn.html
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx

Somewhat I managed to create it. But somehow it's not presentable.
1. I couldn't remove the padding. How to remove the padding and the border for internal table.
2. I very much want to try this technique:
http://blogs.msdn.com/mattdotson/articles/541795.aspx
But after I managed to add the row header, I got an error message saying the row can't be handle by griditem.


Thanks.

Pavlina
Telerik team
 answered on 14 Oct 2009
4 answers
136 views
I have a name in ItemDataBound event I want to shorten.  When I do MyObj dataitem = (MyObj)e.Item.DataItem
dataitem.MyField = dataitem.Myfield.Substring(0,5) It does not save and it is not changed when I look at the grid. Maybe I am supposed to be doing this somewhere else (another grid event) or some other way.
Princy
Top achievements
Rank 2
 answered on 14 Oct 2009
1 answer
228 views
I've got a 2 level hierarchical grid and I need to set the formatting of certain rows in the child level. I've tried puttting the conditional formatting elements in the itemdatabound event for the overall grid and also in the detailtabledatabind. In each case it has a hard time finding the data element that sets the condition and I get a "cannot find a cell bound to column name..."

Is there an example of how to set the format of a child row based on a data element within that row?

For example if the child row has a data element called "Level" and if level for that row is "3" then the data element called "Name" would be orange...


thanks for any guidance you can give
Princy
Top achievements
Rank 2
 answered on 14 Oct 2009
2 answers
227 views
Hai Telerik Team,


                  I'm using radtooltipmanager to enlarge the picture that's binded in the grid as an item template. I'm using the Client event OnRowClick event to get the rowpositiion and from this using the OnRowMouseover of the grid is used to get the datakeyvalue of the row and from that i'm setting the image to zoom on the radtooltipmanager.

          My problem is that I need to get the datakeyvalue on the OnRowMouseover event itself. so that the image can be enlarged on row mouse over.


Please provide me a solution, its urgent
 

Unni
unnikkannan m
Top achievements
Rank 1
 answered on 14 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?