Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
160 views
Hi All,

I  am  using  radgrid modal popup    ,I   click  on edit image  button it is taking to much time to open  modal popup  and also if i click on close image button its taking to much time to close   ,

How to reduce this time ?
Princy
Top achievements
Rank 2
 answered on 04 Jul 2014
3 answers
200 views
Hi, i just wanted to know how to bind a pie chart to dynamic data. I mean if the data is coming from the database, i've two columns i.e. Name and vale, how can i bind it to a radhtml pie chart. 
Asutosh
Top achievements
Rank 1
 answered on 04 Jul 2014
2 answers
251 views
How do you close the notification control server side when the close X is not on the control. I have the AutoCloseDelay =0 so it will stay open until the user clicks my Ok or Cancel button.
Shinu
Top achievements
Rank 2
 answered on 04 Jul 2014
3 answers
90 views

hi guys,

I am trapped in a weird problem. My grid works like charm but destroys the entire table structure right after I introduce a TemplateColumn or a NestedViewTemplate.



Please review attachment.



Any idea how to fix it?



telerik:RadGrid ID="radGrid" DataSourceID="sdcReq"
                        AllowFilteringByColumn="True" AllowSorting="True" AllowMultiRowSelection="true" OnItemCommand="radGrid_ItemCommand"
                        AllowPaging="True" runat="server" Skin="WebBlue" CellSpacing="0" GridLines="None" OnNeedDataSource="radGrid_NeedDataSource">
 
                        <MasterTableView AutoGenerateColumns="false" TableLayout="Auto">
                            <Columns>
                                <telerik:GridHyperLinkColumn DataTextField="reqTitle" DataNavigateUrlFields="reqID" DataNavigateUrlFormatString="~/Acquisition/Requisition_Editor.aspx?reqID={0}" HeaderText="Requisition Title" UniqueName="reqID" AllowSorting="true">
                                </telerik:GridHyperLinkColumn>
                                <telerik:GridBoundColumn FilterControlWidth="120px" DataField="reqAuthor" HeaderText="Author"
                                    AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo" ItemStyle-Width="75px" DataType="System.String"
                                    ShowFilterIcon="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn FilterControlWidth="120px" DataField="deptCode" HeaderText="Department"
                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ItemStyle-Width="100px"
                                    ShowFilterIcon="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn FilterControlWidth="120px" DataField="reqDateTime" HeaderText="Requested On" ShowFilterIcon="false" EnableTimeIndependentFiltering="true" DataFormatString="{0:MMM dd, yyyy}" ItemStyle-Width="100px">
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn FilterControlWidth="120px" DataField="statusTitleForLibrarian" HeaderText="Status"
                                    AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo" ItemStyle-Width="150px"
                                    ShowFilterIcon="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridHyperLinkColumn DataTextField="" DataNavigateUrlFields="reqID" DataNavigateUrlFormatString="~/Acquisition/Requisition_Review.aspx?reqID={0}" HeaderText="" ImageUrl="~/Images/grid-review.png" ItemStyle-Width="21px" Target="_blank">
                                </telerik:GridHyperLinkColumn>
                                <telerik:GridHyperLinkColumn DataTextField="" DataNavigateUrlFields="reqID" DataNavigateUrlFormatString="~/Acquisition/Requisition_Editor.aspx?reqID={0}" HeaderText="" ImageUrl="~/Images/grid-edit.png" ItemStyle-Width="21px">
                                </telerik:GridHyperLinkColumn>
                                <telerik:GridButtonColumn ButtonType="ImageButton" ConfirmDialogType="Classic" ConfirmText="Do you really want to delete this Request?"
                                    ImageUrl="~/Images/grid-delete.png" ItemStyle-Width="21px" CommandName="deleteit" CommandArgument="reqID">
                                </telerik:GridButtonColumn>
                                <telerik:GridTemplateColumn>
                                    <ItemTemplate>
                                        <asp:Button ID="Button1" runat="server" Text="Button" />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                            </Columns>
                        </MasterTableView>
                         
                        <ClientSettings EnableRowHoverStyle="true"  ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder" >
 
                            <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
                        </ClientSettings>
                    </telerik:RadGrid>




