Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
150 views

I have a shared multi-month calendar that i'm using with two date picker controls. For some reason it's won't navigate when using the arrows at the top of the Calendar to go back to prior months. I've tried setting all the allowNavigation properties I could find. Is there something wrong with my code?

 

 

<div style="margin-left: 18px; margin-top: 2px;">

 

 

<telerik:RadDatePicker ID="DpDateRangeStart" runat="server" Skin="Vista" SharedCalendarID="CalShared">

 

 

<DateInput ID="DateInput1" InvalidStyleDuration="100" Skin="Vista" runat="server">

 

 

</DateInput>

 

 

<DatePopupButton ImageUrl="../images/Calendar.png" HoverImageUrl="../images/Calendar.png" />

 

 

</telerik:RadDatePicker>

 

 

 

 

 

<telerik:RadDatePicker ID="DpDateRangeEnd" runat="server" Skin="Vista" SharedCalendarID="CalShared">

 

 

<DateInput ID="DateInput2" InvalidStyleDuration="100" Skin="Vista" runat="server">

 

 

</DateInput>

 

 

 

 

 

<DatePopupButton ImageUrl="../images/Calendar.png" HoverImageUrl="../images/Calendar.png" />

 

 

</telerik:RadDatePicker>

 

 

 

 

 

<div style="margin-top: 4px;">

 

 

<a href="#" onclick="javascript:ApplyDateFilter();return false;">Apply Date Range</a>

 

 

</div>

 

 

</div>

 

 

 

 

 

<telerik:RadCalendar ID="CalShared" runat="server" Skin="Vista" EnableMultiSelect="False"

 

 

MultiViewColumns="3" MultiViewRows="1" Width="168px" ShowRowHeaders="False" SelectedDate="">

 

 

</telerik:RadCalendar>

Thanks!

Levi

 

Dimo
Telerik team
 answered on 26 Dec 2008
3 answers
225 views
Hey Telerik Team!

I am new to Telerik and trying to create a Popup that displays a RadGrid (which can be edited and added to). The Grid displays the Values that are in a RadComboBox, this should be used to add or change values.

My initial approach was to set up the RadGrid inside of a ToolTip, but I'm not sure if this is possible, or if it's a good solution at all. Is it possible to have the RagGrid use Ajax Postbacks while it's in the ToolTip or will the Tooltip close whenever there is a update to the Grid?

Is there a better solution to this problem?

Thank you for any suggestions,
Peter Ferak
Svetlina Anati
Telerik team
 answered on 26 Dec 2008
2 answers
106 views
The code for the example http://demos.telerik.com/aspnet-ajax/Window/Examples/CommunicationBetweenRadWindows/DefaultCS.aspx is incomplete in that it does not give the code for the window pages - in particular I am looking at how to generate the cityName and  seldate variables consumed by the parent page.

Thx
GT
Top achievements
Rank 1
 answered on 26 Dec 2008
1 answer
154 views
Hello. I create web form with Telerik controls. When this form is opened as modal dialog by follow code:

