Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
158 views

I am using the RadProgressArea;  the cancel button displays but does not work on Safari. Also the TotalProgressPercent indicator does not dispay.

I have the newest version of Rad. I am using Safari 3.0.3 on a Vista Box.

<telerik:RadProgressManager ID="RadProgressManager1" runat="server" /> 
<telerik:RadProgressArea ID="RadProgressArea2" runat="server" DisplayCancelButton="True" ProgressIndicators="TotalProgressBar, TotalProgressPercent, TimeElapsed, TimeEstimated" Skin="Black">  
    <Localization Uploaded="Uploaded" /> 
</telerik:RadProgressArea> 
 
Dimitar Terziev
Telerik team
 answered on 19 Dec 2011
1 answer
643 views
I just tried creating a skin with the Style Builder and it is not including the SPELL.xxx.css file needed. Can we get the Spelling component added?   

The DIALOG css contains an import for the Spell.xxx.css
Bozhidar
Telerik team
 answered on 19 Dec 2011
1 answer
288 views
There is a known problem with maxJsonLength property:

http://support.microsoft.com/kb/981884

However, this hotfix did not work. Maybe because it is for the MS UpdatePanel?

If so, how can this be resolved? This error comes up when grid tries to pull too many rows.

-Stan

Veli
Telerik team
 answered on 19 Dec 2011
1 answer
188 views
I am having problem to display the contents within the form template. I have the following in my rad grid :-

<EditFormSettings EditFormType="Template">
                <FormTemplate>
                    <table id="1" width="100%" border="0" cellpadding="0" cellspacing="10">
                        <tr>
                            <td colspan="3">
                                <span class="des"><asp:Label ID="lblDestination" runat="server" Text='<%# Eval("Destination") %>' /></span>
                            </td>
                        </tr>
..

and I would like to hide the table row based on the DataTable binding. May I know is there any good way of doing this?
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2011
1 answer
169 views
I have a column that displays the date and time the recorded was entered.  I would like to be able to put the date and time in the same column with the date on top and the time underneath.  I would also like to have the end usser sort when they click the header, is this posible?
Thanks.
Princy
Top achievements
Rank 2
 answered on 19 Dec 2011
3 answers
93 views
I have a grid with edit and delete buttons.When I export grid to pdf,edit and delete columns are exported too.Is there a way to remove edit and delete columns when exporting the grid to pdf?
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2011
1 answer
252 views

Dear all,

I’m trying to open the Rad window as modal and to be able to calculate the size of the opened window based on the opened page size i.e 400x400 and keep it centered. I don’t not want to use the autosize property.

Below is my Rad window setting as well the JS code which I use to recalculate the window size to fill the window.

Yourhelp is appreciated to open the modal window centered and in correct size based on the content page.
var oWnd = window.radopen(_EncryptedURL, "AdvancedForm");
oWnd.set_title(pageTitle);
resizeRadWindow(oWnd);
 
function resizeRadWindow(radWindow) {
 
    var windowHeight = $(window).height();
    var windowWidth = $(window).width();
 
    windowHeight = (windowHeight * 97.5) / 100;
    windowWidth = (windowWidth * 98) / 100;
 
    radWindow.moveTo(10, 10);
    radWindow.setSize(windowWidth, windowHeight);
}
<
rad:RadWindowManager ID="RadWindowManager1" runat="server">
        <Windows>
            <rad:RadWindow ID="AdvancedForm" runat="server" Modal="True" OpenerElementID="showDialog"
                InitialBehaviors="None" ShowContentDuringLoad="false" Behaviors="Close" OnClientClose="refreshScheduler"
                ReloadOnShow="True" Title="" NavigateUrl="" VisibleStatusbar="False">
            </rad:RadWindow>
        </Windows>
    </rad:RadWindowManager>
Princy
Top achievements
Rank 2
 answered on 19 Dec 2011
1 answer
145 views
Hi,

