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

Hi there,

I'm currently using a Radmenu in a RadAjaxPanel. On a Itemclick in the radmenu i clear the multipage and add a new one based on the value of the radmenuitem, the radmenu however stays expanded after the refresh. If i remove the above RadAjaxPanel the radmenu doesn't stay expanded, with the radajaxpanel it does. How can I solve this?

Kind Regards,

 

Nencho
Telerik team
 answered on 18 Nov 2015
8 answers
266 views

Using the latest SP of 2015.2.

I have a Hierarchy RadGrid with the following options set:

HierarchyLoadMode="Client"

and 

<ClientEvent​s OnRowClick="expandCollapseRow" />

Then in Javascript:

function expandCollapseRow(sender, args)

{     

var item = args.get_item();     

item.set_expanded(!item.get_expanded());

}

This works great - but if I don't click on the Expand/Collapse Icon directly - the icon does not change.  I think this may be a bug with set_expanded()

Bernie
Top achievements
Rank 1
 answered on 18 Nov 2015
1 answer
164 views

Hello everyone, drag and drop is not working on Internet Explorer 11, but it's working on Chrome 46.

On a aspx page, with 3 rad async upload controls, when I drag and drop the image, Explorer just show the image.

The online demo works on IE11 but I believe it's using a Telerik newer version.

http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultvb.aspx?show-source=true​

I'm using the Telerik Version Q2 2013 SP1.

 Thanks in advanced.

Pavlina
Telerik team
 answered on 18 Nov 2015
2 answers
151 views

Hello Telerik-Team,

i have a RadLightBox with a ItemTemplate and a RadGrid with an asp:LinkButton, where i open the lightbox.

Open the Lightbox is without any problems. I can change â€‹the Textbox Value in the RadLightBox Itemtemplate in PreRender. 

But the problem is, in the first call is the Textbox in RadLightbox always empty. The calls after are working without any problems. 

Any Ideas?

Thanks,

Nick

    function ShowBox(recordId) {
        $get('<%= HiddenField1.ClientID %>').value = recordId;
        var lightBox1 = $find('<%= RadLightBox1.ClientID %>');
        lightBox1.show();
}

 

<telerik:GridTemplateColumn HeaderText="<%$ Resources:Details %>" UniqueName="Details">
        <ItemTemplate>
                <asp:LinkButton ID="lnkEdit" runat="server" Text="<%$ Resources:Details %>" ></asp:LinkButton>
           </ItemTemplate>
</telerik:GridTemplateColumn>

 

<telerik:RadLightBox ID="RadLightBox1" runat="server" Width="1000px" Height="720px"
    Modal="true" ZIndex="100000">
    <ClientSettings>
        <AnimationSettings HideAnimation="Resize" NextAnimation="Fade"
            PrevAnimation="Fade" ShowAnimation="Resize" />
    </ClientSettings>
    <Items>
        <telerik:RadLightBoxItem>
            <ItemTemplate>
                <telerik:RadTextBox runat="server" ID="LightBoxNotice" Label="Notlar: "
                    text="" Width="800px" Height="300px" EnableViewState="false"
                    OnInit="LightBoxNotice_Init"
                    OnPreRender="LightBoxNotice_PreRender" TextMode="MultiLine"></telerik:RadTextBox>
            </ItemTemplate>
        </telerik:RadLightBoxItem>
    </Items>
</telerik:RadLightBox>

Kostadin
Telerik team
 answered on 18 Nov 2015
2 answers
131 views

Hello,

 

I have GridColumnGroup and need on mouseover in label(1,2,3) of Item of GridColumnGroup, show Tooltip with one description,

how i do this???

 

<telerik:RadGrid ID="gridTab4_2015" runat="server" AutoGenerateColumns="False" EnableTheming="False" AllowSorting="true" OnItemDataBound="gridTab4_2015_ItemDataBound" Skin="Silk" DataSourceID="odsTab4" ShowFooter="True">
                                    <MasterTableView DataSourceID="odsTab4">
                                        <ColumnGroups>
                                            <telerik:GridColumnGroup Name="CorpoDocente" HeaderText="Corpo Docente" HeaderStyle-HorizontalAlign="Center" >
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </telerik:GridColumnGroup>
                                        </ColumnGroups>
                                        <Columns>
                                            <telerik:GridBoundColumn HeaderText="Pos." DataField="nu_posicao">
                                                <ColumnValidationSettings>
                                                    <ModelErrorMessage Text="" />
                                                </ColumnValidationSettings>
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="1" DataField="nu_media_ponderada_Q1" HeaderStyle-HorizontalAlign="Center" ColumnGroupName="CorpoDocente">
                                                <ColumnValidationSettings>
                                                    <ModelErrorMessage Text="" />
                                                </ColumnValidationSettings>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="2" DataField="nu_media_ponderada_Q2" HeaderStyle-HorizontalAlign="Center" ColumnGroupName="CorpoDocente">
                                                <ColumnValidationSettings>
                                                    <ModelErrorMessage Text="" />
                                                </ColumnValidationSettings>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="3" DataField="nu_media_ponderada_Q3" HeaderStyle-HorizontalAlign="Center" ColumnGroupName="CorpoDocente">
                                                <ColumnValidationSettings>
                                                    <ModelErrorMessage Text="" />
                                                </ColumnValidationSettings>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </telerik:GridBoundColumn>
                                           
                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid>​

