Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
69 views
I should create a button into a user control that performs a refresh a RadGrid and a FormView .

this is the structure of website:

Structure.png

how can I set the best AjaxSettings to set the button imbRefresh to update objects outside the user control?
Maria Ilieva
Telerik team
 answered on 30 Nov 2010
1 answer
57 views
Hi,

I have the below controls in my page. (Main Page)
1. Webuser control (Contains a radtreeview with radmenu)
2. Radgrid
3. Button

Functionality:
Onclicking button I am opening a Showmodaldialog window. On this window I will add new record and I need to update my Webusercontrol and Radgrid from the main page. But its not updating the usercontrol.

Please refer the below code what I have in my main page:

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnAddNewFolder" EventName="Click">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="ucDocumentConsole" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="btnAddNewDocument" EventName="Click">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="ucDocumentConsole" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="ucDocumentSpace" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="ucDocumentConsole">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="grdDocumentManager" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

Please let me know how can I update the usercontrol after the showmodalwindow closed.

Thanks in advance.

Regards,
Babu R
Pavlina
Telerik team
 answered on 30 Nov 2010
9 answers
422 views
Hello,

I'm attempting to find a solution for updating a RadGrid's filter when the user right clicks a grid cell and selects a filter option.  For example, if the user right clicks the column "First Name", a context menu will appear with a list of valid filter options.  Once a filter option has been selected, the filter text box will be filled with the value of the right-clicked cell and the selected filter will be applied. 

I have done several searches and have not seen any examples similar to this.  Are there any samples that exist with this type of functionality?  Is this possible with the RadGrid?  I have a few potential ideas for a work around, but I wanted to see if this was possible.

Thanks,
Jerry
amonte
Top achievements
Rank 1
 answered on 30 Nov 2010
4 answers
388 views

In my grid, I have EditMode="PopUp" and EditFormType="Template". Works great, but I'd like to call a javascript function after the popup has saved/close and rebound/refreshed the grid with the new or edited row. Ideally, I'd like to assign it programmatically like I do with window popups via the add_close event method, but I'll take what I can get. Is there a way to do this?
Jeremy Yoder
Top achievements
Rank 1
 answered on 30 Nov 2010
3 answers
131 views
Hi,

I have an appointment that when viewed by the appintment object has an ID of 30563_2. I can see the RecurrenceParentID is 30563. In the database, the children for this parent have the following ID's:

90023
90024
90029
90030
90034

Is there a way to quickly determine the actual ID of 30563_2?

Thanks,

Brian
Veronica
Telerik team
 answered on 30 Nov 2010
1 answer
171 views
On this page it says you can attach events such as

http://www.telerik.com/help/aspnet-ajax/editor_attacheventhandler.html

Is there an actual definitive list of events? I can't find one anywhere on the site or on google.

I'm hoping to use a textchanged event on my editor. At the moment I am using onkeydown but it's possible to change text by highlighting it and pressing a button such as bold.

This is so I can check if the user has unsaved changes before navigating away from the page.
Dobromir
Telerik team
 answered on 30 Nov 2010
1 answer
270 views
I'm trying out the scheduler control and it's working great. The tutorials, videos and articles on this site helped enormously.

I have a web page with 2 columns. In one column is a Scheduler (that's always in month view) and in the other is a Repeater with a Label inside. Because some months have more weeks than others I need a way of counting how many weeks the Scheduler is displaying so that the Repeater repeats the right amount of times - if the Scheduler has 5 weeks in its month, the Repeater should repeat 5 times; if the Scheduler has 6 weeks, the Repeater should repeat 6 times.

Is there a way of counting how many weeks are currently in the Scheduler's month (or what the current month view's start and end dates are so that I can work out the weeks that way)?

Also, the scheduler's Subject field contains an integer value. For each week I'd like to mathematically add up the totals of each Subject and display the grand weekly total in the Repeater's Label. How do I do this?

Hope somebody can help!
Veronica
Telerik team
 answered on 30 Nov 2010
2 answers
72 views
Hi All,

I'm using RadScheduler with WebService Biding.

I want to synchronize Start Date & End Date in the Advanced Form for example if we are selecting date from StartDate DatePicker then the same date should be selected in the EndDate DatePicker and back n forth.

I've tried OnDateSelected event but it's not working because it fires every time when we use set_selectedDate()

If any one of u have faced such kind of scenario or wanna give some suggestions please go ahead.

Waiting for reply,
Thanks in advance...
Abhi
Top achievements
Rank 1
 answered on 30 Nov 2010
1 answer
146 views
Hi

I've got some problem with context menu.

I defined my radeditor in a ContentPage.skin file like this : 

 