Bilal
Top achievements
Rank 1
 answered on 03 Jul 2014
2 answers
154 views

1. Want to handle this on the server.
2. For each dropped item from gridview, I want to read id and map it to the id of the target TreeView item

 

Bozhidar
Telerik team
 answered on 03 Jul 2014
3 answers
221 views
Creating all events and setting breakpoints, you will notice, when creating the first entry by clicking on "Insert" ("Einfügen") it will first call the ItemCommand-Event with e.CommandName = "PerformInsert", but then it will NOT enter the InsertCommand event. Just create the blank events to this example and set break points:

<asp:UpdatePanel ID="upPrices" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <telerik:RadGrid ID="trgPrices" runat="server" AllowPaging="true" Culture="de-DE"
            CssClass="RadGrid" AllowSorting="False" AutoGenerateColumns="false" ShowStatusBar="true" PageSize="20"
            OnNeedDataSource="trgPrices_NeedDataSource"
            OnItemCreated="trgPrices_ItemCreated"
            OnItemDataBound="trgPrices_ItemDataBound"
            OnItemCommand="trgPrices_ItemCommand"
            OnEditCommand="trgPrices_EditCommand"
            OnInsertCommand="trgPrices_InsertCommand"
            OnUpdateCommand="trgPrices_UpdateCommand"
            OnCancelCommand="trgPrices_CancelCommand"
            OnDeleteCommand="trgPrices_DeleteCommand">
            <MasterTableView DataKeyNames="ID" CommandItemDisplay="Top">
                <CommandItemSettings ShowAddNewRecordButton="true" ShowRefreshButton="false"></CommandItemSettings>
                <Columns>
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditColumn" EditText="Bearbeiten">
                        <HeaderStyle Width="20px" />
                    </telerik:GridEditCommandColumn>
                    <telerik:GridNumericColumn UniqueName="HighestQuantity" DataField="HighestQuantity" DataType="System.Int32" HeaderText="Anzahl" DefaultInsertValue="999999" MaxLength="6" NumericType="Number" />
                    <telerik:GridNumericColumn UniqueName="UnitPrice" DataField="UnitPrice" DataType="System.Double" HeaderText="Stückpreis" DefaultInsertValue="0" DecimalDigits="2" NumericType="Currency" />
                    <telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="DeleteColumn" CommandName="Delete" Text="Löschen">
                        <HeaderStyle Width="20px" />
                    </telerik:GridButtonColumn>
                </Columns>
                <EditFormSettings>
                    <EditColumn ButtonType="LinkButton" UniqueName="EditCommandColumn" InsertText="Einfügen" UpdateText="Speichern" CancelText="Abbrechen" />
                </EditFormSettings>
            </MasterTableView>
        </telerik:RadGrid>
    </ContentTemplate>
</asp:UpdatePanel>

What can I do?

Martin
Top achievements
Rank 1
 answered on 03 Jul 2014
1 answer
151 views
cannot figure out what is causing this error and not sure where to start looking as it is in an telerik resource axd... ???  Any help is appreciated!



Unhandled exception at line 3, column 7184 in http://localhost:60181/JobTrackerAPP/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.7.1005,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:5758f630-b0dd-4428-b6d6-af591d716c0c:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2014.1.403.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:ca584452-327f-4858-bf00-fb22c6f6fd75:16e4e7cd:874f8ea2:f7645509:24ee1bba:92fe8ea0:19620875:f46195d3:fa31b949:490a9d4e:bd8f85e40x800a138f - JavaScript runtime error: Unable to get property 'indexOf' of undefined or null reference
Vessy
Telerik team
 answered on 03 Jul 2014
