Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
Control: RADDatePicker

The page the RadDatePicker sits has lots of javascript and ASP.NET controls such as gridview and form controls. 

The issue:   The DatePicker works when page is initially loaded, but when a client or server side event is fired, and the user tries to click on the DatePicker calendar a javascript error occurs.

the Error is:  'this.CurrentViews.length' is null or not an object.

In the javascript the "CurrentView" is a child object of the Shared Calendar, on the initial load I can see it has properties and such, but becomes null when user fires client or server side event, even though all the other Shared Calendar properties are still there.

I tried EnableViewState, with no success.  Any ideas why this is happening?
govME
Top achievements
Rank 2
 answered on 22 Jan 2010
1 answer
203 views
Hi ,

Im new to rad control, im facing a problem while running my application, im getting a parser error saying 

Parser Error Message: The base class includes the field'RadAjaxManager1', but its type (Telerik.Web.UI.RadAjaxManager) is notcompatible with the type of control (Telerik.Web.UI.RadAjaxManager).

please find the attached image for the screenshot of the same, if any one can help me it would be very helpful. 


thanks in advance
raghav

Martin
Telerik team
 answered on 22 Jan 2010
1 answer
82 views
I installed the trial product, opened the demo in Visual Studio 2008, switch to design mode and there are tons of errors. Everything from tags not found to assembly or dependency not found. I can build and run the project though. I also tried creating a new project based on the Telerik template and I get same/similiar errors.

Did I miss something during the install? I don't remember it popping saying there were additional manual steps.

Thanks
Martin
Telerik team
 answered on 22 Jan 2010
3 answers
94 views
Hi,

I need to retrieve some information about a target node while dragging. This is needed to give the user an optical feedback if he is allowed to drop the node he currently is dragging onto the node he currently is over.

For that I need to retrieve the supposed target node and compare several attributes against the source node to determine if the operation is valid or not.

Waiting until the user actually dropped the node and cancelling the OnClientNodeDropping event is NOT an option. The user must be able to see if the desired operation is valid or not BEFORE dropping.

So how can I retrieve the supposed target node in the OnClientNodeDragging event?

Thanks,

   Sebastian
Yana
Telerik team
 answered on 22 Jan 2010
4 answers
216 views
Hi,

I recently upgraded to VS 2008 from VS 2005 (although 2005 is still installed) and installed the most recent telerik install for the templates and such, and have encountered the following error since:

Error: this template attempted to load an untrusted component 'Telerik.Web.UI.VSX, Version=2009.03.1313.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4'. For more information on this problem and how to enable this template please see documentation on Customizing Project Templates.

Any idea how to fix this?
loai taha
Top achievements
Rank 1
 answered on 22 Jan 2010
4 answers
593 views
Hello,

I have 2 RadListBoxes where items can be transferred between them. One is Source and the other is Selected. Users will move items from the Source ListBox to the Selected ListBox to select items. On PostBack, the items in the Selected ListBox must be saved. Unfortunately, when I check the radListBoxSelected.Items on PostBack, nothing is there to save.

I started with just setting PersistClientChanges="true" but when that did not work, I added JavaScript handlers to the OnClientTransferring and OnClientTransferred events of the Selected ListBox that set trackChanges() and commitChanges() before and after each transfer. It still does not work. What do I need to do?


The are ListBoxes are defined as follows:
 

<rad:RadListBox ID="radListBoxSelected" runat="server" Skin="Vista" Height="120px" AllowTransfer="true" AllowTransferOnDoubleClick="true"  AllowTransferDuplicates="false" ButtonSettings-ShowTransfer="true"  ButtonSettings-ShowTransferAll="true"  ButtonSettings-VerticalAlign="Middle"  EnableDragAndDrop="true"  Sort="Ascending" TransferToID="radListBoxSource" PersistClientChanges="true"  />

 

 

 

<rad:RadListBox ID="radListBoxSource" runat="server" Skin="Vista" Height="120px" AllowTransferOnDoubleClick="true" AllowTransferDuplicates="false" EnableDragAndDrop="true" PersistClientChanges="true" />

OnClientTransferring JavaScript 

 

function RadListBoxSelected_OnClientTransferring(sender, args) {
     var listBox = $find('<control ID>');
     listBox.trackChanges();
}

OnClientTransferred  JavaScript

function RadListBoxSelected_OnClientTransferred(sender, args) {
     var listBox = $find('<control ID>');
     listBox.commitChanges();
}

 

 

 

 

 

 

 

 

 

Guillaume
Top achievements
Rank 1
 answered on 22 Jan 2010
4 answers
101 views
We use the Telerik AJAX ASP.NET 2008.3 1314 and everything works fine except with Firefox 3.5.7.
The Upload Progress Panel doesnt appear with this browser.
Does a Workaround exist?

Best regards,
Stefan
Stafan Müller
Top achievements
Rank 1
 answered on 22 Jan 2010
2 answers
245 views
I use <a href="http://www.telerik.com/community/code-library/aspnet-ajax/combobox/using-checkboxes-for-multi-item-selection.aspx">Using CheckBoxes for multi-item selection</a> to do a multi-item selection. but I want to pre-select some items base on a query from database.

to make myself clear, say I havea combo with there checkbox,

item1
item2
item3
item4

when page load, i want to pre-check some of these items based on which user is login, if user1 login, all items except item1 is checked, if user2 login, item1 and item4 is checked, and so on.

How to do I do that?  thanks.
steven
Top achievements
Rank 1
 answered on 22 Jan 2010
5 answers
301 views
Hi,
There is a bug with RadTextBox when using RequiredFieldValidators.

I have explicitly set "CausesValidation=false" and it still fires my validator.

Please let me know once a fix is in place.

Cheers
Pavel
Telerik team
 answered on 22 Jan 2010
1 answer
103 views
Hi all, my client is having a weird problem that I can easily reproduce and I am hoping that someone has some advice or has also seen this issue.

I am using the latest version of radcontrols (not sp2 though). I have a form with many radcombo boxes on it, and I have set the tab order of most of the items on the form to follow a specific route. Works great, when I tab onto a combo it puts focus on the input, when I tab off, it moves focus to the next control. Great.

However, there is a button on the form that calls a radwindow to gather some additional info. What is weird is after this window is closed, then all comboboxes that do not have a taborder assigned, when you tab out, focus moves onto the drop down (arrow) of the control, instead of the next control. I have some dynamically added controls so assigning the taborder is not my first choice for these controls...

Any ideas Telerik or my fellow users?

Thanks in advance.
Yana
Telerik team
 answered on 22 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?