Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
134 views
Hi,

i'm adding validator through the ItemCreated for the datetime column. The grid is giving me
Unable to cast object of type 'System.Web.UI.WebControls.Panel' to type 'System.Web.UI.WebControls.TableCell'.

the following is my c# code.

 

 

GridDateTimeColumnEditor editorStartTime = (GridDateTimeColumnEditor)item.EditManager.GetColumnEditor("StartRunTimeColumn");

 

cell = (

 

TableCell)editorStartTime.SharedTimeView.Parent;

 

RequiredFieldValidator

 

 

Validator =

 

new RequiredFieldValidator();

 

editorStartTime.SharedTimeView.ID =

 

"StartRunTimeColumn";

 

Validator.ControlToValidate = editorStartTime.TextBoxControl.ID;

Validator.BackColor = System.Drawing.

 

Color.Red;

 

Validator.ErrorMessage =

 

"*";

 

cell.Controls.Add(Validator);

Elliott
Top achievements
Rank 2
 answered on 30 Aug 2011
1 answer
95 views

 

 

hi all,

<
telerik:RadGrid ID="grid1" runat="server" GridLines="Both" HeaderStyle-Width="100px"

 

 

 

Width="500px" OnItemDataBound="grid1_ItemDataBound" CssClass="rgTwoLines"

 

 

 

Skin="Outlook" ItemStyle-HorizontalAlign="Left" AlternatingItemStyle-HorizontalAlign="Left"

 

 

 

MasterTableView-TableLayout="Fixed" Style="overflow: auto" >

 

 

 

<ClientSettings>

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" FrozenColumnsCount="1">

 

 

 

</Scrolling>

 

 

 

</ClientSettings>

 

 

 

</telerik:RadGrid>

Above is my code. i am using this to freeze column and also for static header. one of the problem is that, even though grid has one row the height has still same and shows with unneccessary white space in height.
But if many rows then it is working fine as what i expected. Please see image for reference.
Any solution for this?

 

Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Aug 2011
1 answer
211 views
Hi,

We have just purchased the RadControls for ASP.Net/Ajax, and I am working in .Net 3.5.

I have a radmenu nested in a splitter that's working fine in IE, but the dropdowns are not overlaying in Chrome.

aspx Code:

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PMRep._Default" %>

 <!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 id="Head1" runat="server">

<title></title>

<link href="Styles.css" rel="stylesheet" type="text/css" />

<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://localhost/favicon.ico" />

<style type="text/css">

.menuPanes

{

overflow: visible !important;

}

.TelerikModalOverlay

{

filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=10) !important;

background: blue !important;

opacity: .1 !important;

-moz-opacity: .1 !important;

}

</style>

</head>

 <body>

 <form id="form1" runat="server">

 <telerik:RadScriptManager ID="RadScriptManagerDefault" runat="server">

<Scripts>

<%

--Needed for JavaScript IntelliSense in VS2010--%>

<%

--For VS2008 replace RadScriptManager with ScriptManager--%>

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />

</Scripts>

</telerik:RadScriptManager>

<script type="text/javascript">

//Put your JavaScript code here.

</script>

<telerik:RadAjaxManager ID="RadAjaxManagerDefault" runat="server">

</telerik:RadAjaxManager>

<telerik:RadSkinManager ID="RadSkinManagerDefault" runat="server">

</telerik:RadSkinManager>

<div>

<telerik:RadSplitter ID="RadSplitterTop" runat="server" Orientation="Horizontal" Width="100%"

Height="32px">

<telerik:RadPane ID="RadPaneTop" runat="server">

<div style="position: relative; z-index: 100;">

<telerik:RadMenu ID="RadMenuHome" runat="server" Height="30px" Width="100%" Visible="True"

OnItemClick="RadMenuHome_ItemClick" OnItemCreated="RadMenuHome_ItemCreated"

OnItemDataBound="RadMenuHome_ItemDataBound" EnableShadows="true" ExpandDelay="5"

EnableOverlay="true" EnableTheming="true" EnableRoundedCorners="true">

</telerik:RadMenu>

