Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
97 views
Greetings,

We are having some kind of compatability issues with 51degrees.Mobi redirects and RadRotator.  We can not seem to use them on the same page or within the same Web.config.

There is a similar thread here: http://www.telerik.com/community/forums/aspnet-ajax/combobox/combobox-on-the-ipad-iphone.aspx#1707186

Basically, if we try to do a Mobi redirect on our home page which uses a RadRotator, the rotator ends up showing all of its panels on the page.  We are opening a ticket with 51degrees as well, and we are waiting to see which of you will be more responsive to the issue.  We really like using both Mobi and Telerik... it would be a shame if we have to choose between the two.  I can provide contact information for 51degrees if necessary.

Please advise.  Thank you!

Matt
WAMatt
Top achievements
Rank 2
 answered on 29 Aug 2011
6 answers
882 views
I have a Windows Server 2008 with IIS 7.  I've been using the app pool set to classic.  I'm getting ton of the errors listed below and my frustration level is high now.  When I look at it under Visual Studio or browse to it locally through IIS it works find.  When I hit it externally, I can't get far and get a ton of the errors below.  The site is on to web servers that have a load balancer.  The site is 3.5 framework.  Any ideas of how to handle this?  Everything I read, says to just make sure you have the "handler" and "httphandler" taken care of.

Log Entry :

04/18/2011 08:23:06

Error in: http://IP/WebResource.axd?d=VI8cl_KcmUGuI9J1ljdtUfC1Fw80RJY2VzQZYXQfGP0yeuKF-7AWuly-tpJ11x2a_6gaGIATt0WVy_mAl85-FKZ1YcAyy_vBFM5jGFPfo0ZORjc3fFgvDSzkUT_F6n-kXSDfUN3gV5VX-9vAY5MDBzkMYS81&t=634383688500000000. Error Message:This is an invalid webresource request.

_______________________________________________________________________________________

 

Log Entry :

04/18/2011 08:23:06

Error in: http://IP/ScriptResource.axd?d=fPOKxOrQov_9YUMZc3ASm_bwNNXSMem5KtbOESTth5rr7e5BE9ELI2PBp-1xMcPS20DG6vjSCqyO1ID_YMACdl_KttkxrOcGBwn7g2H6rYdcmbnW7g6JSr4959JxtNMIlVDQ2mLSAtjaD_kna09x9uLr84pDD2WagO4CW20FUv8P7cUX0&t=5c2f384e. Error Message:This is an invalid script resource request.

_______________________________________________________________________________________

Web.config

    <httpHandlers>
      <add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
      <remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>

    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
     
      <remove name="ChartImage_axd" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <remove name="Telerik_RadUploadProgressHandler_ashx" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <add name="CaptchaImage_aspx" path="CaptchaImage.aspx" verb="*" type="WebControlCaptcha.CaptchaImageHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add name="ImageVerifier_axd" path="ImageVerifier.axd" verb="*" type="MRMUtilities.Web.UI.Controls.CImageVerifier" resourceType="Unspecified" preCondition="integratedMode" /><add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
    </handlers>

 

Simon
Telerik team
 answered on 29 Aug 2011
3 answers
81 views
Hi Support,
 
We are facing the issue in RAD Editor control in Fire fox 6.0.  when loading the RAD Editor The toolbars are not displayed. And the contents are showed as html code in default view.  we are not able to switch to default view & html view.  Refer the attached screen shot.
 
Thanks for the support.
 
  we are using the
 RadEditor.Net2, Version=7.0.2.0
 Visual studio version: VS 2005
 .NET version 2.0
 Browser: Firefox 6.0

 
Regards,
Megha.
megha.thattil@wolterskluwer.com
Rumen
Telerik team
 answered on 29 Aug 2011
3 answers
118 views
Hi,

I'm trying to insert a telerik tree view inside a telerik combo box ....
I'm looking at this example:
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx

