Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
89 views
So if enablerefreshimage  is set to false, the audio link has a css class of "rcCaptchaAudioLink" so you can style it. However, if you enable refresh image, the "rcCaptchaAudioLink" class is removed and there is no class property. Is this a known issue?
Pero
Telerik team
 answered on 08 Nov 2010
2 answers
1.7K+ views
Hi,

I've got a 3 RadTextBoxs(RadNumericTextBox) and 3 buttons beside that. I wanted to fire the Button1 click event on Hitting Enter key of 1st TextBox. similarly, fire Button2 click event on hitting Enter key on 2nd TextBox. Could you help me to resolve this issue.

Thanks, Malli
Princy
Top achievements
Rank 2
 answered on 08 Nov 2010
1 answer
125 views
hi

I am trying to load a default image if there isn't any value in the radmenu during page load. how do i test whether any value are present in the radmenu? Thanks

Protected Sub RadMenu1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs) Handles RadMenu1.ItemDataBound
        If e.Item.Value Is Nothing Then
            imgPhoto.ImageUrl = "~/image/NoPhotoAvailable.jpg"
        Else
            imgPhoto.ImageUrl = e.Item.Value
        End If

End Sub

Peter
Telerik team
 answered on 08 Nov 2010
1 answer
62 views
Hi everyone,

I have implemented a wcf service for CRUD operations on the scheduler. What I am curious to know is whether it is possible or not to filter scheduler data when calling the operations? I guess I am trying to figure out where I can hook in and filter the data? For example, if I grab all appointments and want to filter based on resource, where would I hook in to do this? Would it be on the client side after the get operation for the data is completed? 

Cheers,

Derek.
Peter
Telerik team
 answered on 08 Nov 2010
1 answer
111 views
Hello,

I create chart controls in code behind. When I click a button I rerender the charts with new information but the charts render with previous information and I have to cause another postback for the chart to render with new information.

I have tried with enableviewstate = false with no success.

If I put a chart control on the page with enableviewstat = false and only add series and such to it from code behind the rendering works as I wish but the click event causes an indexoutofrange error.

Firstly I would like to get it to work from code behind.

I have tried several things with no success so far and would be very thankful for any ideas.

Regards,
Roberto
Ves
Telerik team
 answered on 08 Nov 2010
1 answer
65 views
I'm stuck big time. I have a SharePoint 2007 server with the Rad Editor installed fine. We are trying to get a SharePoint 2010 server up and running with our 2007 content DB. 

We created a new VM Server, installed SP 2010 and configured to a working default state just fine. I think where I may have gone wrong is following my configuration documents (for 2007), which included installing AJAX 2.0 along with deploying the RadEditorMoss.wsp, along with all the requisite web.config entries.

As soon as I completed that configuratoin/installation procedure (which I believe is S.O.P for SP 2007) when I went to browse to the new SP site, I get a 500 "Internal Server Error, There is a problem with the resource you are looking for, and it cannot be displayed". When I remove the RadEditorMoss.wsp package and remove the config entries, the site loads again, but any content that was created with RadEditor does not show up. In my case I have an Article site... Titles, image and such ARE available and can be seen with a CQWP, but the actual content created inside the RadEditor is blank and the article page itself throws an error when you try to view it.

My next thought was to try and install the RadControls for 2010. I downloaded and installed the Telerik.Web.UI_2010_2_929_Dev.msi package, which from what I could tell would add the requisite .dll files to the GAC as well as the <SafeControlentries into the web.config and all it seemed to do was give me the 'live examples' application. 

Should I remove all the extra Ajax/RadEditor stuff from the server/config file? (which I have tried to no avail). 

All I wish to do is to make the content and RadEditor work again in my 2010 server. I'm stuck and would appreciate any help from the form I can get.

Thanks again. Please let me know what other information would be relevant in troubleshooting.
Stanimir
Telerik team
 answered on 08 Nov 2010
3 answers
99 views
Hello Telerik Team,

I am having on RAD treeview inside inside RadAjaxPanel to handle treeview(on demand loading with webservice) events on server with callbak.Now I want to do some processing on server in "OnContextMenuItemClick" event after which in certain condition I need to call Javascript function where I can take confirmation from user regarding furthure action , if user say "yes" then again I want to go on server and execute on method.
for second server call I am using RadAjaxManagerProxy  as my master page already have RadAjaxManager. my RadAjaxManagerProxy  setting is as follow

 

 

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy" runat="server" > 
                        <AjaxSettings> 
                            <telerik:AjaxSetting AjaxControlID="RadTreeView">  
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="RadTreeView" /> 
                                    <telerik:AjaxUpdatedControl ControlID="IsShared" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                        </AjaxSettings>      
                    </telerik:RadAjaxManagerProxy> 