</div>

</telerik:RadPane>

</telerik:RadSplitter>

<telerik:RadSplitter ID="RadSplitterMain" runat="server" Orientation="Vertical" Height="880px"

Width="100%">

<telerik:RadPane ID="MainPane" runat="server" Width="100%">

<telerik:RadMultiPage ID="RadMultiPageMainPane" runat="server" SelectedIndex="0">

<telerik:RadPageView ID="RadPageViewMain" runat="server" BackColor="Transparent" Height="800">

</telerik:RadPageView>

</telerik:RadMultiPage>

</telerik:RadPane>

</telerik:RadSplitter>

</div>

</form>

</body>

</html>

 

c#:
using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.HtmlControls;

using System.Windows.Forms;

using System.Web.Security;

using System.Data;

using System.Drawing;

using Telerik.Web.UI;

 

namespace

PMRep

{

public partial class _Default : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

FillRadMenuHome();

if (Request.QueryString["repGrp"] != null)

RadPageViewMain.ContentUrl = "/Reports/" + Request.QueryString["repGrp"].ToString() + "/Default.aspx";

if (Request.QueryString["repID"] != null)

Application["repID"] = Request.QueryString["repID"].ToString();

if (!IsPostBack)

{

RadSkinManagerDefault.Skin = RadSkinManagerDefault.GetSkinChooser().SelectedValue;

}

}

 

private void FillRadMenuHome()

{

PMRep.DataAccess.AppStructure.BuildMenu bm = new PMRep.DataAccess.AppStructure.BuildMenu();

DataTable dt = bm.DataSetMenuItems();

 

RadMenuHome.DataSource = dt;

RadMenuHome.DataTextField = "MenuItemText";

RadMenuHome.DataValueField = "MenuItemID";

RadMenuHome.DataNavigateUrlField = "MenuItemURL";

RadMenuHome.DataFieldID = "MenuItemID";

RadMenuHome.DataFieldParentID = "MenuItemParentID";

RadMenuHome.EnableShadows = true;

RadMenuHome.DataBind();

 

RadMenuItem btnHome = new RadMenuItem(); 

btnHome.Text = "Home";

btnHome.NavigateUrl = "../Default.aspx";

RadMenuHome.Items.Insert(0, btnHome);

 

RadMenuItem pmlogo = new RadMenuItem();

pmlogo.ImageUrl = "/Images/pmlogo.gif";

RadMenuHome.Items.Add(pmlogo);

 

RadMenuItem chooseritem = new RadMenuItem();

HtmlGenericControl div = new HtmlGenericControl("div");

RadSkinManagerDefault.ShowChooser = true;

div.Controls.Add(RadSkinManagerDefault);

chooseritem.Controls.Add(div);

RadMenuHome.Items.Insert(RadMenuHome.Items.Count, chooseritem);

 

RadMenuItem btnLogout = new RadMenuItem();

btnLogout.Text = "Log Out";

btnLogout.Style.Add("float", "right");

RadMenuHome.Items.Add(btnLogout);

}

 

protected void RadMenuHome_ItemCreated(object sender, RadMenuEventArgs e)

 

{

}

 

protected void RadMenuHome_ItemDataBound(object sender, RadMenuEventArgs e)

 

{

}

 

protected void RadMenuHome_ItemClick(object sender, RadMenuEventArgs e)

 

{
if (e.Item.Text == "Log Out")

{

 

FormsAuthentication.SignOut();

Response.Redirect(Request.RawUrl);

}

}

 

}

}


I've also noticed that the float: right doesn't seem to be rendering properly in chrome.  I'd actually like the logout and skin chooser menu items to be aligned to the right, but I'm having issues with that too.  I have tried palying with the z-index but that doesn't seem to help.

Any help would be greatly appreciated.  Thanks!
Dawn
Top achievements
Rank 2
 answered on 30 Aug 2011
7 answers
147 views
Hi!
I've written some code that will enable/disable buttons and context menu options based on certain conditions on the folders. I started out with the sample found here http://www.telerik.com/community/forums/aspnet-ajax/file-explorer/prevent-delete-of-top-folder.aspx but have refactored out the event hookups to javascript like this: (instead of hooking them in the aspx markup of the File Explorer control)