I want to give the users the option of deleting items on a treelist grid, but I only want them to delete a full node. Or, to put it on a single question, is it possible to show a delete button only when Parent ID is null?
Princy
Top achievements
Rank 2
 answered on 19 Dec 2011
5 answers
157 views
Hi all,
I'm exporting the excel of radgrid.
My excel format is ExcelML.
I want to add title on head of the excel. In Html format Im getting title by setting the caption of mastertableview of grid
But I dont know why its not coming for ExcelML format and how to add.
Please help me in this.
My code..
Radgrid.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML;

Please provide me the code.
I dont have download access.
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2011
1 answer
104 views
Hi, 

I am very new to telerik...I have a data,which I displayed using radgrid and also I was able to get a pop-up when I click on edit link.

But in update and insert ..I need to add some code behind ...

i tried writing code behind by placing radbuttons and writing some code on Oncommand event..

But my textbox ID's which are used in Edit template are not accesible in this function.

Please advise if there any other way to handle this...Attached my sample page for better understanding...


Thanks a lot..

<telerik:RadGrid ID="SearchResult" runat="server" CellSpacing="0" height ="100%"
            GridLines="None" AllowPaging="True" AllowSorting="True" Skin="WebBlue" 
            OnNeedDataSource="RadGrid1_NeedDataSource"  DataSourceID="SearchDataSource" AllowAutomaticUpdates ="True"
             OnItemCommand="RadGrid1_ItemCommand"
              OnColumnCreated ="RadGrid1_ColumnCreated"
              OnSelectedIndexChanged ="RadGrig1_SelectedIndexChanged"
               Font-Names="Capital TT"  >
            <GroupingSettings CaseSensitive="False" />
            <ClientSettings>
                <Selecting AllowRowSelect="True" />
              
            </ClientSettings>
            <MasterTableView DataKeyNames="EID" CommandItemDisplay="TopAndBottom"  EditMode="PopUp">
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                </RowIndicatorColumn>
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                </ExpandCollapseColumn>
                <Columns>

                 <telerik:GridEditCommandColumn>
                </telerik:GridEditCommandColumn>
                 
                    
                </Columns>
                <CommandItemSettings ExportToPdfText="Export to PDF" />
                

                 <EditFormSettings InsertCaption="Add new item" CaptionFormatString="Edit EID: {0}"
                CaptionDataField="EID" EditFormType="Template" PopUpSettings-Modal="true">

                 <FormTemplate>
                    <table id="Table1" cellspacing="1" cellpadding="1" width="250" border="0">
                        <tr>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                FirstName:
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox10" Text='<%# Bind( "FirstName") %>' runat="server">
                                </asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Last Name:
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox11" Text='<%# Bind( "LastName") %>' runat="server">
                                </asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                EmploymentStatus:
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox12" Text='<%# Bind( "EmploymentStatus") %>' runat="server">
                                </asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                EmployeeSubgroup:
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind( "EmployeeSubgroup" ) %>'>
                                </asp:TextBox>
                            </td>
                        </tr>
                        
                    </table>
                    <table style="width: 100%">
                        <tr>
                            <td align="right" colspan="2">
                                <telerik:RadButton ID="Button1" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                 OnCommand="CommandBtn_Click"  runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
                                </telerik:RadButton>&nbsp;
                                <telerik:RadButton ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel" OnClick="btncancel">
                                </telerik:RadButton>
                            </td>
                        </tr>
                    </table>
                </FormTemplate>
            </EditFormSettings>

               
               <HeaderStyle Font-Size="Smaller" Font-Names="Capital TT" Font-Bold="True" />

            </MasterTableView>
             <ClientSettings>
            <ClientEvents OnRowDblClick="RowDblClick" />
        </ClientSettings>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
            </HeaderContextMenu>
        </telerik:RadGrid>



.cs class.

protected void CommandBtn_Click(object sender, CommandEventArgs e)
    {


        if (e.CommandName == "Update")
        {
            
        }

        else if (e.CommandName == "PerformInsert")
        {
        }
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?