Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
126 views
Dear telerik,

Would it be possible to show or hide a Resource based upon a date? For example: we have a list of Employees. An Employee has got a StartedWorkingOn and an StoppedWorkingOn datetime. I want to show an Employee only when the current shown date in the scheduler is greather than the StartedWorkingOn-date and smaller than the StoppedWorkingOn date.

Example:
  • Jan is working at Example BV since 1st of January 2007 and does not have an StoppedWorkingOn date
  • Pete, an intern, is working at Example BV since the 1st of June 2009 and will stop working on the 1st of January 2010.

When I click through the scheduler, currently I should always see Jan and Pete together, but when I reach the 1st of January 2010, the scheduler should only show Pete! How can I accomplish this?

We are using client-side binding, since I do not want my scheduler to give me a postback when I switch days.
Dimitar Milushev
Telerik team
 answered on 20 Nov 2009
3 answers
117 views
Hi,

I am using rad combo in user control which is being called in a rad grid as edit panel on aspx page.

but the SelectedIndexChanged event of the rad combo is not working.

Can anyone tell me why this is happening ?

Thanks,
Awadh
Simon
Telerik team
 answered on 20 Nov 2009
1 answer
174 views
Hi

In my project I update a RadEditor's Content - and it works. Then, according to your tutorials, I wanted to ajaxify this process by using a RadAjaxManager:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
    <AjaxSettings> 
       <telerik:AjaxSetting AjaxControlID="RadListBoxLeft"
          <UpdatedControls> 
             <telerik:AjaxUpdatedControl ControlID="ContactDesc" /> 
          </UpdatedControls> 
       </telerik:AjaxSetting> 
       <telerik:AjaxSetting AjaxControlID="RadListBoxRight"
          <UpdatedControls> 
             <telerik:AjaxUpdatedControl ControlID="ContactDesc" /> 
          </UpdatedControls> 
       </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 

Nothing else was changed, just this.
Now, when the RadEditor should get updated, it like loses its functionality. I cannot write anymore in it, further I can click the toolbar and the footer's items, but nothing happens.

Did I miss something? :)

Thanks in advance for some help
Best
Roman
Roman
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
142 views
In my application, I have a modal window and the contents are a separate web form.
I am using the following idea...
<Window Height is variable>
<Splitter orientation=Horizontal>
<Pane height=*>
<Splitbar>
<Pane height=45px>
</Splitter>
</Window>

I can't get this to work correctly. I am setting the splitter height and width to 100%. I don't know how to configure the heights of the Panes. If I use percentages, then a small window will hide some of the bottom pane. If I use px values, the panes are just 50/50 height...

Any ideas?

Aaron Chorpenning
Top achievements
Rank 1
 answered on 20 Nov 2009
4 answers
149 views
Hi,

I use a user control as a custom edit form in RadGrid,
this control contains several validators and a validationsummary control.
When the validationsummary control shows the message, the edit form is not resized,
so some the error messages are showed outside of the edit form.
How can I set my edit form to resize when error messages are displayed?

Attached is a screenshot for this problem.
John Davis
Top achievements
Rank 2
 answered on 20 Nov 2009
10 answers
375 views
Hi Telerik team !

I'm trying to make the RadCalendar display the selected day despite of the date of today. This seems to be possible client side only.
You offers documentation on this way here but I'm not sure where I'm wrong.
Could you please give me and advise ? Is it possible to make the change server side ?

I obtain the message "Date out of range" whatever the use I make of this function. I'm also using SelectedDates even if I'm not in multi-date-select mode. The error is the same if I use a jQuery method to get the hidden value of the selected date field near the calendar.

Here's my code(s).

First try :
jQuery(document).ready(function(){ 
    var calendar = $find("<%= me.radCalSearch.ClientID %>"); 
    var dates = calendar.get_selectedDates(); 
    var date = new Date(dates[0]); 
    var dTriplet = [date.getYear(), date.getMonth()+1, date.getDate()]; 
    calendar.selectDate(dTriplet, true);  
}); 

Second try :
jQuery(document).ready(function(){ 
    var calendar = $find("<%= me.radCalSearch.ClientID %>"); 
    //var dates = calendar.get_selectedDates(); 
    var date = new Date(jQuery("input#dnn_ctr2445_SearchInput_radCalSearch_SD").attr('value')); 
    var dTriplet = [date.getYear(), date.getMonth()+1, date.getDate()]; 
    calendar.selectDate(dTriplet, true); 
}); 

ASCX
<telerik:radcalendar id="radCalSearch" runat="server" enablemultiselect="false" enablenavigationanimation="false" showrowheaders="false" UseColumnHeadersAsSelectors="false" UseRowHeadersAsSelectors="false" daynameformat="FirstTwoLetters" onselectionchanged="radCalSearch_SelectionChanged" AutoPostBack="true"
    <SpecialDays> 
        <telerik:RadCalendarDay Date="" Repeatable="Today"
            <ItemStyle CssClass="radCalToday_Default" /> 
        </telerik:RadCalendarDay> 
    </SpecialDays> 
</telerik:radcalendar> 

S.F.
Pavlina
Telerik team
 answered on 20 Nov 2009
6 answers
231 views

I basically have 2 questions,

1. When I add new paragraph from the toolbar paragraph is  getting created but my cursor is outside(right after) newly created paragraph.  At that point its almost impossible to click inside of that paragraph and start typing. What do I need to do to place my cursor inside of the P tags?

2. When new paragraph is created I get <p>&nbsp;</p> in HTML markup if I switch it to HTML view and back to design it switches it to <p> </p>. What do I need to do so it does <p> </p> on the first place 


 

Rumen
Telerik team
 answered on 20 Nov 2009
3 answers
78 views
I have RadDatePicker and RadTimePicker on the same page, when one is chosen the other one disappear.
Two seperate controls, two seperate textboxes. I don't understand the logic behind such behavior. Please help us out. Thanks.
Dimo
Telerik team
 answered on 20 Nov 2009
1 answer
218 views
Hi,

I'm using the radAjaxManager control.  I have a button that opens a modal then uses this to load data to the text box next to it.

When I add the button to the radajaxmanager it causes a line break and the button is no longer next to the text box.  I have tried to wrap the controls together in in a table, however this just pushes the whole table to another row.

Anyone know how to fix this?

Thanks

Dean
Dimo
Telerik team
 answered on 20 Nov 2009
8 answers
275 views

Hi ,

 

I had a a RadTree View Control inside the GridTemplate Column. I am dynamically adding the Node to the RadTreeView in the ItemDatabound event of the RadGrid. I had three GridBound Column in the Same Grid

Whenever I expand the TreeView all the other three Bound Column shifts down to the first node of the TreeView. Is there any way to stop the movement of the  BoundColumn whenever I expand the TreeView.

Thanks

Gauarv

mohsin
Top achievements
Rank 1
 answered on 20 Nov 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?