Sys.Application.add_load(function (sender, args) {   
    $('.RadFileExplorer_Default').each(function () {
        var id = $(this).attr('id');
        var oExplorer = $find(id);
 
        OnClientFolderChange(oExplorer);
        oExplorer.add_folderLoaded(OnClientFolderChange);
        oExplorer.add_folderChange(OnClientFolderChange);
        oExplorer.add_itemSelected(OnClientItemSelected);
 
        oExplorer.get_tree().add_contextMenuShown(OnClientContextMenuShown);
    });   
});

The problem I have is that after any kind of moving files and folders through drag and drop operations in the file explorer the ContextMenuShown event doesn't trigger any more so all options are available in the menu for all folders. The events for the File Explorer still works though.

Any help on this is appreciated.
Dobromir
Telerik team
 answered on 30 Aug 2011
1 answer
133 views
I have a C#.NET page setup with a left and right RadPane. The left pane contains several radgrids situated in a RadPanelBar. (similar to an Outlook layout). In the RadPanelBar i have three RadPanelItems: one RadPanelItem contains a customer RadGrid, the second contains a customer Query Builder Form with three buttons and the third RadPanelItem contains two Grids. Those two grids contain info about saved queries and any lookup results, respectively. Here are the grid names for easy reference going forward (code will be provided below).

customerGrid, existingQueryGrid, custQueryResultsGrid

I have a RadToolTipManger assigned to customerGrid on ItemDatabound to display customer info on mouseover. I also have a separate RadToolTipManager for existingQueryGrid (also assigned target controls on databound) so the user can mouseover the saved lookup by name and view the lookup filter details.

I also have two user controls setup in the right side RadPane which contain radgrids with their own RadToolTipManager connections working in a similar way.

Scenario 1) When one submits a lookup from the query form, it populates existingQueryGrid (tooltips are bound on page load) and/or the custQueryResultsGrid depending on the query request ("save", "save and lookup" or just "lookup").Upon completion of the AJAX, any grids that were not Rebound no longer have the RadToolTips working. For example if one hits the "save" command then only the existingQueryGrid  is updated (since they only wanted to save the query) and therefore ToolTips are recreated and include a new record (works fine); however, since the customerGrid was not rebound here, the ToolTip for that Target Control set is no longer working.

Scenario 2) When one clicks a record from customerGrid, it loads the contact information into the user controls in the right pane and all the ToolTips are initialized and working when the respective user control Radgrids for Accounting and Product info are first bound. At this point the ToolTIp on the customerGrid is no longer functioning, and if  any other type of command is performed on customerGrid  like paging or filtering, the user control RadGrid ToolTips for the Accounting and Product  are no longer functiong until they are paged or sorted (at which point it works again).

All RadGrids and their respective tooltips are placed in the RadAjaxManager (and RadAjaxManager Proxy for user controls) settings so when one updates, the tooltip also should update. I am providing some relevant code:

MAIN PAGE (CLIENT SIDE)


