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

Hi,

I have the exact similar scenario which is descrbed in the below thread. The solution suggested by Telerik Team in this thread is given below

1) To drop the resizing and reordering features from this grid.
2) To disable the ViewState of the whole placeholder where you load the RadGrid control. In this scenario have in mind that the SqlDataReader binding may not works, as each postback in the page will make the grid try to rebind and if the reader is currently closed, you will get an exception.

Unfortunately I cannot use the above suggestion as my customer is so particular on the ReOrder functionality.

As it an old thread(2011) My query here is there any solution available for this issue in latest Telerik Controls?

Thanks,
A2H
Eyup
Telerik team
 answered on 28 May 2014
1 answer
376 views
Hi,

A couple of months ago I saw one of the menu demos where one if the menu items was a login.  The item had a user id and password inputs along with a submit button.  I now need to code out something like this but I cannot find the demo as it seems to have been replaced with some newer ones.  Anyway can anyone provide a link to the demo if it still exists or some code samples (either C# or VB is fine) of how to accomplish having the login elements in a Rad Menu?

Thanks in advance...

K
Princy
Top achievements
Rank 2
 answered on 28 May 2014
1 answer
143 views
I have all auto generated columns and some field has a validator.
The problem is that the field with the validator are moved on the right to leave space between the header and the text box making the form really ugly.
See picture attached.

Is there a way to move the validator message on the right of the field so that I can avoid to have to build a template?
Thanks,
Felice

Princy
Top achievements
Rank 2
 answered on 28 May 2014
3 answers
224 views
I have grid contains more than 6k records, when i'm selecting pagesize form "ALL" to 10 getting error page (IE Diagnosis error page).
tested it for low number of records which is working fine.

Can plz someone help me on this issue.

Thanks,
Jagadeesh
Princy
Top achievements
Rank 2
 answered on 28 May 2014
2 answers
111 views
Hi Telerik team:

I'm currently using DropDownList with checkboxes on javascript and I found out that method get_checked, that retrieves wether an item is checked or not
does not work on IE.
Exists some fix to use this method on IE? 

Any help would be appreciated.
Thanks.


function doSaveReport(id) {

            if ($("#txtSaveAs").val() == "" && id == "")
                alert("You must specify a name for the report definition");
            else {
            
                      oEmployee = $find("<%= ddlEmployees.ClientID %>").get_items(),
                        
                var ReportData = {                  
                    EmployeeId: []
                }   
           
                for (i = 0; i < oEmployee.get_count(); i++) {
                    item = oEmployee.getItem(i);
                    if (item.get_checked())
                        ReportData.EmployeeId.push(item.get_value());
                }
}

























Shinu
Top achievements
Rank 2
 answered on 28 May 2014
6 answers
847 views
How do we prevent submit button click, if user has selected invalid date.

Currently, I am able to display the error message. But even if the error message is there and user clicks on Submit/Save  I am still able to submit form with invalid date.

While searching in Google, I found one suggestion to achieve this is adding RequiredFieldValidator on page. But this would turn make that field mandatory, which I cannot do.

Thanks.
Princy
Top achievements
Rank 2
 answered on 28 May 2014
5 answers
279 views
Hello,

I need to show a RadWindow through javascript and what I need on there are two dropdown controls that are binded. The first the user will select a company and the second will list contacts for that company that was selected. Can I do this binding update all on the window without any postback or at least keeping the radwindow modal?

Thanks,

Warren
Shinu
Top achievements
Rank 2
 answered on 28 May 2014
4 answers
261 views
Hi,

I'm opening a radwindow from within a radwindow. I want to use some of the client side functionsm like, center(), set_modal(). But when I run it, the webpage throws error says these functions are undefined. I'm using the following code. Also, is there a way to set radwindow skin using client code.

Thanks!

01.function GetRadWindow() {
02.        var oWindow = null; if (window.radWindow)
03.            oWindow = window.radWindow; else if (window.frameElement.radWindow)
04.            oWindow = window.frameElement.radWindow; return oWindow;
05.    }
06. 
07.    function openWinTest() {
08. 
09.        //store the overflow   
10. 
11.        bodyOverflow = document.body.style.overflow;
12. 
13.        htmlOverflow = document.documentElement.style.overflow;
14. 
15.        //hide the overflow   
16. 
17.        document.body.style.overflow = "hidden";
18. 
19.        document.documentElement.style.overflow = "hidden";
20. 
21.        var oBrowserWnd = GetRadWindow().BrowserWindow;
22.       
23. 
24.        var url = "www.google.com"
25. 
26.        oBrowserWnd.radopen(url, "", 1100, 620);
27.        oBrowserWnd.center()
28.        oBrowserWnd.set_modal(true);
29.    }

Tao
Top achievements
Rank 1
 answered on 27 May 2014
1 answer
86 views
I have a RadGrid with the below code:


<telerik:RadGrid ID="CDSRGridView" runat="server" PageSize="15" AllowPaging="True" AllowSorting="True"

                                        AutoGenerateColumns="False" Width="700px" Height="240px">

                                        <HeaderContextMenu EnableImageSprites="True" CssClass="GridContextMenu
GridContextMenu_Vista"></HeaderContextMenu>

                                        <FilterMenu EnableImageSprites="False">

                                        </FilterMenu>

                                        <MasterTableView CommandItemDisplay="Top" DataKeyNames="MyID" TableLayout="Fixed"

                                            HorizontalAlign="NotSet" AutoGenerateColumns="False" EditMode="InPlace" EditItemStyle-VerticalAlign="Top">

                                            <CommandItemSettings ShowExportToExcelButton="true" ShowRefreshButton="False"></CommandItemSettings>

                                            <Columns>

                                                â€¦

                                            </Columns>

 

                                            <EditFormSettings>

                                               
<EditColumn UniqueName="EditCommandColumn1" FilterControlAltText="Filter EditCommandColumn1 column"></EditColumn>

                                            </EditFormSettings>

 

                                            <EditItemStyle VerticalAlign="Top"></EditItemStyle>

                                        </MasterTableView>

                                        <ExportSettings ExportOnlyData="True" FileName="MyExcelFile" Excel-Format="Biff">

                                        </ExportSettings>

                                        <ClientSettings>

                                            <Scrolling AllowScroll="true" UseStaticHeaders="true" />

                                            <Resizing AllowColumnResize="true" EnableRealTimeResize="true" />

                                        </ClientSettings>

                                    </telerik:RadGrid>


But, when I debug and click the Export button, the BiffExporting event does not fire.  So, I put a breakpoint in the GridExporting event, and it shows the ExportType = ExcelML.  Why would the grid change the ExportType when I have it explicitly set to Biff? 
Kathy
Top achievements
Rank 1
 answered on 27 May 2014
5 answers
388 views
Hi ,

We are currently using RadEditor in our project.  We customized the Toolbars by removing some tools. I knew that adding or removing tools will automatically disable the built-in context menus. So I added the context menus manually. It worked fine on text that was directly typed into RadEditor. However, if we copied some text from other files and pasted it into RadEditor, the context menu did not show copy, cut and paste menu items when you right-click on the copy-paste text after highlighting. (Cut, Copy and Paste functions on Toolbars and Key board still work well ). After researching, I have learned that the context menus of RadEditor had some issue with IE8 and the issue could be resolved by installing Telerik 2014 Q1 SP1. We did that today but the problem still remains  (copy, cut and paste didn't show up  on context menu on the text that was copied and pasted into RadEditor). I spend some days try to figure out the reason but failed to get right answer (I remember one or two telerik team member said that issue  related privilege/Security. but can we avoid security checking or bypass this privilege be certain way?) . Could anyone have any suggestion?
Thanks in advance.
Iris
Top achievements
Rank 1
 answered on 27 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?