Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
119 views
Hello,

I am going to customize the Scheduler control and following below example.
http://www.telerik.com/help/aspnet-ajax/schedule_advancedformtemplate.html

I have added a new text box in the  AdvancedEditTemplate and needs to get the value in the text box from the .aspx page where the Scheduler control is added. Is there any example to do this? Appreciate your help on this.

Thanks,
Sudesh
Peter
Telerik team
 answered on 30 Mar 2009
3 answers
227 views
I am in the process of developing an app that uses URL Rewriting and I just came up against a small issue where as the RadEditor registers the Telerik.Web.UI.DialogHandler as an ASPX.  The problems comes with the fact that I am rewriting *.aspx to go to Default.aspx?slug=*

I would simply like to suggest that the DialogHandler be registered as an axd by default (This would save from having to set the DialogHandler property in every instance of the RadEditor)
Tervel
Telerik team
 answered on 30 Mar 2009
2 answers
115 views

Hi,
I asked before about how to add an image button to the "GroupSplitterColumn" header, and you advised me and send me the way to do that and it  was a great help, the solution was as follows :

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) 
    {  
        if (e.Item is GridHeaderItem) 
        { 
            GridHeaderItem header = (GridHeaderItem)e.Item; 
            ImageButton imgbtn = new ImageButton(); 
            imgbtn.ID = "btnExpndAll"; 
            imgbtn.ImageUrl = "~/Images/Image1.gif"; 
            imgbtn.Click += new ImageClickEventHandler(imgbtn_Click); 
            header["column"].Controls.Add(imgbtn); 
        }  
    } 
    void imgbtn_Click(object sender, ImageClickEventArgs e) 
    { 
        RadGrid1.MasterTableView.GroupsDefaultExpanded = !RadGrid1.MasterTableView.GroupsDefaultExpanded; 
        RadGrid1.MasterTableView.Rebind(); 
    } 

the Uniquename of the "GroupSplitterColumn" as you use above is ["column"], the problem is I am using now a hierarchy Grid and I add the above statement to my "GroupSplitterColumn" but what happened is when another collapse column appear for my DetailTables an exception start to appear to me, The Exception is :-

Sys.WebForms.PageRequestManagerServerErrorException; Cannot find a cell bound to column name 'column'

and when I remove the above statement this error stop appear, so what happened !!! is there any conflict betwen the "GroupSplitterColumn" and the new DetailTables collapse  column, or I should use another Uniquename ??

Please help ...

Thanks

Ban

 

Ban
Top achievements
Rank 1
 answered on 30 Mar 2009
1 answer
99 views

 

<radCln:RadCalendar ID="RadCalendar1" runat="server" Font-Names="Arial,Verdana,Tahoma"

 

 

ForeColor="Black" Skin="WebBlue" MultiViewColumns="4" MultiViewRows="3"

 

 

CultureID="2057" CultureInfo="English (United Kingdom)"

 

 

SelectedDate="" AutoPostBack = "true" >

 

 

<WeekendDayStyle ForeColor="#CCCCCC" />

 

 

<CalendarTableStyle BorderStyle="Solid" BorderWidth="4px" />

 

 

</radCln:RadCalendar>

when I run this calendar, it runs fine except that there is a very slow full page postback when a date is selected. Am I doing anything wrong/is there something I can change in this setup or is the postback just something I have to live with.
Thanks in advance

 

Princy
Top achievements
Rank 2
 answered on 30 Mar 2009
1 answer
146 views
Hello...

I am using the RadEditor provider for Dotnetnuke... I installed the RadEditorProvider... selected it as the default editor for DNN.

Question:

Is it possible to setup the viewpath, uploadpath for the image manager via the web.config? I am using it in Active forums... and I would like to have a default location where all of our users can upload images.. create directories.. etc.. the only thing I want to disable is the ability to delete.

Is this possible?

This is what I have:

Web.config:

       <add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" EditModes="Design,HTML" ToolsFile="~/DesktopModules/TelerikWebUI/CNdefault.xml" DialogHandlerUrl="~/DesktopModules/TelerikWebUI/RadEditorProvider/Telerik.Web.UI.DialogHandler.aspx" ContentAreaCssFile="~/DesktopModules/TelerikWebUI/Custom.css" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" ImagesPaths="~/images/ForumImages/" UploadImagesPaths="~/images/ForumImages/" DeleteImagesPaths="~/images/ForumImages/" MaxImageSize="512000" /> 




TollsFile (CNdefault.xml)

