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

In the tools.xml we have set restrictions such that the user is not able to change the forecolor or backcolor or table tags etc.
So many of the buttons are hidden from the user.

But I see that the user is able to copy any content from MS word into the editor and It works.It does not filter the content based on the restrictions we have set,

How can we restrict the content which i being copied into the editor.
Rumen
Telerik team
 answered on 29 Aug 2011
2 answers
184 views
Hello!

I was wondering if is it possible to display user control inside the RadGrid on ItemCommand event. What I need is similar to the EditForm, but without the Save button.

Any help would be appreciated!

Thank you!
Ignjat
Top achievements
Rank 1
 answered on 29 Aug 2011
1 answer
94 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
872 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
79 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
115 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
122 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
81 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
152 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
99 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
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?