Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
263 views
Will you be adding a click event like the RadCharts have in the near future?
Marin Bratanov
Telerik team
 answered on 26 Apr 2013
1 answer
120 views
How can I do to upload a image to this forum? I have some doubts and to show my doubts with a image.
Paulo
Top achievements
Rank 1
 answered on 26 Apr 2013
0 answers
49 views
How can I do a chart with on xaxis Name and Date, with four series with StackedBar? 

Attached a example.
Paulo
Top achievements
Rank 1
 asked on 26 Apr 2013
2 answers
658 views
In the GridView paging control, currently when you are on the last page, the buttons for "next page" and "last page" still appear, and still look active. The same goes for previous/first page buttons on the first page, and all the buttons when viewing fewer items than the current page size so that there's only 1 page total.

This has caused some confusion to our users, who think that something is not working right because they can still push the "next page" button, but it doesn't do anything. Is there a way that these buttons can be hidden, or at least noticeably disabled?

I know that there's the option to hide the pager control when there is only 1 page anyway, but that's no good because then the user cannot change the current page size, as it hides the page size dropdown as well.

Is there a chance that this will be fixed / updated in a future version?
Robert
Top achievements
Rank 1
 answered on 26 Apr 2013
2 answers
383 views
Hi,

I have a radgrid using the the GridClientSelectColumn with AllowMultiRowSelection = true. The table is rendered with a checkbox in the header to allow a user to select/deselect all rows with one click.

I've wired up the grid using OnRowSelected/OnRowDeselected, so that any selection changes cause some code to run where I do some summarization calculations for display.

This works great, when the user is manually checking/unchecking a row themselves, but in a scenario I'm testing I have 100 rows, and the user clicks the Select all checkbox. This causes the grid to trigger the OnRowSelected event 100 times, which is taking too much time (and I get a slow script error in IE 8).

Is there any easy way to detect when the Select All checkbox is checked or unchecked, and handle this appropriately, so that my summarization code is only called once, not on every OnRowSelected/OnRowDeselected which is triggered?

If not, I may have to hide the original select all checkbox, and recreate this functionality myself, but I'd rather not.

Someone else had this same sort of issue here: http://www.telerik.com/community/forums/aspnet-ajax/grid/detect-final-onrowselected-and-onrowdeselected.aspx

but the solution doesn't work for me, as I need to do the summary on every row select/deselect...

Thanks,
Rich

Kostadin
Telerik team
 answered on 26 Apr 2013
1 answer
202 views
I would Like to popup a window after I click some button and it works.

But After I click the Maximize on the window and click the Restore, it change to Normal but It still loading.....the mouse does not return to normal.

I do not know why... Anybody knows I will appreciate it.


<telerik:RadWindowManager ID="RadWindowManager1" VisibleStatusbar="false" runat="server" Skin="Office2007" EnableShadow="true" Modal="true">
<windows>
<telerik:RadWindow ID="MapBBSPopup" runat="server" DestroyOnClose="false" 
            Height="370px" Width="400px" Left="150px"
            Behaviors="Default" OnClientClose="MapBBSPopupClose" Modal="true"/>
</windows>
</telerik:RadWindowManager>
Marin Bratanov
Telerik team
 answered on 26 Apr 2013
4 answers
223 views
Hello,

I was wondering if someone could direct me to sample code on creating a Radgrid through JavaScript on the client.

I am creating a Multipage view on the client and I want to add a RadGrid in the PageView.

My javascript for the page view is:
var pageView = new Telerik.Web.UI.RadPageView();
 mymultiPage.get_pageViews().add(pageView);
pageView.get_element().
innerHTML = function to create RadGrid(); 

I would be trying to fire the RenderControl method of the RadGrid to get the Html which will go into the innerHTML of the page view.

Thanks
Dan Cao
Top achievements
Rank 1
 answered on 26 Apr 2013
3 answers
179 views
Hi,

I have my code shown like below:



<

 

 

telerik:RadScriptManager ID="RadScriptManager" runat="server">

 

</telerik:RadScriptManager>

 

<radW:RadWindowManager ID="RadWindowManagerDefineView" runat="server" RadControlsDir="~/Includes/RadControls"

 

Skin="Office2007" ClientCallBackFunction="CallBackFunction">

 

<Windows>

 

<radW:RadWindow ID="RadWindowDefineView" ReloadOnShow="true" Top="5px" Modal="true"

 