<?xml version="1.0" encoding="utf-8" ?> 
<root> 
    <modules> 
        <module name="RadEditorStatistics" dockingZone="Bottom"/> 
    </modules> 
    <tools name="MainToolbar"
        <tool name="Print" shortcut="CTRL+P"/> 
        <tool name="FindAndReplace" shortcut="CTRL+F"/> 
        <tool separator="true"/> 
        <tool name="Undo" shortcut="CTRL+Z"/> 
        <tool name="Redo" shortcut="CTRL+Y"/> 
    </tools> 
    <tools name="InsertToolbar" > 
        <tool separator="true"/> 
        <tool name="ImageManager" shortcut="CTRL+G"/> 
        <tool name="LinkManager" shortcut="CTRL+K"/> 
        <tool name="Unlink" shortcut="CTRL+SHIFT+K"/> 
    </tools> 
     
    <tools> 
        <tool name="InsertGroupbox" /> 
        <tool name="InsertHorizontalRule" /> 
    </tools> 
     
    <tools> 
        <tool name="FormatBlock"/> 
        <tool name="FontName" shortcut="CTRL+SHIFT+F"/> 
        <tool name="RealFontSize" shortcut="CTRL+SHIFT+P"/> 
    </tools> 
 
    <tools> 
        <tool name="Bold" shortcut="CTRL+B"/> 
        <tool name="Italic" shortcut="CTRL+I"/> 
        <tool name="Underline" shortcut="CTRL+U"/> 
        <tool name="StrikeThrough" /> 
        <tool separator="true"/> 
        <tool name="JustifyLeft" /> 
        <tool name="JustifyCenter" /> 
        <tool name="JustifyRight" /> 
        <tool name="JustifyFull" /> 
        <tool name="JustifyNone" /> 
        <tool separator="true"/> 
        <tool name="Indent" /> 
        <tool name="Outdent" /> 
        <tool separator="true"/> 
        <tool name="InsertOrderedList" /> 
        <tool name="InsertUnorderedList" /> 
    </tools> 
     
    <tools> 
        <tool name="ForeColor"/> 
        <tool name="BackColor"/> 
        <tool name="ApplyClass"/> 
        <tool name="FormatStripper"/> 
    </tools> 
 
    <tools name="DropdownToolbar" > 
        <tool name="InsertSymbol"/> 
        <tool name="InsertTable"/> 
        <tool name="InsertCustomLink" shortcut="CTRL+ALT+K"/> 
    </tools> 
</root> 

With the configuration above... the Image Manager does not even show up... However, if I remove the ImagesPaths, UploadImagesPaths, DeleteImagesPaths, and MaxImageSize from the web.config file... the Image Manager will show up... but its viewpaths are set to the root folder of dotnetnuke.

I have verified that the folders exist in the path indicated... and the folder has full permissions for the NETWORK SERVICE account.

Thanks!
Mike


Lini
Telerik team
 answered on 30 Mar 2009
1 answer
62 views

I have a RadDock image gallery and I drag and drop into a RadDockZone this  images, the same time I want  to make clones for these Images. Is this possible?

Petio Petkov
Telerik team
 answered on 30 Mar 2009
1 answer
157 views
Hello,
I am showing a tool tip for editor control. I set the position as BottomCenter .
If there is lot of text in the target control, the tool tip is coming on the top of target control and covering the content (like position= center).

How to set the location of tool tip to show at the bottom of control.

Any help on this is really appreciated!!!

Thanks,
Durga

Tervel
Telerik team
 answered on 30 Mar 2009
2 answers
170 views
I'm having trouble figuring out what may be causing a formatting issue when exporting to excel with a Master and Detail table and hoped someone might have some ideas.  Basically, when I export to excel My first master table column ends up being merged across 3 cells in excel and my detail table columns (which are the same width, title and so on).  The results look like below where Budget Center Code for the master is 3 cells merged and only 1 cell for the detail table.

Budget Center Code Budget Center Description Budget Center Manager
S24310 IT - App Project Del  
Budget Center Code Budget Center Description Budget Center Manager Annual Outlook Annual Budget
1234 Budget Center A   0 0
S23100 IT Administration  
Budget Center Code Budget Center Description Budget Center Manager Annual Outlook Annual Budget
5678 Budget Center B   0 0
Bo
Top achievements
Rank 2
 answered on 30 Mar 2009
1 answer
149 views
I want to have 2 separate RadUploads on one page where each Ra Upload is associated to a RadProgessArea as shown below.  My question is how can you control which progress area to show when you have to obtain RadProgressContext.Current?   How can I obtain the RadProgressContext of the RadProgressArea1 instead of both RadProgressArea1 and RadProgressArea2?

<rad:radupload id="Radupload1" runat="server" skin="Web20" MaxFileInputsCount="1" initialfileinputscount="1" />
                    <asp:button id="buttonSubmit" runat="server" text="Submit" onclick="buttonSubmit_Click" cssclass="RadUploadButton" />
                   
                    <rad:radprogressmanager id="Radprogressmanager1" runat="server" />
                    <rad:radprogressarea id="RadProgressArea1" runat="server"></rad:radprogressarea>

rad:radupload id="Radupload2" runat="server" skin="Web20" MaxFileInputsCount="10" initialfileinputscount="2" />
                    <asp:button id="button1" runat="server" text="Submit" onclick="buttonSubmit2_Click" cssclass="RadUploadButton" />
                   
                    <rad:radprogressmanager id="Radprogressmanager2" runat="server" />
                    <rad:radprogressarea id="RadProgressArea2" runat="server"></rad:radprogressarea>

/////
const int total = 100;

            RadProgressContext progress = RadProgressContext.Current;  <--- How do I only obtain the RadProgressArea1 instead of both???

            for (int i = 0; i < total; i++)
            {
                progress.PrimaryTotal = 1;
                progress.PrimaryValue = 1;
                progress.PrimaryPercent = 100;

                progress.SecondaryTotal = total;
                progress.SecondaryValue = i;
                progress.SecondaryPercent = i;

                progress.CurrentOperationText = file.GetName() + " is being processed...";

                if (!Response.IsClientConnected)
                {
                    //Cancel button was clicked or the browser was closed, so stop processing
                    break;
                }




Veselin Vasilev
Telerik team
 answered on 30 Mar 2009
1 answer
100 views
Hello;

I am using the color picker in a rad grid.  We are also using the color picker in other parts of the application, but in those instances the format is perfect.

In the radGrid, the color picker is showing some colors onto the next line.  Why is this?  Can anything be done about this?
Tsvetie
Telerik team
 answered on 30 Mar 2009
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?