Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
799 views
Hi,
I am using radstrip and radgrid. Inside radstrip there are 3 tabs, on click of each tab i will be displaying data using radgrid.
radgrid contains GridTemplateColumn where i have placed 2 asp : button, for the first tab i will assign default text with respect to data
displayed on click of first tab. On click of second tab. i want to change the text of that button inside GridTemplateColumn as data in grid
changes with respect 2 tab.. How can i accomplish this ?? Help me out ?

code is as below.


<telerik:RadTabStrip ID="rdStrip" runat="server" SelectedIndex="0"
     OnTabClick="rdStrip_TabClick" Skin="Outlook" Width="100%" Height="27px">
            <Tabs>
                <telerik:RadTab Text="abc" Selected="true" Width="150Px"></telerik:RadTab>
                <telerik:RadTab Text="def" Width="150Px"></telerik:RadTab>
                <telerik:RadTab Text="ghi" Width="150Px"></telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>

  <telerik:RadGrid ID="rdgrd" runat="server" AllowPaging="true"
            AutoGenerateColumns="false" PageSize="20" GridLines="None"
            CssClass="radgrid" AllowFilteringByColumn="true" Width="100%"
            Skin="Office2007">
            <ExportSettings ExportOnlyData ="true" HideStructureColumns ="false"></ExportSettings>
            <PagerStyle Mode="NextPrevAndNumeric" />
            <MasterTableView AllowPaging="true" AllowFilteringByColumn="true"
                CommandItemDisplay="Top">
                <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"/>
                <CommandItemSettings ExportToExcelText="Export To Excel" ShowExportToExcelButton="true"
                    ShowAddNewRecordButton="false" ShowRefreshButton="false" />
                <Columns>
                    <telerik:GridBoundColumn HeaderText="SchoolLevel" DataField="schooldsc" UniqueName="SchoolLevelDesc">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="School" DataField="schooldscd" UniqueName="School">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn Visible="true">
                    <ItemTemplate>
                    <asp:Button ID="btnFirst" runat="server" Text="Cancel" OnClick="btnFirstOnClick" />
                    </ItemTemplate>
                    </telerik:GridTemplateColumn>
                     <telerik:GridTemplateColumn Visible="true">
                    <ItemTemplate>
                    <asp:Button ID="btnSecond" runat="server" Text="Insert" OnClick="btnSecondOnClick" />
                    </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
                <Resizing EnableRealTimeResize="true"  />
            </ClientSettings>
        </telerik:RadGrid>

Regards,
Akki
Veli
Telerik team
 answered on 29 Feb 2012
1 answer
104 views
hellow dears . 
i added Radmenu in my project. but there is the same problems :
1.when i click on items to build items i see this error  : "Font arial does not support style bold"
i changed the font and test with many fonts. but when i changed the font and want to remake itmes still i see font arial not supprted :O
2.when i right click on Radmeno az choose Build radmenu , i see this error : "exception has been thrown by the target of an invocation"

