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

I'm implementing the LoadOnDemand with WCF scenario and the WCF method is getting the context for the combo box as a null.
What might cause this error. below is my wcf operation contact implementation:     

[OperationContract]

public RadComboBoxData test(RadComboBoxContext radComboContext)

{
Add your operation implementation here

ViperService.ViperServiceClient viperServiceClient = new ViperService.ViperServiceClient();

return viperServiceClient.GetTraderGroupsLoadOnDemand(radComboContext);

}

the control html code:

 

<telerik:RadComboBox ID="rcmyCombo" runat="server" CheckBoxes="True" EmptyMessage="Choose" Width="300px" DataTextField="Name" DataValueField="Id"

EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" ItemsPerRequest="10" >

<WebServiceSettings Path="TelerikService.svc" Method="test" />

                           

 

</telerik:RadComboBox>




  

any help will be appreciated.

Nencho
Telerik team
 answered on 30 Jul 2013
1 answer
70 views
Dear Team,

Recently, we upgraded the browser to IE 10.

We are using Telerik Rad Controls of version 2011.2.712.40.

When we click the image manager from Rad Editor, it shows as an empty box. Please refer the attached screenshot.

This issue occurs only in IE10.

Let us know how to fix this issue.

Thanks in advance.
Rumen
Telerik team
 answered on 30 Jul 2013
1 answer
165 views
Hello,
I have a multi-line textbox with TinyMCE, and RadSpell button on a ModalPopupExtender.
The spell checker always comes up as "The spell check is complete!"  No errors are found.

I'm using .Net 4.0.
Here's the code:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<div id="divPopUPAdd"  class="contents" runat="server" align="center">
<ajaxToolkit:ModalPopupExtender ID="mpe1" runat="server"
  BehaviorID="mpe1" TargetControlID="AddNewLinkBtn" PopupControlID="divPopUPAdd"
  BackgroundCssClass="modalBackgroundClass" DropShadow="false">
  </ajaxToolkit:ModalPopupExtender>

<telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="elm1" IsClientID="True" Skin="Silk" SupportedLanguages="en-US,English" Width="106px" Style="z-index: 1000"/>

 <asp:TextBox ID="elm1" name="elm1" runat="server" TextMode="MultiLine" ClientIDMode="Static"  Width="766px" Height="200px" />
 </div> 

The dictionary is in the App_Data/RadSpell folder
The bin has these files: Telerik.Web.Design.dll, Telerik.Web.UI.dll, Telerik.Web.UI.Dll.refresh, Telerik.Web.UI.Skins.dll & Telerik.Web.UI.xml
The web.config file has:
 <handlers>
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
<add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</handlers> 

<httpHandlers>
  <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />     
</httpHandlers>

Any ideas?

JS

Slav
Telerik team
 answered on 30 Jul 2013
1 answer
114 views
We just went through a pretty large codebase migration, and biggest issue we're having is with our RadGrid's AJAX (paging, dragging and dropping cells, etc.). Any attempt by the grid to use AJAX results in this error:

Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near ' <!DOCTYPE html P'.

Now, I know there's a vast array of reasons for this error to appear, but after trying dozens of fixes I'm hoping to get some assistance narrowing it down to the right one. It seems to me that the error is related to the fact that the server is responding to the AJAX POST request with the entire page (beginning with the DOCTYPE declaration you see above), instead of properly responding with just the grid's updated HTML. Is there any obvious reason for this to occur? Are we missing some sort of configuration option that makes sure the AJAX response only contains the updated HTML that's needed?

Thanks, any assistance would be greatly appreciated.
Andrey
Telerik team
 answered on 30 Jul 2013
1 answer
273 views
Hi,

Is it possible to have bullet symbol as the DisplayMask setting value, so that the masking shows bullet "." symbol instead of masking special character ?

Right now am using "X" as the masking value, by setting RadNumericTextBox.DisplayMask = "XXXX". I tried putting ASCII name for bullet symbol but that didn't work.

Thanks,
Stalin
Shinu
Top achievements
Rank 2
 answered on 30 Jul 2013
1 answer
83 views
Hello

When I accessed my web form in chrome, all the radinputs has a yellow border. I havnt applied any border color and how can I remove this?

Thanks
Dan
Shinu
Top achievements
Rank 2
 answered on 30 Jul 2013