7 answers
191 views
Hey all,

I am trying to export to Word on one of my radgrids. I have used this tool before and it has worked flawlessly. However I am running into an issue with one that I am trying to implement now.

I have a grid that has two exportable="false" columns that are supposed to disappear in the downloaded file. Currently what happens is that I lose the pager from top and bottom, the exportable columns disappear and nothing starts to download upon button click.

From before, exportable="false" columns have always worked for me as well as the export to word. I tested the other exports and none work. They all currently do the same thing. To my knowledge, I haven't implemented anything differently in my NeedsDataSource or ItemDataBound. 

Anyone got any ideas as to why this is happening?
Alexander
Top achievements
Rank 1
 answered on 03 Jul 2014
3 answers
639 views
Hi,

In one kind of scenario of diffrent types of postbacks (full and async) and toggled visibility, at least one Telerik control seem to lose its CSS, from the WebResource.axd. In this example I use the RadScheduler. If in the page (code following below), one first clicks the "Toggle Rad Scheduler Visibility" button, then clicks the "Full Postback" button, then clicks the "Toggle Rad Scheduler Visibility" button again, the CSS will not be loadad for the scheduler any more, so it will not look as it should. If in this state one clicks "Full Postback" again, the CSS is loaded again.

Is there any method one should call on the Telerik controls to make sure their CSS is always loaded? What can one do, any suggestions? Or is there something I have missed?

Page markup and codefile:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AsyncCSSTest2.aspx.cs" Inherits="RadAsyncTest.AsyncCSSTest2" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
     
        <asp:ScriptManager ID="SM" runat="server" 
            EnablePartialRendering="true"
        </asp:ScriptManager> 
         
        <telerik:RadCodeBlock runat="server"
            <telerik:RadAjaxManager runat="server" ID="AjxMgr"
            </telerik:RadAjaxManager> 
 
            <asp:UpdatePanel runat="server" ID="UP" UpdateMode="Conditional"
                <ContentTemplate> 
                 
                    <asp:Button runat="server" ID="Toggle" Text="Toggle Rad Scheduler Visibility" /> 
                    <asp:Button runat="server" ID="FullPost" Text="Full Postback" /> 
                     
                    <telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Telerik" 
                        Visible="true" 
                        DataKeyField="eventID" 
                        DataStartField="startdate" 
                        DataEndField="enddate" 
                        DataSubjectField="subject" 
                        DataDescriptionField="description"
                    </telerik:RadScheduler> 
                             
                </ContentTemplate> 
                 
                <Triggers> 
                    <asp:PostBackTrigger ControlID="FullPost" /> 
                </Triggers> 
                 
            </asp:UpdatePanel> 
 
        </telerik:RadCodeBlock> 
         
    </div> 
    </form> 
</body> 
</html> 
 


using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
 
namespace RadAsyncTest 
    public partial class AsyncCSSTest2 : System.Web.UI.Page 
    { 
        protected void Page_Load(object sender, EventArgs e) 
        { 
            Toggle.Click += delegate { 
                RadScheduler1.Visible = !RadScheduler1.Visible; 
            }; 
        } 
    } 
 

Marin Bratanov
Telerik team
 answered on 03 Jul 2014
3 answers
362 views
I have a fileExplorer that open files but what it does is open the files in a radwindow.  Current the fileExplorer is in a Radwindow itself.  Is there a way to force it to open the files in another IE tab.

<tr>
                   <td><telerik:RadFileExplorer ID="radExplorer" runat="server" Width="400px" Height="200px" EnableOpenFile="true" DisplayUpFolderItem="false"
                       EnableCreateNewFolder="false" AvailableFileListControls="Grid" ExplorerMode="Default">
                           <Configuration ViewPaths="~/PriorSvcUploads" />
                       </telerik:RadFileExplorer>
                   </td>
               </tr>

Vessy
Telerik team
 answered on 03 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?