i`m really really sry for my simple Question.
thanks guys.

Peter
Telerik team
 answered on 29 Feb 2012
2 answers
90 views
I've created a chart with two series, almost each item is clickable including the series names on the right.  I would like to add a tooltip to the name itself, not the series items.  So that the use knows the expected behavior when clicked.

I've added the tool tip in the markup as such.

<telerik:ChartSeries Name="Pending Reviews" Type="StackedBar" ActiveRegionToolTip="Click to see pending reviews" DataYColumn="Modality" DataXColumn="Pending Reviews">

That doesn't seem to work.  

Any suggestions?
Javier
Top achievements
Rank 1
 answered on 29 Feb 2012
1 answer
611 views
I've been banging my head against this for a couple of days, I hope somebody can help me.

I have my RadAjaxManager defined on a master page.  On a page that uses the master page, I have defined a RadAjaxManagerProxy, 3 divs with runat="server" and an asp:Panel.  I've used divs with runat="server" before with success.  Here is the code for everything:

On the master page:

<telerik:RadAjaxManager ID="ajaxManager" runat="server" DefaultLoadingPanelID="ajaxLoadingPanel" >
</telerik:RadAjaxManager>
  
<telerik:RadAjaxLoadingPanel ID="ajaxLoadingPanel" runat="server" Skin="" Transparency="20" InitialDelayTime="100" MinDisplayTime="500">
<div style="background-position: center center; background: url('../Images/loading.gif') no-repeat center center; background-color: #F0F0F0; height:100%; width:100%;"></div>
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxLoadingPanel ID="ajaxLoadingPanel_blank" runat="server" Skin="" Transparency="20" InitialDelayTime="100" MinDisplayTime="500">
<div></div>
</telerik:RadAjaxLoadingPanel>

On the child page:

    <telerik:RadAjaxManagerProxy ID="ajaxManagerProxy" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="divHomeControls">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="divHomeControls" LoadingPanelID="ajaxLoadingPanel_blank" />
                <telerik:AjaxUpdatedControl ControlID="divPrevNext" />
                <telerik:AjaxUpdatedControl ControlID="pnlGrid" />
                <telerik:AjaxUpdatedControl ControlID="divHistory" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="divPrevNext">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="pnlGrid" />
                <telerik:AjaxUpdatedControl ControlID="divHistory" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="pnlGrid">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="divHistory" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td valign="top" colspan="2">
            <div id="divHomeControls" style="float:left;text-align:center;vertical-align:middle;padding:4px 0px 0px 0px" runat="server">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <span style="padding-right:10px;">Current Product File:</span>
                            <span style="padding-right:10px;"><asp:Label ID="lblHomePIL" runat="server" CssClass="SearchControl"></asp:Label>
                            </span>
                            <span style="text-align:right;padding-right:10px;">Issue Date:</span>
                        </td>
                        <td>
                            <span style="text-align:left;padding-right:10px;">
                               <telerik:RadDatePicker ID="dateChooserIssueDate" runat="server" AutoPostBack="True" onselecteddatechanged="dateChooserIssueDate_SelectedDateChanged" 
                                Width="100px" Culture="English (United States)" Visible="True" Skin="Outlook">
                                <DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy" AutoPostBack="True" Width="100%" CssClass="SearchControl"></DateInput>
                                <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="Hello" Width="200px"></Calendar>
                                <DatePopupButton ImageUrl="" HoverImageUrl="" Visible="True"></DatePopupButton>
                                </telerik:RadDatePicker>
                            </span>
                        </td>
                        <td align="right"><span style="text-align:right;padding-right:10px;">Issue #:</span></td>
                        <td align="left"><span style="text-align:right;padding-right:10px;"><asp:Literal ID="litIssueNumber" runat="server"></asp:Literal></span></td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>
    <tr>
        <td valign="top" colspan="2">
        <div id="divPrevNext" runat="server" style="margin:10px 0px 0px 0px; padding:10px; background:#f8fcff; border:1px solid #ccc;" >
            <table border="0" cellpadding="0" cellspacing="0"><tr>
            <td width="20px"><asp:Literal runat="server" ID="btnPrevItem"/></td>
            <td width="100%" style="text-align:center;vertical-align:middle;padding:4px 0px 4px 0px"><asp:Literal ID="litTitle" runat="server"></asp:Literal></td>
            <td width="20px" align="right"><asp:Literal runat="server" ID="btnNextItem"/></td>
            </tr></table>
        </div>
        </td>
    </tr>
    <tr>
        <td>
        <table>
        <tr>
        <td valign="top">
            <asp:Panel id="pnlGrid" runat="server">
                <span style="display:inline;"><asp:Label ID="lblUpdateStatus" runat="server" EnableViewState="False"></asp:Label></span>
                <edf:EdfItemDetailsGrid ID="edfItemDetailsGrid" runat="server"></edf:EdfItemDetailsGrid>
            </asp:Panel>
        </td>
        <td valign="top">
        <div id="divHistory" runat="server" style="margin:36px 0px 0px 20px;padding:0px 0px 0px 20px;position:fixed;top:300px;border:solid 1px red;" >
            <asp:Literal ID="litHistoryTable" runat="server"></asp:Literal>
        </div>
        </td>
        </tr>
        </table>
        </td>
    </tr>
</table>
<telerik:RadScriptBlock ID="scriptBlock" runat="server">
    <script type="text/javascript">
        // Prevent MS Ajax from changing scroll position after ajax postback.
        function scrollTo(x,y) {}
        function EdfGrid_InitializeLayoutHandler(gridName)
        {   
            //If the page is redirecting as a result of an ajax event, no need to set the UI.
            if(itemViewEx2Redirecting == true) return;
        }
          
        function EdfGrid_ColumnResizeHandler(oGrid, eventArgs)
        {   
            Refresh('<%=pnlGrid.UniqueID%>', "ColumnResize$"+eventArgs.get_gridColumn().get_element().offsetWidth+"$"+eventArgs.get_gridColumn().get_uniqueName());
        }    
  
        function Refresh(target, arg)
        {
            var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
            if (ajaxManager) {
                if (target == null) {
                    ajaxManager.ajaxRequest(arg);
                }
                else {
                    ajaxManager.ajaxRequestWithTarget(target, arg);
                }
            }
        }
  
        function GetItem(direction) {
            Refresh('<%=divPrevNext.UniqueID%>', direction);
        }
    </script>
</telerik:RadScriptBlock>

The literals btnPrevItem and btnNextItem are merely anchors that are set in the code-behind to call the javascript function GetItem() with a direction of 'prev' or 'next'.  The literal litTitle merely displays the item number of the currently selected item.  edfItemDetailsGrid inside pnlGrid is a user control that contains a RadGrid.  The grid displays current and previous values for the currently selected item, such as UPC, description, price, etc.  The rows represent each of the item's data fields, and there are 4 columns: field name, current value, most-recent previous value, and date-of-change.  The litHistoryTable literal will show a table of all previous values for the selected row of the grid (i.e. the selected data field of the item).

Almost all of this works beautifully.  If I update any of the controls in divHomeControls, it updates the controls in divNextPrev, pnlGrid, and divHistory.  If I click on any row in the grid defined inside pnlGrid, it updates the literal control in divHistory correctly.  However, if I click on the next or previous buttons inside divNextPrev, it updates the grid inside pnlGrid correctly, but it does not update the literal control in divHistory.  Inside my Visual Studio debugging session, I can open the rendered page and see the correct, updated html for the rendered page, but in the browser, I see the previous contents of the literal control.

I have tried several different things to fix this, without any success.

I have tried changing divHistory to a asp:Panel.  I've tried changing it to a telerik:RadAjaxPanel.

I've tried removing divHistory altogether, and putting my literal control inside pnlGrid.

I've tried manually deleting the contents of divHistory just before doing the ajax call, by changing my client-side GetItem() function to look like this:

function GetItem(direction) { 
    var divHistory = document.getElementById("<%= divHistory.ClientID %>"); 
    if (divHistory) 
    {   
        divHistory.innerHtml = ""; 
        divHistory.innerText = ""; 
        divHistory.textContent = ""; 
    
    Refresh('<%=divPrevNext.UniqueID%>', direction); 

In the above function, I've tried changing the
 Refresh('<%=divPrevNext.UniqueID%>', direction); 
to:
Refresh('<%=divHomeControls.UniqueID%>', direction); 

Nothing works.  In each case, when I look at the html for the rendered page in the visual studio debugging session, I see the correct html:

<div id="ctl00_ContentPlaceHolderMain_divHistory" style="margin:36px 0px 0px 20px;padding:0px 0px 0px 20px;position:fixed;top:300px;border:solid 1px red;left:584px;">
<table border="0" cellpadding="4" cellspacing="4">
<thead>
<th align="center" colspan="3">UCC Change History</th></thead>
<thead><th align="center" >Date of Change</th>
<th align="center" >Active Value</th><th align="center" >Previous Value</th>
</thead>
<tbody>
<tr>
<td colspan="3" align="center" >There is no history for this field.</td>
</tr>
</tbody>
</table>
</div>

But in the browser window, I see the data from the previous rendering.

Can anybody tell me what is going on and how I can fix this?

Thanks and regards,
Steve
Steve
Top achievements
Rank 1
 answered on 29 Feb 2012
1 answer
112 views
I have a Context Menu attached to my RadGrid.
When I click on an Item in the Context Menu , It should navigate me to another page.

On first click it does not work , on subsequent clicks it does work.
Is there a solution to this?


Kate
Telerik team
 answered on 29 Feb 2012
7 answers
759 views
Hi
I have an aspx page with two datetimepickers. Wehn I select the calendar icon in Safari Mobile the popups do not appear at all. They appear in every other browser. Is there somewhere obvious I should be doing for Safari Mobile that I don't know about
cheers
Michael
Rumen
Telerik team
 answered on 29 Feb 2012
1 answer
128 views
I have used example of grid virtual scrolling with client-side binding from this website. My RadGrid is disappearing for sometime whenever I pull the scroll down but come back to normal in 1 or 2 secs. Rest of the behaviour is fine except my grid disappears to fetch the data.

Below is my aspx page:
<%@ Page Title="" Language="C#" MasterPageFile="~/Secure/Secure.Master" AutoEventWireup="true"CodeBehind="~/App_code/CSCode/DueForDispose.aspx.cs" Inherits="CSAuctionUI.Units.DueForDispose" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true">
    </telerik:RadScriptManager>
  <telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server"></telerik:RadAjaxLoadingPanel>
      
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
  
        <script type="text/javascript">
        //<![CDATA[
  
            function pageLoad(sender, args) {
                toggleLoadingPanel("<%= RadGrid1.ClientID %>", true);
            }
  
            function showLoadingPanel(sender, args) {
                toggleLoadingPanel(sender.get_id(), true);
            }
  
            function hideLoadingPanel(sender, args) {
                toggleLoadingPanel(sender.get_id(), false);
            }
  
            function toggleLoadingPanel(elementId, show) {
                var loadingPanel = $find("<%=LoadingPanel.ClientID %>");
                if (show) {
                    loadingPanel.show(elementId);
                }
                else {
                    loadingPanel.hide(elementId);
                }
            }
  
            function handleScrolling(sender, args) {
                //check if the items are scrolled to bottom and get additional items
                if (args.get_isOnBottom()) {
                    var master = sender.get_masterTableView();
                    if (master.get_pageSize() < master.get_virtualItemCount()) {
                        //changing page size causes automatic rebind
                        master.set_pageSize(master.get_pageSize() + 20);
                    }
                }
            }
            //]]>
  
        </script>
  
    </telerik:RadCodeBlock>
  
  
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" PageSize="20" 
        CellSpacing="0" GridLines="None" Skin="Office2007">
        <PagerStyle Visible="false" />
        <MasterTableView TableLayout="Fixed">
            <Columns>
                <telerik:GridBoundColumn DataField="Sno" />
                <telerik:GridBoundColumn DataField="Unit_gkey" />
                <telerik:GridBoundColumn DataField="Unit_nbr"  />
                <telerik:GridBoundColumn DataField="Pkey"/>
                <telerik:GridBoundColumn DataField="Last_notice_sent" DataFormatString="{0:d}" />
                <telerik:GridBoundColumn DataField="Last_notice_id_sent" />
                <telerik:GridBoundColumn DataField="Category"/>
                <telerik:GridBoundColumn DataField="Bl_nbr" />
                <telerik:GridBoundColumn DataField="Ib_carrier"/>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
            <ClientEvents 
                OnScroll="handleScrolling" 
                OnCommand="showLoadingPanel"
                OnDataBound="hideLoadingPanel" />
            <DataBinding Location="DueForDispose.aspx" SelectMethod="GetBl" SelectCountMethod="GetBlCount"
                StartRowIndexParameterName="startRowIndex" MaximumRowsParameterName="maxRows" />
        </ClientSettings>
    </telerik:RadGrid>
      
       
  
    <telerik:RadAjaxManager OnAjaxRequest="RadAjaxManager1_AjaxRequest" DefaultLoadingPanelID="LoadingPanel" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" 
                        LoadingPanelID="LoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
      
       
  
</asp:Content>

Below is my code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using Telerik.Web;
using System.Web.Services;
using Oracle.DataAccess.Client;
using PICT.Auction.DAL;
using System.Data;
  
namespace CSAuctionUI.Units
{
    public partial class DueForDispose : System.Web.UI.Page
    {
  
       
        protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            if (e.Argument == "Rebind")
            {
                RadGrid1.MasterTableView.SortExpressions.Clear();
                RadGrid1.MasterTableView.GroupByExpressions.Clear();
                Response.Redirect(@"~/Secure/CustomerSupport/Auction/Units/DueForDispose.aspx");
                  
            }
        }
         
       
        [WebMethod]
        public static int GetBlCount()
        {
            return 200;
        
  
          
        [WebMethod]
        public static IEnumerable<Unit> GetBl(int startRowIndex, int maxRows)
        {
            string select = @"SELECT * FROM ( SELECT ROW_NUMBER() OVER (ORDER BY PKEY) AS ROW_NUMBER, auc.UNIT_GKEY,U.ID UNIT_NBR, AUC.PKEY, 
  
auc.LAST_NOTICE_SENT,AUC.LAST_NOTICE_ID_SENT ,DECODE(U.CATEGORY,'IMPRT','IMPORT') CATEGORY ,U.BL_NBR,U.IB_CARRIER FROM PACCS.CS_AUC_DES_UNITS 
  
auc,PACCS.VUE_AUC_DES_UNITS U where AUC.UNIT_GKEY = U.GKEY and AUC.DISPOSE_STATE ='DUE' and U.BL_NBR is not null ) foo WHERE ROW_NUMBER > :StartIndex AND 
  
ROW_NUMBER <= :EndIndex";
  
            Dictionary<string, object> parameters = new Dictionary<string, object>();
            parameters["StartIndex"] = Math.Max(startRowIndex, 0);
            parameters["EndIndex"] = Math.Max(startRowIndex + maxRows, maxRows);
            DBCommand cmd = new DBCommand();
  
            DataTable data = ExecuteSelect(select, parameters, cmd.ConnSettings.ConnectionString);
  
            foreach (DataRow row in data.Rows)
            {
                Unit u = new Unit();
                u.Sno = long.Parse(row["ROW_NUMBER"].ToString());
                u.Unit_gkey =long.Parse(row["UNIT_GKEY"].ToString()) ;
                u.Unit_nbr = row["UNIT_NBR"].ToString();
                u.Pkey = long.Parse(row["PKEY"].ToString());
                if(!string.IsNullOrEmpty(row["LAST_NOTICE_SENT"].ToString()))
                u.Last_notice_sent = DateTime.Parse(row["LAST_NOTICE_SENT"].ToString());
                u.Last_notice_id_sent = row["LAST_NOTICE_ID_SENT"].ToString();
                u.Category = row["CATEGORY"].ToString();
                u.Bl_nbr = row["BL_NBR"].ToString();
                u.Ib_carrier = row["IB_CARRIER"].ToString();
                yield return u;
            }
        }
  
        private static  DataTable ExecuteSelect(string selectCommand, Dictionary<string, object> parameters, string connectionString)
        {
            OracleConnection MyOraConnection = new OracleConnection(connectionString);
            OracleDataAdapter MyOraDataAdapter = new OracleDataAdapter();
  
            MyOraDataAdapter.SelectCommand = new OracleCommand(selectCommand, MyOraConnection);
              
            foreach (KeyValuePair<string, object> pair in parameters)
            {
                MyOraDataAdapter.SelectCommand.Parameters.Add(new OracleParameter(pair.Key, pair.Value));
            }
  
            DataTable data = new DataTable();
            MyOraConnection.Open();
  
            try
            {
                MyOraDataAdapter.Fill(data);
            }
  
            finally
            {
                MyOraConnection.Close();
            }
  
            return data;
        }
    public class Unit
    {
        private long sno;
        private long unit_gkey;
        private string unit_nbr ;
        private long pkey ;
        private DateTime last_notice_sent ;
        private string last_notice_id_sent ;
        private  string category ;
        private string bl_nbr ;
        private string ib_carrier;
  
        public long Sno
        {
            get { return sno; }
            set { sno = value; }
        }
        public long Unit_gkey
        {
            get { return unit_gkey; }
            set { unit_gkey = value; }
        }
        public string Unit_nbr
        {
            get { return unit_nbr; }
            set { unit_nbr = value; }
        }
        public long Pkey
        {
            get { return pkey; }
            set { pkey = value; }
        }
        public DateTime Last_notice_sent
        {
            get { return last_notice_sent; }
            set { last_notice_sent = value; }
        }
        public string Last_notice_id_sent
        {
            get { return last_notice_id_sent; }
            set { last_notice_id_sent = value; }
        }
        public string Category
        {
            get {return category; }
            set { category = value; }
        }
        public string Bl_nbr
        {
            get {return bl_nbr; }
            set { bl_nbr = value; }
        }
        public string Ib_carrier
        {
            get { return ib_carrier; }
            set { ib_carrier = value; }
        }
          
    }
  
    }
}

Thanks for reading my question.
Radoslav
Telerik team
 answered on 29 Feb 2012
2 answers
150 views
Hi,
I have recently updated telerik from Q3 2009 to Q1 2012, and i am facing some problems.
I have used for example document.getElementById('ctl00_PlaceHolderMain__rdtxtFirstName_text') to get the value of _rdtxtFirstName from client side.
but now when changed to Q1 2012, the id is showing ctl00_PlaceHolderMain__rdtxtFirstName insted of ctl00_PlaceHolderMain__rdtxtFirstName_text.
and i have used a css file to set the width of rad textbox and other controls, and now the controls' width is not showing as mentioned in css class.
How can i fix these issues?
Antonio Stoilkov
Telerik team
 answered on 29 Feb 2012
2 answers
305 views
HI,

I installed URL Rewrite module on IIS 7. After I added DB provider and outbound rule, RAD controls stop working, for instance, menu is not opening.
Underneath is copy of rewrite configuration section:
  
<rewrite>
  <providers>
    <provider name="Theme" type="DbProvider, Microsoft.Web.Iis.Rewrite.Providers, Version=7.1.761.0, Culture=neutral, PublicKeyToken=0545b0627da60a5f">
      <settings>
        <add key="ConnectionString" value="Data Source=.;Initial Catalog=db;Integrated Security=false;uid=sa;password=pass" />
        <add key="StoredProcedure" value="UrlTheme" />
        <add key="CacheMinutesInterval" value="10" />
      </settings>
    </provider>
  </providers>
  <rules>
    <clear />
    <rule name="ThemeRewrite">
      <match url="Theme/([a-z]{2,3})(?:[a-z\/]*)?" />
      <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
      <action type="Rewrite" url="theme.aspx?theme={R:1}" />
    </rule>
  </rules>
  <outboundRules>
    <clear />
    <rule name="Theme" enabled="true" stopProcessing="false">
      <match filterByTags="None" pattern="theme\.aspx\?theme=([a-z]{2,3})+" />
      <conditions logicalGrouping="MatchAll" trackAllCaptures="true">
        <add input="{Theme:{R:1}}" pattern="(.+)" />
      </conditions>
      <action type="Rewrite" value="Theme/{C:1}" />
    </rule>
  </outboundRules>
</rewrite>
Saeid Kdaimati
Top achievements
Rank 2
 answered on 29 Feb 2012
5 answers
158 views
Hello,

We have successfully deployed RadComboBox in production on SharePoint 2010 server.    The RadComboBox works fine in production and another one of our staging environments.  However in one of our staging environments, all our RadComboBoxes are not enabled.  We confirmed that Telerik.Web.UI and Telerik.Web.Design was in the GAC (Global Assembly Cache) of our SharePoint server.  We validated the web.config and confirmed SafeControls and handlers added.   When we attempt to load the pages we get the following:

Message: 'Sys' is undefined

Message: 'Type' is undefined

Message: Object doesn't support this property or method

Message: Object expected

Can you provide us with a suggestion to resolve our RadComboBox in the one environment?

Kalina
Telerik team
 answered on 29 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?