<telerik:RadToolTipManager ID="RadToolTipManagerCustomer" Skin="Windows7" Width="300"
      OffsetX="5" Height="120" ShowDelay="500" runat="server" RelativeTo="Mouse" Position="MiddleRight"
      HideEvent="LeaveTargetAndToolTip" OnClientBeforeShow="RadToolTipCustomerBeforeShow" EnableViewState="false">
  </telerik:RadToolTipManager>
   <telerik:RadToolTipManager ID="RadToolTipQueryInfo" Skin="Windows7" Width="300"
      OffsetX="5" Height="120" ShowDelay="500" runat="server" RelativeTo="Mouse" Position="MiddleRight"
      HideEvent="LeaveTargetAndToolTip" OnClientBeforeShow="RadToolTipQueryInfo"  EnableViewState="false">
  </telerik:RadToolTipManager>
  <telerik:RadAjaxManager ID="RadAjaxManagerCRM" runat="server" OnAjaxRequest="RadAjaxManagerCRM_AjaxRequest">
      <AjaxSettings>
          <telerik:AjaxSetting AjaxControlID="customerGrid">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="customerGrid" LoadingPanelID="RadAjaxLoadingPanelCRM" />
                  <telerik:AjaxUpdatedControl ControlID="RadToolTipManagerCustomer" />
        </UpdatedControls>
          </telerik:AjaxSetting>
      <telerik:AjaxSetting AjaxControlID="existingQueriesGrid">
            <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="existingQueriesGrid" LoadingPanelID="RadAjaxLoadingPanelCRM"/>
                   <telerik:AjaxUpdatedControl ControlID="RadToolTipQueryInfo" />
            </UpdatedControls>
          </telerik:AjaxSetting>
          <telerik:AjaxSetting AjaxControlID="custQueryResultsGrid">
            <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="custQueryResultsGrid" LoadingPanelID="RadAjaxLoadingPanelCRM"/>
                   <telerik:AjaxUpdatedControl ControlID="RadToolTipManagerCustomer" />
            </UpdatedControls>
          </telerik:AjaxSetting>
      <telerik:AjaxSetting AjaxControlID="btnSaveQry">
             <UpdatedControls>
               <telerik:AjaxUpdatedControl ControlID="existingQueriesGrid" LoadingPanelID="RadAjaxLoadingPanelCRM"/>
               <telerik:AjaxUpdatedControl ControlID="RadToolTipQueryInfo" />
               <telerik:AjaxUpdatedControl ControlID="qryBuilderFormUpdate" LoadingPanelID="RadAjaxLoadingPanelCRM" />
             </UpdatedControls>
          </telerik:AjaxSetting>
          <telerik:AjaxSetting AjaxControlID="btnSaveAndLookup">
               <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="existingQueriesGrid" LoadingPanelID="RadAjaxLoadingPanelCRM"/>
                  <telerik:AjaxUpdatedControl ControlID="RadToolTipQueryInfo" />
                  <telerik:AjaxUpdatedControl ControlID="custQueryResultsGrid" LoadingPanelID="RadAjaxLoadingPanelCRM"/>
                  <telerik:AjaxUpdatedControl ControlID="RadToolTipManagerCustomer" />
                  <telerik:AjaxUpdatedControl ControlID="qryBuilderFormUpdate" LoadingPanelID="RadAjaxLoadingPanelCRM" />
               </UpdatedControls>
          </telerik:AjaxSetting>
          <telerik:AjaxSetting AjaxControlID="btnLookup">
           <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="custQueryResultsGrid" LoadingPanelID="RadAjaxLoadingPanelCRM"/>
                  <telerik:AjaxUpdatedControl ControlID="RadToolTipManagerCustomer" />
                  <telerik:AjaxUpdatedControl ControlID="qryBuilderFormUpdate" LoadingPanelID="RadAjaxLoadingPanelCRM" />
             </UpdatedControls>
          </telerik:AjaxSetting>
      <telerik:AjaxSetting AjaxControlID="RadAjaxManagerCRM">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="customerGrid" LoadingPanelID="RadAjaxLoadingPanelCRM" />
                  <telerik:AjaxUpdatedControl ControlID="existingQueriesGrid" />
                  <telerik:AjaxUpdatedControl ControlID="custQueryResultsGrid" LoadingPanelID="RadAjaxLoadingPanelCRM" />
                  <telerik:AjaxUpdatedControl ControlID="qryBuilderFormUpdate" LoadingPanelID="RadAjaxLoadingPanelCRM" />
                  <telerik:AjaxUpdatedControl ControlID="RadToolTipManagerCustomer" />
                  <telerik:AjaxUpdatedControl ControlID="RadToolTipQueryInfo" />
         </UpdatedControls>
          </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
  <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelCRM" EnableSkinTransparency="true"
      OnClientShowing="ClientShowingLoadingPanel" runat="server" Skin="Windows7">
  </telerik:RadAjaxLoadingPanel>

MAIN PAGE (SERVER SIDE for customerGrid)