Behavior="Close" runat="server" NavigateUrl="ModifyFilters.aspx"

 

RadControlsDir="~/Includes/RadControls" Width="560px" Height="582px"></radW:RadWindow>

 

</Windows>

 

</radW:RadWindowManager>

<
asp:UpdatePanel ID="testPanel" runat="server">
<ContentTemplate>
<div id="divHeader">
    <center>
        <table style="width: 95%">
            <tr>
                <td>
                    Age:
                </td>
                <td>
                    <cc2:Filter ID="msAccountWasAge" runat="server" ListSize="8" PromptClass="FilterLabel"
                        ImageClass="MSDDImg" ImagePath="../../Images/pullDown.JPG" ListBoxClass="MSDDListBox"
                        TextBoxClass="MSDDTextBox" ZIndex="300" />
                </td>
                <td>
                    Country:
                </td>
                <td>
                    <cc2:Filter ID="msCountry" runat="server" ListSize="9" PromptClass="FilterLabel"
                        ImageClass="MSDDImg" ImagePath="../../Images/pullDown.JPG" ListBoxClass="MSDDListBoxCompare"
                        TextBoxClass="MSDDTextBoxCompare" ZIndex="300" />
                </td>
                <td>
                    <asp:ImageButton ID="ImageButtonRefresh" Height="25px" Style="float: left" OnClientClick="displayWaitAndSetPanel();"
                        Width="25px" runat="server" ImageUrl="../../Images/Refresh.png" />
                    <asp:ImageButton ID="ImageButtonExportExcel" runat="server" Height="25px" Width="25px"
                        ImageAlign="Left" ImageUrl="../../Images/excel.jpg" Style="float: left" AlternateText="Export to Excel">
                    </asp:ImageButton>
            </td>
            </tr>
            <tr>
                <td colspan="6">
                </td>
            </tr>
        </table>
    </center>
</div></ContentTemplate>
</asp:UpdatePanel>
<asp:Button ID="btnAddPanel" runat="server" CssClass="btnSmall" Text="Add Panel" />
<asp:Label ID="lblShowWarning" runat="server" Visible="false" ForeColor="Red"></asp:Label>
<asp:Panel ID="pnlLayout" runat="server" Width="100%" Height="400px">
    <telerik:RadDockLayout ID="RadDockLayout" runat="server" Skin="Office2007" StoreLayoutInViewState="true">
        <telerik:RadDockZone ID="RadDockZone" Width="400px" Height="200px" MinWidth="800px"
            runat="server" Orientation="Horizontal">
        </telerik:RadDockZone>
    </telerik:RadDockLayout>
</asp:Panel>

Where filter is a custom multiselect dropdown control.
When a user clicks on refresh button a custom panel with a grid/RadDock is added to the RadDockZone, this grid has a button which opens a popup using javascript given below:

function ShowModifyFilters(ID) {
            var oManager = GetRadWindowManager();
            var oWnd = oManager.GetWindowByName("RadWindowDefineView");
            oWnd.argument = ID;
 
            if (WindowUrl == null)
                WindowUrl = oWnd.GetUrl();
 
            oWnd.SetUrl(WindowUrl + "?SavedPanelID=" + ID);
            oWnd.Show();
            alert(WindowUrl + "?SavedPanelID=" + ID);
        }

Everything works fine until Export to Excel is clicked. Once its clicked the popup is not shown I can see only alert displaying the url. But I'm able to click on refresh button and Add Panel button which opens same popup fine from server-side. I tried adding PorstBackTrigger to UpdatePanel but it didnt work. Can you please help me find whats wrong with the code?
Marin Bratanov
Telerik team
 answered on 26 Apr 2013
1 answer
55 views
Can I safely upgrade to VS2012 and continue to use v2011.2.712 of the Telerik.Web.UI controls we are using in our web app?

Thanks.
Rumen
Telerik team
 answered on 26 Apr 2013
3 answers
143 views
I have a window which is open on my main page.  I'm using a radsplitter.  I am using getActiveWindow and it returns the correct window.  When I call .close() I get the following $telerik is undefined.  I'm using the latest release.  Clicking the actual close button works with no error, but when I trigger close from my code is when the error shows.  The window does actually close though.

I'm using IE 10.
Marin Bratanov
Telerik team
 answered on 26 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?