<rad:radeditor runat="server" SkinId="Editor"  Width="100%"  StripFormattingOptions="MSWordRemoveAll,Font,Css,Span" NewLineBr="true">
 <ImageManager ViewPaths="~/FilesDB/Emailing" UploadPaths="~/FilesDB/Emailing" DeletePaths="~/FilesDB/Emailing" EnableImageEditor="true" EnableThumbnailLinking="false" />
     <FontNames>
       <rad:EditorFont Value="Trebuchet MS" />   
   </FontNames>
          <Tools>
     <rad:EditorToolGroup Tag="MainToolbar">
         <rad:EditorTool  name="AjaxSpellCheck"/>
         <rad:EditorTool  name="FindAndReplace" shortcut="CTRL+F"/>
         <rad:EditorTool  name="Copy" shortcut="CTRL+C"/>
         <rad:EditorTool  name="Paste" shortcut="CTRL+V"/>
         <rad:EditorTool  name="PasteFromWord" />
         <rad:EditorTool  name="PasteFromWordNoFontsNoSizes" />
         <rad:EditorTool  name="PastePlainText" />
         <rad:EditorTool  name="PasteAsHtml"  />
         <rad:EditorSeparator/>
         <rad:EditorTool  name="Undo" shortcut="CTRL+Z"/>
         <rad:EditorTool  name="Redo" shortcut="CTRL+Y"/>
         <rad:EditorTool  name="ImageManager" shortcut="CTRL+G"/>
         <rad:EditorTool  name="ImageMapDialog"/>
         <rad:EditorTool  name="LinkManager" shortcut="CTRL+K"/>
         <rad:EditorTool  name="Unlink" shortcut="CTRL+SHIFT+K"/>
    </rad:EditorToolGroup>
    <rad:EditorToolGroup>
         <rad:EditorTool  name="Bold" shortcut="CTRL+B"/>
         <rad:EditorTool  name="Italic" shortcut="CTRL+I"/>
         <rad:EditorTool  name="Underline" shortcut="CTRL+U"/>
         <rad:EditorTool  name="StrikeThrough" />
          <rad:EditorSeparator/>
         <rad:EditorTool  name="JustifyLeft" />
         <rad:EditorTool  name="JustifyCenter" />
         <rad:EditorTool  name="JustifyRight" />
         <rad:EditorTool  name="JustifyFull" />
         <rad:EditorTool  name="JustifyNone" />
        <rad:EditorSeparator/>
         <rad:EditorTool  name="Indent" />
         <rad:EditorTool  name="Outdent" />
         <rad:EditorSeparator/>
         <rad:EditorTool  name="InsertOrderedList" />
         <rad:EditorTool  name="InsertUnorderedList" />
         <rad:EditorTool  name="ConvertToLower" />
         <rad:EditorTool  name="ConvertToUpper" />
         <rad:EditorSeparator/>
         <rad:EditorTool  name="InsertTable" />
         <rad:EditorTool  name="InsertSymbol" />
    </rad:EditorToolGroup>
    <rad:EditorToolGroup Tag="DropdownToolbar">
         <rad:EditorTool  name="FormatBlock"/>
         <rad:EditorTool  name="FontName"/>
         <rad:EditorTool  name="RealFontSize"/>
         <rad:EditorSeparator/>
         <rad:EditorTool  name="ForeColor"/>
         <rad:EditorTool  name="BackColor"/>
    </rad:EditorToolGroup>       
    </Tools>   
     <Modules>        
        <rad:EditorModule Name="RadEditorStatistics" Enabled="true" />
    </Modules>      
    <Languages>
        <rad:SpellCheckerLanguage Code="en-US" Title="Anglais"/>
        <rad:SpellCheckerLanguage Code="fr-FR" Title="Français"/>
    </Languages>    
     <CssFiles>
        <rad:EditorCssFile Value="~/RadEditor.css" />
    </CssFiles>
   </rad:radeditor>

If i put a radeditor with this skin in a form, the context menu doesn't appear anymore and if I add
a <contextmenu> tag 
<ContextMenus>
<telerik:EditorContextMenu Enabled="true" />
</ContextMenus>
in my skin file, the context menu appears but is always empty

If I remove the <tools> part, the context menu reappears.
I don't understand why.

Do I miss something ?

My telerik radeditor version is v4.0.30319

Thank you for your help

Dobromir
Telerik team
 answered on 30 Nov 2010
3 answers
63 views
Greetings,

I got 2 problems with my telerik controls. the first one is that filtering doesn't work in my radgrids. I'm using several radgrids on my websites on different page under the same masterpage this is the error I get when i try to filter:

The other problem i have is that the filemanger function in my radeditor doesn't work.
I have added:
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
to the web.config and i defined the filepaths as you can see below:
<telerik:RadEditor ID="txtWhoAreWe" ShowSubmitCancelButtons="false"
        runat="server" AllowCustomColors="true">
        <ImageManager ViewPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" UploadPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old"
            DeletePaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" />
        <MediaManager ViewPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" UploadPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old"
            DeletePaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" />
        <FlashManager ViewPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" UploadPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old"
            DeletePaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" />
        <TemplateManager ViewPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" UploadPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old"
            DeletePaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" />
        <DocumentManager ViewPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" UploadPaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old"
            DeletePaths="~/_upload/RadFiles/New,~/_upload/RadFiles/Old" />
    </telerik:RadEditor>
Yet the filemanager doesn't work whenn i open one of the filemanager all buttons are are disabled and all i can do is close it.

I hope you can help me.
develop about:blank
Top achievements
Rank 1
 answered on 30 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?