I am delegating AJAX request in page load to call my method on server .

 

RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);  
manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager_RadAjaxRequest); 


"RadAjaxManager_RadAjaxRequest" method is called and I am doing all my processing inside it. Up till now things are fine but the Issue is I want to update selected treeview node after performing my operation which is somthing not working.

Can you guid me how I can update selected node in treeview after performing my operation from "RadAjaxManager_RadAjaxRequest"?

If possible give me some running example which can give me clear understanding.

Thanks in advance,
Frank

Pavlina
Telerik team
 answered on 08 Nov 2010
2 answers
347 views

Hi

I have problems using the spell checker in RadEditor in Sharepoint.

This is what I get when I try to run the spellchecker :
 

I have versions 2010.2.826.20 and 2010.2.826.35 of Telerik.Web.UI.dll in GAC.

 

I add the languages and the spell checking dropdown box in the tools.xml file as following:

 

<tools name="InsertToolbar" enabled="true" >

<tool name="AjaxSpellCheck"/>

</tools>

 

<languages>

    <language code="de-DE" title="Deutsch" />

    <language code="en-US" title="Englisch" />

    <language code="fr-FR" title="France" />

    <language code="sv-SE" title="Svenska" />

</languages>

 

 

I have the dictionary files in all of the following folders:

  • \Inetpub\Wwwroot\wss\VirtualDirectories\80\App_Data\RadSpell
  • \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\5.8.0.0__1f131a624888eeed\Resources\App_Data\RadSpell
  • \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\5.8.1.0__1f131a624888eeed\Resources\App_Data\RadSpell

 

This is how my web.config httpHandlers section looks like:

 

    <httpHandlers>

      <remove verb="GET,HEAD,POST" path="*" />

      <add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

      <add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

      <add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

      <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="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, Telerik.Web.UI" verb="*" validate="false" />

    </httpHandlers>

 

And finally, in the onload method of the user control I tried any combination of the following lines of code, as well as any possible option for the SpellCheckProvider enumeration.

            editor.SpellCheckSettings.AllowAddCustom = true;

            editor.SpellCheckSettings.SpellCheckProvider = SpellCheckProvider.MicrosoftWordProvider;

            editor.SpellCheckSettings.EditDistance = 2;

            editor.SpellCheckSettings.AjaxUrl = "Telerik.Web.UI.SpellCheckHandler.axd";

 

FYI I am using the rad editor inside a roddock which is in a web user control. The web user control in turn is loaded into a sharepoint webpart.
I appreciate your help.
Ali

Ali
Top achievements
Rank 1
 answered on 08 Nov 2010
1 answer
40 views
Hello,

For Example, I have this VB code:

    Protected Sub RadComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles RadComboBox1.SelectedIndexChanged
        // [prodedure code
       //(...)
    End Sub

But it never react when the RadComboBox1 selection is changed. Therefore I have to add a basic button next to the ComboBox to validate ...

I'm rather new to ASP and VB events. So am I missing something ?

On the computer on which I work are install bot Telerik 2010 Q1 and Telerik 2010 Q2 ajax plug-ins. Both are evaluation version and I've noticed all Q2 plug-ins have disappaered from toolbox and references. The problem could be related to that ? (multiple version ? evaluation?)


Thank you for help.
Yana
Telerik team
 answered on 08 Nov 2010
2 answers
75 views
Hi Guys,

Please can any one advise if there is a way to handle the Handling "DefaultViewChanged" event of the RadDateTimePicker's Calendar in the code behind?

I have tried using...
AddHandler fdCourseStartDateDateTimePicker.Calendar.DefaultViewChanged, AddressOf fdCourseStartDateDateTimePicker_Calendar_DefaultViewChanged
...to hook up to...
Protected Sub fdCourseStartDateDateTimePicker_Calendar_DefaultViewChanged(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DefaultViewChangedEventArgs) 
        System.Diagnostics.Debug.WriteLine("")
    End Sub

...but this does not seems to work. Putting a break point in the handler method shows it is never reached.

Any help appreciated.

Best regards,
Duane.

(Edited to remove Typo!)
Duane
Top achievements
Rank 1
 answered on 08 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?