protected void customerGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
    {
        if (Session["CurRepId"] != null)
        {
            ((RadGrid)CustomerGridPanelItem.FindControl("customerGrid")).DataSource = GetCompanies().Items;
        }
    }
 
protected void customerGrid_ItemDataBound(object sender, GridItemEventArgs e)
    {
        if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
        {
           
            RadToolTipManagerCustomer.TargetControls.Add(((Telerik.Web.UI.GridTableCell)(e.Item.Controls[5])).ClientID, argument, true);
       
        }
    }
 
protected void customerGrid_ItemCommand(object source, GridCommandEventArgs e)
    {
        if (e.CommandName == "Sort" || e.CommandName == "Page" || e.CommandName == "Filter")
        {
            RadToolTipManagerCustomer.TargetControls.Clear();
         }
      
        if ((e.CommandName == "Filter"))
        {
            foreach (GridColumn column in e.Item.OwnerTableView.Columns)
            {
                column.CurrentFilterValue = string.Empty;
                column.CurrentFilterFunction = GridKnownFunction.NoFilter;
            }
        }
    }

 

MAIN PAGE (SERVER SIDE for existingQueryGrid)

protected void existingQueriesGrid_ItemCommand(object source, GridCommandEventArgs e)
 {
      if (e.CommandName == "Sort" || e.CommandName == "Page" || e.CommandName == "Filter")
      {
          RadToolTipQueryInfo.TargetControls.Clear();
       }
  
      if (e.CommandName == "RemoveQry")
      {
          deleteCustomQuery(Convert.ToInt32(e.CommandArgument));
          ((RadGrid)existingQueries.FindControl("existingQueriesGrid")).MasterTableView.Rebind();
      }
  }
  
protected void existingQueriesGrid_ItemDataBound(object source, GridItemEventArgs e)
  {
      if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
      {
          
         RadToolTipQueryInfo.TargetControls.Add(((Telerik.Web.UI.GridTableCell)(e.Item.Controls[4])).ClientID,fltrArg,true);
      }
  }
 
Let me know if you need more information or code. The above code pertains to Scenario 1 but I believe once we solve (1),
we will solve (2).

Thanks in advance


Marin Bratanov
Telerik team
 answered on 30 Aug 2011
10 answers
437 views
I'm having an issue with style and formatting specifically with the docks - under localhost the style and formatting works as expected.  When I use my machine name to access the site under development the formatting goes out the door.

I've removed all css file references and put the style within the page and put inline style attributes to try and force the format.

Anything off the top of your head that might come to mind?

TIA,
-vic
Travis
Top achievements
Rank 1
 answered on 30 Aug 2011
1 answer
147 views
I am having issues where the Navigation bar is showing on PageLoad, but the rest of the calendar is not showing.  I have EnableViewState set to true.   The RadScheduler is inside a .ascx control.  If I click on anything in the calendar's Navigation Bar, I get the rest of the calendar to pop up.  Is there something else that I need to do?  Below is how I have the UpdatePanel defined and how the RadScheduler is defined...

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <telerik:RadScheduler Width="850" Height="600" ID="VMDSCalendarEvents" runat="server" FirstDayOfWeek="Sunday" SelectedView="MonthView" 
                                              WorkDayStartTime="7" EnableAdvancedForm="true" AllowInsert="true" TimelineView-ReadOnly="true"
                                              OnAppointmentDataBound="VMDSCalendarEvents_OnAppointmentDataBound" OnAppointmentCommand="VMDSCalendarEvents_OnAppointmentCommand" 
                                              OnAppointmentInsert="VMDSCalendarEvents_OnAppointmentInsert" OnAppointmentDelete="VMDSCalendarEvents_OnAppointmentDelete" 
                                              OnAppointmentUpdate="VMDSCalendarEvents_OnAppointmentUpdate" OnFormCreated="VMDSCalendarEvents_OnFormCreated" >
Adam
Top achievements
Rank 1
 answered on 30 Aug 2011
8 answers
161 views
Hi,

