Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
105 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
105 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
409 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
102 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
405 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
214 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
6 answers
393 views
Hi,

I am using the radtagcloud control, but when I click an item, I want to invoke Javascript (The following):

    function openWin(Url) {
        var oWnd = radopen(Url, "RadWindow4");

        oWnd.moveTo(50, 200);
    }

I currently invoke this code to open radwindows with content, on my site. This is from an ASP.NET button, though (OnClientClick). I need to do the same, via the tagcloud control.

Any ideas how much appreciated!

Thanks
Jack
Top achievements
Rank 2
 answered on 18 Nov 2015
1 answer
73 views

Hi,

I would like to show the Reminders of a RadScheduler but without having a scheduler on the page. So users can have their reminders without being always on the scheduler page.

Do you know if there is a better way than having a hidden scheduler in the page ?

 

Thanks

Nencho
Telerik team
 answered on 18 Nov 2015
1 answer
107 views
Please advise whether it is possible to get a DataKeyName value for the current DataForm page client side?
Eyup
Telerik team
 answered on 18 Nov 2015
15 answers
615 views
Hi I am having some issue when using the option for showing / hiding column via the context menu in the header of a grid.

My grid is made so it fits on the width of the screens we used. We have a column hidden by default. When i decide to show the hidden column, the grid does not resize and instead it is the columns which are resized. I would like instead that the columns stay at the width I already set in my page with the property "HeaderStyle-Width" and that a scrollbar appears at the bottom of my grid. 

Is it possible to do that ?

Thanks

Guillaume
Anoop
Top achievements
Rank 1
 answered on 18 Nov 2015
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
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
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?