4 answers
233 views

hello 
I have used RadTextbox for which I have applied following css, But the css does not apply to RadTextbox
please help me to solve this problem
waiting for reply
Thanks
Kishor 

<style type="text/css">

      .Radtext

    {

         font-size:12px;

         font-family:Arial, Helvetica, sans-serif;

    }

</style>


<telerik:RadTextBox ID="txtCustomerNo" runat="server"   CssClass ="Radtext"  Skin="Windows7"  >

</telerik:RadTextBox>

Kishor
Top achievements
Rank 2
 answered on 30 Jul 2013
6 answers
328 views
Hi, I have a web page that inside it has a user control where I put RadSiteMap. This user control charge inside another user control that has a radmenu dynamically loaded from sqldatasource.
In the page load event of the user control where I put RadSiteMap I included this
         Try
             Dim UC_text As UserControl = DirectCast (Me.FindControl ("MenuOr1"), UserControl)
             Dim RMenu As RadMenu = CType (UC_text.FindControl ("RadMenu1"), RadMenu)
             Dim CurrentItem As RadMenuItem = RMenu.FindItemByUrl (Request.Url.PathAndQuery)
             If CurrentItem IsNot Nothing Then
                 'Select the current item and his parents
                 currentItem.HighlightPath ()
                 'Update the title of the
                 PageTitleLiteral.Text = currentItem.Text
                 'Populate the breadcrumb
                 DataBindBreadCrumbSiteMap (CurrentItem)
             else
                 RMenu.Items (0). HighlightPath ()
             end If

         Catch ex As Exception

         end Try

As this function Dim CurrentItem RadMenuItem = RMenu.FindItemByUrl (Request.Url.PathAndQuery)

no value.
Can you help?
thanks
Salve!-interiezione
Hello!
Salve!, Ciao!, Pronto?, Pronto!, Piacere!
Hi!
Ciao!, Salve!, Piacere!
Hail!
Salve!, Salute!
Cheers!
Evviva!, Salve!, Cincin!
Hallo!
Ciao!, Salve!, Pronto!
Would you mind answering some questions to help improve translation quality?
Trascina e rilascia il file o il link qui per tradurre il documento o la pagina web.
Trascina e rilascia il link qui per tradurre la pagina web.
Il tipo di file che rilasci non è supportato. Prova altri tipi di file.
Il tipo di link che rilasci non è supportato. Prova altri tipi di link.
Boyan Dimitrov
Telerik team
 answered on 30 Jul 2013
3 answers
148 views
Hello,

i was wondering how can i can access the username of the user who inserted the appointment and perform validation whether that same user is trying to edit or delete the appointment? by means of popup or how? can you please show me. 
Thank you. 

Here is the code: 
<telerik:RadScheduler ID="RadScheduler1" runat="server" OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnClientAppointmentEditing="ClientAppointmentEditing" OnClientAppointmentDeleting="ClientAppointmentDeleting" >
           ....
</telerik:RadScheduler>
 
protected void RadScheduler1_AppointmentInsert(object sender, AppointmentInsertEventArgs e)
   {
       //here you add the username as attribute
       e.Appointment.Attributes.Add("Nick", "Kapanadze");
   }
 
function ClientAppointmentEditing(sender, args) {
    var appointment = args.get_appointment();
    if (appointment.get_attributes().getAttribute("Nick") != "Kapanadze") {
        args.set_cancel(true);
    }
      
}
  
function ClientAppointmentDeleting(sender, args) {
    var appointment = args.get_appointment();
    if (appointment.get_attributes().getAttribute("Nick") != "Kapanadze") {
        args.set_cancel(true);
    }
}
Plamen
Telerik team
 answered on 30 Jul 2013
1 answer
197 views
I have a problem, I would like to change the font color dynamically:

<telerik:RadSiteMap ID="BreadCrumbSiteMap" runat="server" DataTextField="Text"

DataNavigateUrlField="NavigateUrl">

<DefaultLevelSettings ListLayout-RepeatDirection="Horizontal" SeparatorText="/" Layout="Flow" />

</telerik:RadSiteMap >

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

     BreadCrumbSiteMap.Style.Add("color", "#000000")
End Sub

 not  Work
how can I do?
Kate
Telerik team
 answered on 30 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?