The question is how do I go about having a default value for the combo box ...
In the example above how would I set "Brazil" as the default value for the combo box ?

Seabus
Ivana
Telerik team
 answered on 29 Aug 2011
1 answer
124 views
Hi
I have a problem following this demo http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx#
i can't load the user control in this code
 private void UpdateToolTip(string elementID, UpdatePanel panel)
        {
            Control ctrl = Page.LoadControl("ProductDetailsCS.ascx");
            panel.ContentTemplateContainer.Controls.Add(ctrl);
            ProductDetailsCS details = (ProductDetailsCS)ctrl;
            details.ProductID = elementID;
        }

 
ProductDetailsCS not found. 
i need your help, may be i doing something wrong.
thk.
Fernando
Top achievements
Rank 1
 answered on 29 Aug 2011
1 answer
83 views

Im getting the attached error with a radcombobox set up as descrubed below:

<telerik:RadComboBox ID="radComboBoxClientName" runat="server" Filter="Contains"
              Width="300px" Height="300" DataTextField="ClientAltName" DataValueField="ClientId"
              AutoPostBack="True" CausesValidation="false" EnableLoadOnDemand="True" EnableVirtualScrolling="true"
              EmptyMessage="No Client Selected" OnClientItemsRequesting="OnKPClientItemsRequesting">
              <WebServiceSettings Method="GetClients" Path="~/Services/AutoCompleteService.svc" />
          </telerik:RadComboBox>


Public Function GetClients(ByVal context As RadComboBoxContext) As RadComboBoxData
    Dim result As RadComboBoxData = New RadComboBoxData()
    Dim allClients As List(Of RadComboBoxItemData)
 
    Dim contextDictionary As IDictionary(Of String, Object) = DirectCast(context, IDictionary(Of String, Object))
    Dim deptCode As String = (DirectCast(contextDictionary("DeptCode"), String))
    Dim display As String = (DirectCast(contextDictionary("Display"), String))
 
 
    'Select Case deptCode
    'Case "EFF"
    '   From cli As Client In ClientCache.GetCacheDataTypedList
    '                  Where cli.IsValidETFMS
    '                  Select New RadComboBoxItemData With {.Text = If(display = "Short", cli.ClientShortAltName, cli.ClientAltName), .Value = CStr(cli.ClientId)}).OrderBy(Function(c) c.Text).ToList
    'Case Else
    '    allClients = (From cli As Client In ClientCache.GetCacheDataTypedList
    '                  Select New RadComboBoxItemData With {.Text = If(display = "Short", cli.ClientShortAltName, cli.ClientAltName), .Value = CStr(cli.ClientId)}).OrderBy(Function(c) c.Text).ToList
 
    'TODO : Dont like using SP, AAP.
    Dim qnClients As New List(Of DataLayer.qn_Client_getResult)
    Using kp As New DataLayer.KestrelProLinq.KestrelProDb
        qnClients = kp.qn_Client_get(deptCode).ToList()
    End Using
    allClients = (From cli As DataLayer.qn_Client_getResult In qnClients
                  Select New RadComboBoxItemData With {.Text = If(display = "Short", ClientCache.GetStoreObject.GetClientShortAltName(cli.ShortName, cli.AgressoClientId), ClientCache.GetStoreObject.GetClientAltName(cli.ShortName, cli.Name, cli.AgressoClientId)), .Value = CStr(cli.ClientId)}).OrderBy(Function(c) c.Text).ToList
    'End Select
 
 
    Dim text As String = context.Text
    If Not String.IsNullOrEmpty(text) Then
        allClients = (From item As RadComboBoxItemData In allClients
                      Where item.Text.ToLower.Contains(text.ToLower)
                      Select item).ToList
        If allClients.Count <= 1 Then allClients.Add(New RadComboBoxItemData With {.Text = "", .Value = ""})
    End If
 
    Dim numberOfItems As Integer = context.NumberOfItems
    Dim clients As List(Of RadComboBoxItemData) = allClients.Skip(numberOfItems).Take(100).ToList
 
    result.Items = clients.ToArray
 
    Dim endOffSet As Integer = numberOfItems + clients.Count
    Dim totalCount As Integer = allClients.Count
 
    If endOffSet = totalCount Then result.EndOfItems = True
 
    'If clients.Count <= 0 Then result.Message = "No Matches"
 
    Return result
