Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
220 views
Is there a way to disable the expand/collapse button?  I'm trying to get the tree structure and layout but always want the treelist expanded without allowing the user the ability to collapse the children.

Thanks,
Veli
Telerik team
 answered on 01 Jun 2011
1 answer
77 views
Hello,

I am trying to persist grid state behind the scenes without requiring the user to take any action. I have implemented a GridSettingsPersister class and it works perfectly on button click.  I have implemented the ICallbackEventHandler interface to call my server-side persistence method and hooked-up calls from OnColumnHidden, OnColumnShown and OnTableDestroying.

My only issue revolves around persisting column reorder changes - on the server side (with <ClientSettings ReorderColumnsOnClient="true") the OnColumnsReorder event seems to be the in-process event (i.e. OnColumnsReordering) but there doesn't appear to be any corresponding post-process event (i.e. OnColumnsReordered) - the client side (<ClientSettings ReorderColumnsOnClient="false") exposes both events for a move right or left (OnColumnMovingToLeft, OnColumnMovedToLeft, OnColumnMovingToRight, OnColumnMovedToRight) [ Side note: the 'OnColumnMovingTo' methods seem to be misnamed Right should be Left and vice-versa] but the events only fire for the first column exchange so when a column is reordered more than a single spot I can't find any way to get the final position to set the OrderIndex.

I have a small (7.35 MB) sample app if needed.

Thanks for your help.

Regards,

Steve
Tsvetina
Telerik team
 answered on 01 Jun 2011
3 answers
70 views
Is it possible for you to give us the option to render the scriptmanager scripts in the header instead of inside the body?

What I would love is the ability to specify it on a script level...so I could list all my scripts in the manager, but specify that 1&2 show in the header, but 3&4 render at the bottom of the body tag.
Simon
Telerik team
 answered on 01 Jun 2011
1 answer
114 views
I am using the RadFileExplorer and need to combine the default Telerik CSS into one file rather than making 18 different request. I included the RadStyleSheetManager as below.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="file_manager.ascx.cs" Inherits="MyProject.file_manager.file_manager" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" EnableStyleSheetCombine="true" />    
<telerik:RadScriptManager ID="RadScriptManager1" runat="Server" EnableScriptCombine="true" LoadScriptsBeforeUI="false" ScriptMode="Release" />
<telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="520px" Skin="Simple" />

Now, none of the default styles are loading. I cannot include the RadStyleSheetManager tag within my control.

I am using Telerik version 2010.2 929
Simon
Telerik team
 answered on 01 Jun 2011
1 answer
149 views
Hi,

What is the time table for the SAK release? Is there any additional information about what to expect will be included in the release so we can plan for future projects?

It is my understanding that there are some issues that prevent to install SAK web parts as sandbox solutions. When we can expect to have this issue resolved?

Thanks
Sebastian
Telerik team
 answered on 01 Jun 2011
1 answer
113 views
Hi all,

I am passing some data back to AjaxRequest through e.Argument. I pass the data in as an array, it comes out as a comma separated list. Is there any way to maintain my object? I am working with a large set of data and it is confusing to have a huge list of CSVs not associated with any titles. 

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    //TODO: This needs extensive work still.
    Logger.InfoFormat("Received an ajax request. Arguments are: {0}", e.Argument);
 
    string[] arguments = e.Argument.Split(',');
    if (arguments[0] == "Update Local Settings")
    {
        string dockID = arguments[1];
 
        Logger.InfoFormat("Dock ID: {0}", dockID);
        CormantRadDock dock = Utilities.FindControlRecursive(Page, dockID) as CormantRadDock;

etc... would like to do arguments["Command Name"] == "Update Local Settings";
Shinu
Top achievements
Rank 2
 answered on 01 Jun 2011
1 answer
96 views
2 Issues,
1. When I export to a pdf file it does not center the text of my columns under their headings, they are off a bit.  They are centered in the grid but not in the PDf Export.

2. When exporting to a Excel file, there seems to be 3 buttons that export along with the header that they are in, i am assuming its the export buttons I turned on, is there a way to shut this off and only export the actuall data in grid.

Thanks
Princy
Top achievements
Rank 2
 answered on 01 Jun 2011
1 answer
96 views
Hello 
Here's the problem : I have a telerik radscheduler project linked with a database project . In order to update the database when a modification is done on the radscheduler i have decided to override the default on appointmentupdate method .
 protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
    {
        AppointmentInfo ai = FindById(e.ModifiedAppointment.ID);
        ai.CopyInfo(e.ModifiedAppointment);
        try
        {
            Business.DatabaseAccess myAccess = new Business.DatabaseAccess();
            AppointmentSet to_modify = myAccess.getAppointmentByDate(e.ModifiedAppointment.Start);
            myAccess.modifyAppointmentDate(e.ModifiedAppointment.Start, e.ModifiedAppointment.End, to_modify.Id);
        }


        catch
        {
            throw new Exception("unknown problem");
        }


    }

My solution is very close to the binding to generic list example in your site : http://demos.telerik.com/aspnet-ajax/scheduler/examples/bindtolist/defaultcs.aspx.  

This solution seems to work fine but each time i launch the avanced edit template the radscheduler project crashed . Could you explain to me what did i miss ?
Peter
Telerik team
 answered on 01 Jun 2011
1 answer
81 views
Hello. Is it possible to change the loading graphic on the radWindow to a custom graphic. Currently, it displays the windows 7 default loading graphic (the animated circle..).

any help is appreciated.

thanks
Shinu
Top achievements
Rank 2
 answered on 01 Jun 2011
1 answer
63 views
Hello,
I have solution in witch there is on page - default, that contains iframe.
in the iframe i loads pages inherituing from masterpage.
In my masterpage i have radajaxmanager and all postbacks go beyond it.
Now i need radajaxmanager in my default, because it contains except of the iframe also a <table> of menu, and i want to use asp timer, that on every tick will update specific span in one of my <td>.
I have put radajaxmanager in my default, also radscriptmanager, and wrote in page_load the next statement:

DefaultAjaxManager.AjaxSettings.AddAjaxSetting(tmrRefreshTaskTitle, spnMyCommitteeTask);

when writing this line my solution is compiled but cannot run - the page doesnt being drown.
if i remove this line, but give the radajaxmanager stay on page design, there is no error.

Does anybody know what is my problem?

thanks,
gila

Shinu
Top achievements
Rank 2
 answered on 01 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?