Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
Hi,
I understood that we can not add specialdays at client side..
but if i add the specialdays at server side and want to clear on client side on a button click.
can i do that?
please give me any sample code
-Krishna
Sebastian
Telerik team
 answered on 07 Oct 2009
1 answer
184 views
I've populated a GridTemplateColumn with a RadComboBox.  When an option in the combobox is selected, I'm catching the OnClientSelectedIndexChanged event.  I need to know which row this has occurred in, on the client-side.  I can get the actual combobox control and the grid control using the 'sender' parameter, but I can't figure out how to get the row object so that I can get some other data out of another column in that row.

Again, I want to do all of this client-side.

Thanks!
Princy
Top achievements
Rank 2
 answered on 07 Oct 2009
1 answer
83 views
When i wantto filter records on RadGrid, it throws the error : 

Microsoft JScript worktime error: Sys.WebForms.PageRequestManagerServerErrorException: No property or field 'AFieldName' exists in type 'EntityBase2'

I use a LLBLGEN datasource for my RadGrid.

What could cause that error?
Thanks...
Kem Arda
Top achievements
Rank 1
 answered on 07 Oct 2009
1 answer
141 views

Hi, is it somehow possible to wrap the RadEditor in a custom webpart, using it as a regular UI control? I have tried using the Telerik.SharePoint.RadHtmlField  as

public class MyWebPart : WebPart, IWebEditable

{

…

  protected override void CreateChildControls()