End Function
Dimitar Terziev
Telerik team
 answered on 29 Aug 2011
1 answer
157 views
hi there
plz help me!
 I have big Problem When use Radcombobox.
when i run the program this error rise
Microsoft JScript runtime error: The value of the property 'WebForm_InitCallback' is null or undefined, not a Function object
 and my radCombobox work like textbox.
(i show error in this picture )
Dimitar Terziev
Telerik team
 answered on 29 Aug 2011
1 answer
104 views
I would like to implement a RadStyleSheetManager to roll-up a couple of custom CSS files along with a custom skin with 13 CSS files.  This seems to work fine for everything, except the images in the CSS.  The links come out wrong.  It appears that they now need to be absolute paths - which would be fine in some situations - however ...

I have a small web application that may be installed inside a virtual directory or at a root level - so if I point the CSS images to '/resource/images/picture.png' this will not work if the application is installed at any level other than the root.

Is there an easy way to fix this?  If I were dealing with server controls I would use '~/resource/images/picture.png' - but I do not believe you can do this in a CSS.  
Simon
Telerik team
 answered on 29 Aug 2011
1 answer
121 views
I have seen many postings explaining how to get the client ID for grid columns with embedded textboxes (or checkboxes) which can then be used in client-side script.  For example:  http://www.telerik.com/community/forums/aspnet/grid/multiplication-of-two-gridboundcolumn-in-editmode.aspx

What I need is to get the ClientID for a "normal" readonly GridBoundColumn such as is created when a grid is not in edit mode.  This is being used for validation purposes and the column is never edited, so putting it in a textbox would be bad UI.  I can't easly post working code as it is extremely dynamic and database driven.  Is this possible?

Thanks,
James
Andrey
Telerik team
 answered on 29 Aug 2011
0 answers
144 views
Hello.  This problem was driving me crazy and I wasn't able to find a result in the forum, so I thought I'd share my resolution. 

We had an ASP GridView that was being databound to a collection of heterogeneous objects.  In the GridView DataBound event, we were calling a Factory to instantiate a dynamically selected User Control that corresponded to the object.  So Object A would get a ObjectAUI.ascx control, etc. 

One of the controls received an Album object.  This Album object contained a collection of images.  We implemented the RadRotator control as a filmstrip and databound the collection of images to it.  This worked fine for all accesses to the page, both !IsPostBack and IsPostBack.

Each of the RadRotator items contained a RadToolTip item.  This seemed to work fine for all !IsPostBack scenarios but was an empty shell (only static content) on any IsPostBack, async or otherwise.  An example would be a change in the DataGrid objects.  What we needed was the RadToolTip to be filled in with databound content whether it was the first visit to the page or part of an async PostBack.

My solution was to wrap the loading of the RadToolTip content into a LoadContent() method, which the Page_Load method called.  This worked fine for !IsPostBack scenarios.  I then created a public Notify() method that also called this LoadContent() method.  In my RadRotator_ItemDataBound method, I have the following:

protected void thumbRotator_ItemDataBound(object sender, RadRotatorEventArgs e)
{
  ImageToolTip ctlImageToolTip = e.Item.FindControl("ctlImageToolTip") as ImageToolTip;
  ...
  if (IsPostBack)
  {
    ctlImageToolTip.Notify();
  }
}

Now the RadToolTip updates correctly when either the page is visited the first time (!IsPostBack) or the DataGrid objects are changed (async IsPostBack).
Gregory
Top achievements
Rank 2
 asked on 29 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?