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

I have added a new skin file under App_Themes/Skin folder, Now I have couple of skin files one of Custom Controls and Another one for Telerik.(we can have only one register entry per skin file). Its not taking the theme like Forest or Black, I can see only default theme. Good Part is that under web.config file it is working. Since I am using ASP.NET 2X, theme should work.
I have already looked at different solution, nothing is working for me.

I appreciate your response.

Thanks,
Mihir
Mihir Pathak
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
94 views
Hi ,
             I am using a rad colorpicker on dynamically generated docks. Whenever a new dock is plotted the colorpicker in the  old plotted dock loses its value because of the postback. Is there any suggestion to avoid this occurrence.

Thank you

Regards,
Ajit
Tsvetie
Telerik team
 answered on 20 Nov 2009
1 answer
226 views
Scenario: I have added nodes in the treeview by using the designer and wanted to keep the nodes in expanded mode once it makes a postback after the node is clicke. Could you please help me how well i could achieve the desire stuff.


Explanation: When the treeview makes a postback with nodeclick event the nodes in the treeview is collapsing. Please help me in keeping them expanded.





Regards,
Ali
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2009
1 answer
115 views
I have a RadAjaxManager within my MasterPage directly below the form tag:

 

<form id="form1" runat="server">

 

 

<telerik:RadAjaxManager ID="RadAjaxManager" runat="server"></telerik:RadAjaxManager>

 


I have a usercontrol where I have a RadAjaxLoadingPanel along with a RadGrid:

<

 

telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

 

 

Width="75px" Transparency="100">

 

 

<label runat="server">Loading...</label>

 

 

<br />

 

 

<img style="border: 0; margin-top: 150px;" alt="Loading..." src="../img/Vista.gif" />

 

</

 

telerik:RadAjaxLoadingPanel>

 

<

 

telerik:RadGrid ID="grdTicket" Skin="Office2007" Width="100%" AllowSorting="True"

 

 

AllowPaging="True" PageSize="50" runat="server" AllowMultiRowSelection="true" OnItemDataBound="grdTicket_ItemDataBound"

 

 

OnNeedDataSource="grdTicket_NeedDataSource" OnColumnCreated="grdTicket_ColumnCreated" OnItemCreated="grdTicket_ItemCreated">

 

 

<MasterTableView Width="100%" NoMasterRecordsText="No records to display" TableLayout="Fixed" HeaderStyle-Wrap="true">

 

 

<Columns>

 

 

<telerik:GridClientSelectColumn Reorderable="False" UniqueName="ClientSelectColumn">

 

 

<HeaderStyle Width="25px"></HeaderStyle>

 

 

</telerik:GridClientSelectColumn>

 

 

 

<telerik:GridTemplateColumn HeaderText="WTB" DataField="wtbdt" UniqueName="WTBIndicator" Groupable="false" SortExpression="wtbdt">

 

 

<HeaderStyle Width="35px" />

 

 

<ItemStyle HorizontalAlign="Center" />

 

 

<ItemTemplate>

 

 

<asp:Image ID="WTBIndicator" runat="server">

 

 

</asp:Image>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridBoundColumn DataField="wtbindicator" SortExpression="wtbindicator" Visible="false"></telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<PagerStyle Mode="NumericPages" />

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True"></Selecting>

 

 

</ClientSettings>

 

 

<PagerStyle Mode="NumericPages" />

 

</

 

telerik:RadGrid>

 


In the usercontrol Page_Load, I'm getting the RadAjaxManager from the MasterPage and then setting the AjaxSettings:

RadAjaxManager

 

ram = (RadAjaxManager)this.Page.Master.FindControl("RadAjaxManager");

 

ram.AjaxSettings.AddAjaxSetting(grdTicket, grdTicket);

ram.DefaultLoadingPanelID =

"RadAjaxLoadingPanel1";

 


When the usercontrol is loaded into the page and when I retrieve records for my grid, everything is fine.  The problem occurs when I click on a grid header to do a sort.  I get "Microsoft JScript runtime error: Object doesn't support this property or method" in the italicized code below.

Sys.UI.Control =

function Sys$UI$Control(element) {

 

 

/// <summary locid="M:J#Sys.UI.Control.#ctor" />

 

 

/// <param name="element" domElement="true"></param>

 

 

var e = Function._validateParams(arguments, [

 

{name:

"element", domElement: true}

 

]);

 

if (e) throw e;

 

 

if (typeof(element.control) != 'undefined') throw Error.invalidOperation(Sys.Res.controlAlreadyDefined);

 

Sys.UI.Control.initializeBase(

this);

 

 

this._element = element;

 

element.control =

this;

 

Martin
Telerik team
 answered on 20 Nov 2009
3 answers
136 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
119 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
178 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
147 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
161 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
389 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?