  {

    RadHtmlField   uiEditor = new RadHtmlField();

    uiEditor.Content = EditorText; \\public property

    Controls.Add(uiEditor);

…

But I get an Exception:

The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.

What can I do?

Stanimir
Telerik team
 answered on 07 Oct 2009
1 answer
96 views
Hello all,

I am newbie in Telerik tool. How can i use this in SharePoint(only in WSS3.0 not in MOSS )?

Please help me, it really confusing me means from where i start? Are those components are related to silverlight? Need to download silverlight or silverlight  tool for Visual studio for developement?
I want to create dashboard with telerik component.
any help will be appreciated.

Thank you,
N i T i N
Stanimir
Telerik team
 answered on 07 Oct 2009
6 answers
166 views
Hi,
I am using client side binding and it seems to me that getDataKeyValue retrieves wrong values.
screenshot

On screen shot you see how i retrieve values from grid and actual variable values.
_dataItem contains correct values, but getDataKeyValue returns incorrect.

Am i doing something wrong?

Telerik.Web.UI.dll version is 2009.2.826.35
browsers - FF3.5.3 and IE 8
Oleg Medyanik
Top achievements
Rank 1
 answered on 07 Oct 2009
1 answer
101 views
We are using RadEditorSharePoint version 4.4.1. A week ago it started displaying this message:
"RadEditor 7.2.1 trial version. Copyright Telerik 2002-2007. To remove this
message, please  purchase a developer version."

Wasn't it supposed to be a free version? It worked fine for years. Was there a time limit? What do we do now?
Stanimir
Telerik team
 answered on 07 Oct 2009
8 answers
138 views
// Edit : I made a mistake in the thread title ... It is about a Month view problem, not a week view problem ....

Hello,

I got a strange probleme in Month view, as all appointments are shown "between two days".

In week view, all is normal
Screenshot : http://img186.imageshack.us/img186/1935/weekview.jpg

In month view, there is a problem ... Appointments are not in the day column, they are all centered between tho days ...
Screenshot : http://img297.imageshack.us/img297/6528/monthview2.jpg

Any ideas ?
You will also notice in the month view screenshot that I also got a placement problem of the calendar (when clicking on the little arrow near "today" - aujourd'hui in french - this problem appears in all views). Go you also got ideas about this ?

Thanks,
G.

// See my code bellow (simple ...)

<

 

telerik:RadScheduler ID="RadSchedulerCtrl" runat="server" Culture="French (France)" SelectedView="WeekView"

 

 

 

 

HoursPanelTimeFormat="Htt" Skin="WebBlue" ValidationGroup="ctl00_RadSchedulerCtrl" DataEndField="DateFin"

 

 

 

 

DataKeyField="ID" DataSourceID="ObjectDataSource1" DataStartField="DateDebut" DataSubjectField="Nom" FirstDayOfWeek="Monday" DayStartTime="09:00:00"

 

 

 

 

Height="774px" WorkDayStartTime="09:00:00" OnAppointmentDataBound="RadSchedulerCtrl_AppointmentDataBound"

 

 

 

 

OverflowBehavior="Expand" StartEditingInAdvancedForm="False" OnFormCreating="RadSchedulerCtrl_FormCreating" EnableRecurrenceSupport="False" OnAppointmentClick="RadSchedulerCtrl_AppointmentClick" OnAppointmentUpdate="RadSchedulerCtrl_AppointmentUpdate" DayEndTime="22:00:00" WorkDayEndTime="22:00:00">

 

 

 

 

<Localization AdvancedAllDayEvent="Journ&#233;e compl&#232;te" AdvancedCalendarCancel="Annuler"

 

 

 

 

AdvancedCalendarToday="Ajourd'hui" AdvancedDaily="Journalier" AdvancedDay="Jour"

 

 

 

 

AdvancedDays="jour(s)" AdvancedDone="Fait" AdvancedEndAfter="Termine apr&#232;s le"

 

 

 

 

AdvancedEndByThisDate="Termine le" AdvancedEndDateRequired="Une date de fin est requise"

 

 

 

 

AdvancedEndTimeRequired="Une heure de fin est requise" AdvancedEvery="Tout" AdvancedEveryWeekday="Tout les jours"

 

 

 

 

AdvancedFirst="premier" AdvancedFourth="quatrieme" AdvancedFrom="Depuis" AdvancedHours="heure(s)"

 

 

 

 

AdvancedInvalidNumber="Nombre invalide" AdvancedLast="dernier" AdvancedMaskDay="jour"

 

 

 

 

AdvancedMaskWeekday="Jour de la semain" AdvancedMaskWeekendDay="jour du weekend"

 

 

 

 

AdvancedMonthly="Mensuel" AdvancedMonths="mois" AdvancedMoreDetails="Plus de d&#233;tails"

 

 

 

 

AdvancedNoEndDate="Pas de date de fin" AdvancedOf="de" AdvancedOfEvery="de tout"

 

 

 

 

AdvancedRange="Etendu de la r&#233;curence" AdvancedRecurEvery="A lieu tout les"

 

 

 

 

AdvancedRecurrence="R&#233;currence" AdvancedRecurringAppointment="Tache r&#233;curente"

 

 

 

 

AdvancedSecond="seconde" AdvancedStartDateRequired="Une date de fin est requise"

 

 

 

 

AdvancedStartTimeBeforeEndTime="L'heure de d&#233;but doit pr&#233;c&#233;der l'heure de fin"

 

 

 

 

AdvancedStartTimeRequired="heure" AdvancedSubjectRequired="Un sujet/nom est requis"

 

 

 

 

AdvancedThe="Le" AdvancedThird="troisieme" AdvancedTo="&#224;" AdvancedWeekly="Hebdomadaire"

 

 

 

 

AdvancedWeeks="semaine(s)" AdvancedWorking="En cours ..." AdvancedYearly="Annuel"

 

 

 

 

AllDay="Toute la journ&#233;e" Cancel="Annuler" ConfirmCancel="Annuler" ConfirmDeleteText="Confirmez vous la suppression de l'&#233;l&#233;ment ?"

 

 

 

 

ConfirmDeleteTitle="Confirmer la suppression" ConfirmRecurrenceDeleteOccurrence="Supprimer cette occurence uniquement"

 

 

 

 

ConfirmRecurrenceDeleteSeries="Supprimer la s&#233;rie" ConfirmRecurrenceDeleteTitle="Supprimer une tache r&#233;curente"

 

 

 

 

ConfirmRecurrenceEditOccurrence="Modifier cette ocurence uniquement" ConfirmRecurrenceEditSeries="Modifier la s&#233;rie"

 

 

 

 

ConfirmRecurrenceEditTitle="Editer une tache r&#233;curente" ConfirmRecurrenceMoveOccurrence="D&#233;placer cette occurence uniquement"

 

 

 

 

ConfirmRecurrenceMoveSeries="D&#233;placer la s&#233;rie" ConfirmRecurrenceMoveTitle="D&#233;placement d'une tache r&#233;curente"

 

 

 

 

ConfirmRecurrenceResizeOccurrence="Redimensionner cette ocurence uniquement"

 

 

 

 

ConfirmRecurrenceResizeSeries="Redimensioner la s&#233;rie" ConfirmRecurrenceResizeTitle="Redimentionner une tache r&#233;curente"

 

 

 

 

ConfirmResetExceptionsText="Voulez vous supprimer toutes les ocurences ?" HeaderDay="Jour"

 

 

 

 

HeaderMonth="Mois" HeaderMultiDay="Plusieurs jours" HeaderNextDay="jour suivant"

 

 

 

 

HeaderPrevDay="jour pr&#233;c&#233;dent" HeaderTimeline="Liste" HeaderToday="aujourd'hui"

 

 

 

 

HeaderWeek="Semaine" Insert="Ajouter" Save="Sauvegarder" Show24Hours="Afficher 24 heures"

 

 

 

 

ShowBusinessHours="Affichier les heures ouvr&#233;s" ShowMore="plus ..." Update="Mise &#224; jour" />

 

 

 

 

<MonthView VisibleAppointmentsPerDay="10" AdaptiveRowHeight="True" />

 

</

 

 

 

telerik:RadScheduler>

 

 

 

Yana
Telerik team
 answered on 07 Oct 2009
1 answer
140 views
XmlHttpRequest seems to cause problems with RadGrids when using a RadAjaxManager.

We are building a Website that has a few RadGrids and a RadAjaxManager.

Also on the page there is a client side timer initiated using window.setTimeOut() set to trigger every 15 seconds.

The event for the timer triggers an Asynchronous XmlHttpRequest using:

 

function SendRequest(url, CallbackFunc, send)  
{   
    var req = GetRequest();   
 
    req.open("Post", url, true);  
    req.send(send);  
 
    req.onreadystatechange =   
        function()   
        {   
            if (req.readyState != 4) return;  
            if (req.status != 200) return;  
 
            CallbackFunc();   
        };  
}  
 
 
function GetRequest()   
{   
    var req = false;   
   
    if (window.XMLHttpRequest && !(window.ActiveXObject))  
    {   
        try   
        {   
            req = new XMLHttpRequest();   
        }  
        catch (e)  
        {   
            req = false;   
        }  
     }   
     else if (window.ActiveXObject)   
     {   
        try   
        {   
           req = new ActiveXObject("Msxml2.XMLHTTP");    
        }  
        catch (e)   
        {   
           try   
           {   
              req = new ActiveXObject("Microsoft.XMLHTTP");   
           }  
           catch (e)   
           {   
              alert("Your browser does not support AJAX!");   
          
          req = false;  
            }  
        }  
     }  
 
    return req;   
}  
 
 

 
Then Sever side it generates an XML formatted string which it returns using:

Response.Write( MyXmlString);


It then recieves this in a client side event, parses the XML and displays the content using javascript.

This functionality all works fine but the problem is that introducing this code seems to cause strange behaviour on RadGrids. After the page has been running for a while, clicking on the radgrid will cause all it's data to disappear and postbacks seem to have completely lost their viewstate.

If I remove my XmlHttpRequest call then the RadGrids behave fine.

Are the RadAjaxManager and RadGrids compatible with the use Asynchrous Requests as described above? and does anyone have any ideas why an XmlHttpRequest would cause this problem?
Iana Tsolova
Telerik team
 answered on 07 Oct 2009
2 answers
237 views
Hi. I've got a databound pie chart. In the code behind I explode a specific piece of the pie. This works okay but the label next to it doesn't move with the piece, so the label is half way into the pie piece. I tried setting the LabelLocation to Outside or Auto and this doesn't seem to fix the problem. Thanks.

    <telerik:RadChart ID="rcOcbgPart3" Skin="Simple" DefaultType="Pie" AutoLayout="True" 
        Width="680px" Height="350px" runat="server" DataSourceID="sdsOrs">  
        <Series> 
            <telerik:ChartSeries Name="reqcount" DataYColumn="requests" Type="Pie" DataLabelsColumn="call_type" 
                Appearance-LegendDisplayMode="ItemLabels" Appearance-LabelAppearance-Visible="false">  
            </telerik:ChartSeries> 
        </Series> 
        <PlotArea Appearance-FillStyle-FillType="Solid" Appearance-FillStyle-MainColor="Transparent" 
            Appearance-Border-Visible="false">  
        </PlotArea> 
        <ChartTitle> 
            <Appearance Position-AlignedPosition="Top">  
            </Appearance> 
            <TextBlock Text="Outstanding Requests Summary">  
            </TextBlock> 
        </ChartTitle> 
        <Legend Visible="True">  
            <Appearance Visible="True">  
            </Appearance> 
        </Legend> 
    </telerik:RadChart> 
 

Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 07 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?