window.showModalDialog("MyForm.aspx"

then crash in embedded script is occur.

Code causing crash:
Sys.Browser.version=parseFloat(navigator.appVersion); 

Error message:
Not enough storage is available to complete this operation.

I think in popup windows javascript "navigator" object does not support "appVersion" property. How I can use Telerik controls in popup windows?

Atanas Korchev
Telerik team
 answered on 26 Dec 2008
1 answer
142 views
Hi

I get an error when I open a project in VS.2003 with telerik Q4 2006 for ASP.NET installed. All the telerik controls in the project is not rendered in the design view, instead they come with "Error Creating Control" red texts. This happened after I installed Q3 2008 in my computer, which I use in VS.2008 (it was not registered in VS.2003 - the Q4 2006 is still there). Is there a solution for my problem here? Can I re-register Q4 2006 just for VS.2003?

thanks

Regards
Pilu
Paul
Telerik team
 answered on 26 Dec 2008
1 answer
177 views
I am using the Q3 2008 version of Telerik RadControls for ASP.NET AJAX treeview.  I want to do most of my add, move, delete and edit logic on the clientside, then when the user is done they hit a SAVE button and i'll persist the changes on the Server/DB.

This is working fine for add and remove.  But when I edit a node, no ClientOperation appears for this on the server side.  I should note I'm using a context menu for the edit and delete of nodes.

Some of my code:

The treeview .aspx

<telerik:RadTreeView ID="tvwENB" runat="server" EnableDragAndDrop="true"   EnableDragAndDropBetweenNodes="true" 
                    AllowNodeEditing="true" OnClientNodeDropping="onNodeDropping" OnClientContextMenuItemClicked="onClientContextMenuItemClicked"
                     <ContextMenus> 
                        <telerik:RadTreeViewContextMenu Skin="Outlook" ID="MainContextMenu" runat="server"
                            <Items> 
                                <telerik:RadMenuItem Value="Edit" Text="Edit ..." ImageUrl="~/imgs/pencil.gif" PostBack="false" ></telerik:RadMenuItem> 
                                <telerik:RadMenuItem Value="Delete" Text="Delete ..." ImageUrl="~/imgs/setup/delete.png" PostBack="false"></telerik:RadMenuItem> 
                            </Items> 
                        </telerik:RadTreeViewContextMenu> 
                    </ContextMenus> 
                </telerik:RadTreeView> 


The Javascript for my EditNode method...
function onClientContextMenuItemClicked(sender, args) 
    var menuItem = args.get_menuItem(); 
    var treeNode = args.get_node(); 
 
    switch(menuItem.get_value()) 
    { 
        case "Delete":    
            RemoveNode(treeNode); 
            break; 
        case "Edit": 
            EditNode(treeNode); 
            break; 
    } 
 
function EditNode(node) 
    var treeView = $find("ctl00_MP_tvwENB"); 
    treeView.trackChanges(); 
    node.get_treeView()._startEdit(node); 
    treeView.commitChanges(); 
 
function RemoveNode(node) 
    var treeView = $find("ctl00_MP_tvwENB"); 
    var parentNode = node.get_parent(); 
    treeView.trackChanges(); 
    parentNode.get_nodes().remove(node); 
    treeView.commitChanges(); 

The code for the Remove works fine, removing the node from the screen and generating a remove operation type on the server.  The edit does not however generate the expected change operation.  The text of the edited node does change on the screen.  How to get this to work?



Atanas Korchev
Telerik team
 answered on 26 Dec 2008
1 answer
419 views

Hi

i have a raddatepicker using skin=webblue,  if user enter alphabetical  and special characters it is allowing  but it should not.
could anybody help

Very urgency ...

Thanks in advance
Dimo
Telerik team
 answered on 26 Dec 2008
0 answers
105 views
I have noticed that there are couple of ways through which we can increase the performance of the page.

1. This method is that we have noticed that the .axd files for each page are set for content expiration by Telerik itself, this is set for 1 year. So this will be downloaded again only when the page is requested for the first time.

2. This is manual method in which we can set the property EnableEmbeddedScripts="false", this will not load the JavaScript files from the assembly. The script reference will be needed for each JavaScript through the Script Manager for each controls. I tried this and it still loads one axd file of 119kb however we can explicity set the content expirtaion of the enitre script folder through IIS manager.

I see that the second method is beneficial because over the years I have noticed that setting the content expiration of JavaScript files works, however I am not sure how efficiently it works for the .axd files. Also, there are few JavaScript related to controls which are common for every controls like Core.js, Animation.js etc. The first method downloads the one axd file for each page, however if the second method is followed than the JavaScript file will be downloaded only once per control across the pages.

Would anyone know if it is beneficial to use the first option or the second option to increase the performance of the page?

Nikesh
Top achievements
Rank 1
 asked on 25 Dec 2008
9 answers
301 views
Is it possible to have no restriction on the number of items per day in the MonthView. Right now you have to set it to a number and it will create more space for the additional items but I would like this to be a dynamic process so I dont have to limit the number of items per day using the MonthVisibleAppointmentsPerDay.

thanks,

chad
Nina
Top achievements
Rank 1
 answered on 24 Dec 2008
3 answers
144 views
I have been trying to work with the Telerik controls.  I include the RadScriptManager at the top of every page and the page will run, but it is not combining the resource files.  I am using a tool to see the requests to the server and that is how I determined that the pages are not combining.

When I include the script I do it as shown here:

 <telerik:RadScriptManager ID="rscmScriptManager" runat="server"></telerik:RadScriptManager>

Then I add the reference to the Web.config file as shown here:

 

<

 

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

Please help me to figure out what I have done wrong.  I have searched quite a bit for articles online, with no success.

Regards,
Cynthia

 

 

 

 

 

 

 

 

 

Dimo
Telerik team
 answered on 24 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?