Eyup
Telerik team
 answered on 18 Nov 2015
1 answer
131 views

Hi

 

  I have a RadGrid in batch edit mode. I have a button for clearing (not deleting) the row.

When the button is pressed I clear the row in the DataTable and rebind. However I want

to mark some changed flag in the grid so the BatchEditCommand event is fired on save.

Howw do I do this?

 

Thanks Gary

Viktor Tachev
Telerik team
 answered on 18 Nov 2015
4 answers
454 views

Hello

 I want to keep the rad window in the center of the screen even when the user scrolls the page. Problem is that on a page with scroll when the user scrolls the page the window is not moving with the scroll.

Here is my code

script type="text/javascript">
        function mb_wysiwyg_ReloadParent_OpenRadWindow(url, reloadPageOnClose, width, height) {
            var wysiwyg_oWnd = GetRadWindowManager().open(url, null); // open window with the reuired parameters.
 
            var wysiwyg_WindowWidth = width;
            var wysiwyg_WindowHeight = height;
 
            if (window.screen.availHeight < 920)
                wysiwyg_WindowHeight = window.screen.availHeight - 200;
 
            wysiwyg_oWnd.setSize(wysiwyg_WindowWidth, wysiwyg_WindowHeight);
 
            wysiwyg_oWnd.set_modal(true); // open window in center of screen.
            wysiwyg_oWnd.center();
            //wysiwyg_oWnd.maximize()
 
 
            // add the close event on window close.
            if (reloadPageOnClose) {
                wysiwyg_oWnd.add_close(mb_wysiwyg_RefreshPageOnWindowClose);
            }
 
            return false;
        }
    </script>
 
 <telerik:RadScriptManager ID="mgr" runat="server"></telerik:RadScriptManager>
 
<telerik:RadWindowManager ID="WinManager" runat="server"></telerik:RadWindowManager>
 
  <asp:button ID="Open" runat="server" Text="Open" OnClientClick="mb_wysiwyg_ReloadParent_OpenRadWindow('http://www.google.com',false,500,500); return false;" />
 

 

 

 

 

Roger Hynne
Top achievements
Rank 1
 answered on 18 Nov 2015
1 answer
119 views

I have Web API REST service running, which I can call  (http://localhost/api/Ordes) and it returns JSON formatted list of orders. When this service and WebForm.asxp file are in the same project and I configure client data control (just like I saw it in the samples), i.e. /api/Orders then the grid populates with data. But when I move this service to a different project (which is our production scenario) and then I have to configure it using actual URL (http://localhost/api/Ordes) then the grid does not populate with data. Why?

Both services are identical copies except that one sits in the same project as WebForm.aspx (/api/Orders) and the other one has to be accessed via URL. In both cases services are hit (checked in the debugger) properly but only former populates the data in the grid, other does not.

Assuming that I get this to work (with your help) then, user clicks on a row in the grid then how do I call /api/Order/1 to delete it? I know how to extract the ID from the row (excellent examples here) but how to I call it with the "1" parameter to actually delete it?

I can't attach sample project. I can upload it to a share if you have one available.

 

Konstantin Dikov
Telerik team
 answered on 18 Nov 2015
5 answers
461 views
Hi,
I want to use radeditor like textarea.How can i remove all the toolbars in design mode?Can you help me please?
Thanks,
Vessy
Telerik team
 answered on 18 Nov 2015
3 answers
297 views

Greetings,

 

I have a radwizard with the default cancel button shown.  The issue that I am seeing is when someone hits the cancel button, it is firing the validation for this wizard step.  Is there any way I can set the CausesValidation = false on the cancel button?  Thanks for any help.

Ivan Danchev
Telerik team
 answered on 18 Nov 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?