I am using RadAjaxPanel and inside that panel I have one radcombobox in which I am displaying All Countries. I want to ask that is it possible to show a flag of a country as a loading panel image when user selects a country from radcombobox ? and I would like to set that image URL from server-side.

<telerik:RadCodeBlock ID="radcodeblock" runat="server">
    <script language="javascript" type="text/javascript">
        function OnClientSelectedIndexChanged(sender, eventArgs) {
            var ajaxManager = $find("<%= rapPSMain.ClientID %>");
            var item = eventArgs.get_item();
            ajaxManager.ajaxRequest(item.get_text());
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadAjaxLoadingPanel ID="alpProductionSechduleMain" runat="server" Height="75px"
    MinDisplayTime="5" Width="75px">
    <asp:Image ID="imgAjaxImage" runat="server" AlternateText="Loading..." />
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="rapPSMain" RequestQueueSize="5" runat="server" Width="100%"
    OnAjaxRequest="rapPSMain_AjaxRequest" EnableOutsideScripts="True" HorizontalAlign="NotSet"
    ScrollBars="None" LoadingPanelID="alpProductionSechduleMain">
    <b>Order Destination :</b>  
    <telerik:RadComboBox ID="rcbCountry" runat="server" Skin="Vista" Height="100px" Width="200px"
        DataTextField="CountryName" DataValueField="CountryKey" AllowCustomText="true"
        AutoPostBack="true" MarkFirstMatch="True" HighlightTemplatedItems="True" DropDownWidth="200px"
        OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" EmptyMessage="- Select Country -">
    </telerik:RadComboBox>
</telerik:RadAjaxPanel>




Muhammad
Top achievements
Rank 1
 answered on 30 Aug 2011
1 answer
170 views
Unable to set Image of content menu item, will display first image of sprite (WebResource.png)

Using:
<%@ Register Tagprefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>

<telerik:RadEditor ID="_radEditor" runat="server" ...
                    <ContextMenus>
                        <telerik:EditorContextMenu TagName="FONT">
                            <telerik:EditorTool Name="MyCustomAction" Text="Properties" ImageUrl="~/images/siteIcon.png" />
                        </telerik:EditorContextMenu>
                        <telerik:EditorContextMenu TagName="SPAN">
                            <telerik:EditorTool Name="MyCustomAction" Text="Properties" ShowIcon="false" />
                        </telerik:EditorContextMenu>
                    </ContextMenus>
Rumen
Telerik team
 answered on 30 Aug 2011
1 answer
81 views
We upgraded Telerik Web UI from 2010.3.2015 to  2011.2.712 in our project.(Also other dlls,reporting , openaccess ... to latest versions)
Project is GIS base application and contains javascript files like: http://openlayers.org/api/OpenLayers.js , Jquery and special JS's.
Master pages contains RadScriptManager,RadAjaxManager and no problem with other pages or other projects , but on GIS pages including these javascript files giving following error.

In Telerik.Web.UI.WebResource_3.axd....
  //Microsoft JScript runtime error: 'propertyName' is null or not an object
in
_onInputPropertyChange:function(){if(!event.propertyName){event=event.rawEvent;
}if(event.propertyName=="value"){var c=this.get_text();  

//Microsoft JScript runtime error: 'type' is null or not an object
in
b=this.type=a.type.toLowerCase();   
and so on.
Also in openlayers and other javascript files getting null reference errors like this.


Web.config configuration is OK
<httpHandlers>
   <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false"/>
</httpHandlers>

<
system.webServer>     
<handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" 
       path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
 </handlers>
</system.webServer>

After these error occured I rereference old telerik.web.ui.dll 2010.3.2015. But problem is still going

These errors occures at internert explorer 8. Firefox and chrome dont gives error but maps are not working properly.
I recognize that,
Internet exporer 8 accepts global javascript defines null like :
var event = []; //global
when pass event to a function exporer 8 accepts null but other browsers accepts initialized as empty not null.

Is it possible a conflict telerik and other javascripts.All the system as same before upgrade process.It had been working properly but now we are in stuck , we didnt find any solution.


Thanks.
Maria Ilieva
Telerik team
 answered on 30 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?