Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
117 views
Hi,
We are trying 'RadControls for Asp.Net Ajax'.
Our project architecture is mentioned below and all layers are on different servers.
- Application Server
- WebService(s) Server
- Database Server
Application/ Presentation layer is communicating with the Webservices and Webservices/ Webmethods then communicating with the Database via tiered architecture. We will be dealing with lakhs of records in various modules/ sections of the application. Our worry is, how teleric grid will be handling such a huge data for Filtering/ Sorting/ Paging etc.
Can you please provide suggestions/ details considering above scenario?

Your help will be really appreciate.
Daniel
Telerik team
 answered on 06 Oct 2010
2 answers
135 views
Hi all!

I'm using Filter for my RadGrid. And I would like to hide it in the Edit mode.
Using AllowFilteringByColumn is not the good idea. In some cases, I still use the Filter, just want to hide it
Could anyone help me?

Thanks!

Andy.
Andy
Top achievements
Rank 1
 answered on 06 Oct 2010
6 answers
195 views
hi telerik,

      i am using asyncUpload control to upload images
after selected my image ,the above progress is rotating continuously i am not able to find what happening in behind
the on file uploaded event also not fiering

<

 

telerik:RadAsyncUpload runat="server"  ID="RadAsyncUpload1" OnFileUploaded="RadAsyncUpload1_FileUploaded">

 

 

</telerik:RadAsyncUpload>

  

 

Genady Sergeev
Telerik team
 answered on 06 Oct 2010
12 answers
461 views
Hi
Is there a way to enable date range selection in the calendar?
when the user clicks on 2 dates I want to select all dates between the 2 dates selected.  I can handle it in the ondateselected but that causes a calls to the dateselected handler as each date is selected (the remove_dateselected() method does not seem to remove the handler)

thanks

Jean-Pascal van der Endt
Top achievements
Rank 1
 answered on 06 Oct 2010
1 answer
93 views
Is there a way to set the datasource of a radgrid equal to its current data in the loaded radgrid for when the needdatasource event fires for sorting purposes?  I am trying to avoid having to call the sql server every time a sort is requested.  I am working in vb.  Thanks.
Pavlina
Telerik team
 answered on 06 Oct 2010
1 answer
119 views

pls delete
Pavlina
Telerik team
 answered on 06 Oct 2010
3 answers
67 views
Hi,

In My radgrid if i increase the header width the column is shifting to the left(Please see the images). How to resolve this issue.



<div style="width: 100%; height: 650px; overflow: auto; overflow-y: hidden">
    <telerik:RadGrid ID="gvPjtMnt" runat="server" AutoGenerateColumns="false" Height="600px"
        BorderWidth="2px" BorderStyle="Solid" BackColor="White" AllowPaging="True" PagerStyle-AlwaysVisible="true"
        PageSize="20" AllowSorting="True" OnNeedDataSource="gvPjtMnt_OnNeedDataSource"
        AllowFilteringByColumn="true" OnItemCommand="gvPjtMnt_ItemCommand" OnItemCreated="gvPjtMnt_ItemCreated"
        OnItemDataBound="gvPjtMnt_ItemDataBound" OnPreRender="gvPjtMnt_PreRender">
        <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White"
            HorizontalAlign="Center" BorderColor="White" BorderWidth="1px" />
        <AlternatingItemStyle Font-Size="8pt" BackColor="#F5F5E9" HorizontalAlign="Center"
            BorderWidth="1px" BorderColor="White" />
        <MasterTableView GridLines="None" DataKeyNames="ProjectId" CommandItemDisplay="Top">
            <CommandItemTemplate>
                <table style="width: 100%">
                    <tr align="right">
                        <td style="width: 75%">
                        </td>
                        <td align="right">
                            <asp:linkbutton id="lnkshwFilter" text="ShowFilter" font-underline="true" forecolor="MidnightBlue"
                                runat="server" onclientclick="return showFilterItem()" />
                            <asp:linkbutton id="lnkhdFilter" text="HideFilter" font-underline="true" forecolor="MidnightBlue"
                                runat="server" onclientclick="return hideFilterItem()" />
                        </td>
                        <td align="right">
                            <asp:linkbutton id="lnkclrFilter" text="ClearFilter" font-underline="true" forecolor="MidnightBlue"
                                runat="server" onclick="lnkclrFilter_Click"></asp:linkbutton>
                        </td>
                        <td align="right">
                            Total Records found: <asp:label id="lblTotRecCount" runat="server" font-bold="True"
                                font-size="10pt" forecolor="Black" text="0"></asp:label>
                        </td>
                        <td align="right" valign="middle">
                            <asp:imagebutton id="lnkExportAll" imageurl="~/images/Excel.png" tooltip="Export All"
                                runat="server" onclick="ExportAll_Click" />
                        </td>
                        <td align="right" valign="middle">
                            <asp:imagebutton id="ExportToExcelButton" runat="server" imageurl="~/images/ExportToExcel.gif"
                                tooltip="Export to Excel" onclick="ExportExcel_Click" />
                        </td>
                    </tr>
                </table>
            </CommandItemTemplate>
            <Columns>
                <telerik:GridBoundColumn DataField="ProjectId" UniqueName="ProjectId" Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="LOB" DataField="LOB" UniqueName="LOB">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Division Name" DataField="Division" UniqueName="Division">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Region Name" DataField="MarketName" UniqueName="MarketName">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Project Name" DataField="ProjectName" UniqueName="ProjectName">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Project Manager Name" DataField="ProjectMgrName"
                    UniqueName="ProjectMgrName">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Number Of Sites Received" DataField="NumSitesReceived"
                    UniqueName="NumSitesReceived">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Accept Service Order Date" DataField="AcceptServiceOrderTaskCompleteDate"
                    UniqueName="AcceptServiceOrderTaskCompleteDate" DataFormatString="{0:MM/dd/yyyy}">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="PTD" DataField="PTD" UniqueName="PTD" DataFormatString="{0:MM/dd/yyyy}">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Health Reason" DataField="HealthReason" UniqueName="HealthReason">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Project Health" DataField="ProjectHealth" UniqueName="ProjectHealth">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Customer Signed Date" DataField="CustomerSignedDate"
                    UniqueName="CustomerSignedDate" DataFormatString="{0:MM/dd/yyyy}">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="OA Complete Date" DataField="OACompleteDate"
                    UniqueName="OACompleteDate" DataFormatString="{0:MM/dd/yyyy}">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Customer Requested Due Date" DataField="CustomerRequestedDueDate"
                    UniqueName="CustomerRequestedDueDate" DataFormatString="{0:MM/dd/yyyy}">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Last Note Added" DataField="LastNoteAdded" HeaderStyle-Width="10%"
                    ItemStyle-Width="10%" UniqueName="LastNoteAdded">
                </telerik:GridBoundColumn>
                <telerik:GridTemplateColumn UniqueName="EditRows" HeaderStyle-Width="2%" ItemStyle-Width="2%"
                    AllowFiltering="false">
                    <ItemTemplate>
                        <asp:imagebutton runat="server" id="EditPMTsk" commandname="EditRow" imageurl="Images/edit-icon.png"
                            imagealign="Middle" tooltip="Edit Task" />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings AllowColumnsReorder="true">
            <ClientEvents OnGridCreated="GridCreated" />
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
            <Resizing AllowColumnResize="true" EnableRealTimeResize="false" ResizeGridOnColumnResize="false"
                AllowRowResize="false" />
        </ClientSettings>
        <ItemStyle HorizontalAlign="Center" />
    </telerik:RadGrid>
</div>
Dimo
Telerik team
 answered on 06 Oct 2010
3 answers
183 views
Hi ,

In Continuation to following ticket


http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=297156


I am using Listbox control below code is provided by Telerik team to support Keyboard navigation.
Issue

1 . This code works fine but i have issue how to reorder Items using keyboard.
2,  OnClientTransferred : This is getting fired when button clicked from mouse to move items between listboxes, but when i tranfer  items   using keyboard this event is not fired.

And i am using Listbox control in a userControl and i have some buttons outside usercontrol . When i click tab control goes to First Listbox on second tab it goes to second listbox control but it never goes to button between listboxes.

Below code provided by Telerik  --. This works fine when placed on page. But when placed inside usercontrol and then usercontrol on page then control never goes to Buttons between listboxes. Moreover i have to give tabindexes to rest control in my page that i dont want. Is there any other way without using Tabindex in Listbox control

<div>
    <asp:ScriptManager ID="ss" runat="server" />
      
     <telerik:RadListBox runat="server" ID="RadListBox1" SelectionMode="Multiple" TabIndex="1"
        AccessKey="l" Height="200px" AllowDelete="true" AllowTransfer="true" TransferToID="RadListBox2"
        OnClientLoad="onSourceLoad">
        <ButtonSettings ShowDelete="false" />
        <Items>
            <telerik:RadListBoxItem Text="Amsterdam" />
            <telerik:RadListBoxItem Text="Barcelona" />
            <telerik:RadListBoxItem Text="Bonn" />
            <telerik:RadListBoxItem Text="Boston" />
            <telerik:RadListBoxItem Text="Brussels" />
            <telerik:RadListBoxItem Text="Dallas" />
            <telerik:RadListBoxItem Text="Denver" />
            <telerik:RadListBoxItem Text="Dublin" />
            <telerik:RadListBoxItem Text="Liverpool" />
            <telerik:RadListBoxItem Text="London" />
            <telerik:RadListBoxItem Text="Madrid" />
            <telerik:RadListBoxItem Text="Miami" />
            <telerik:RadListBoxItem Text="Moscow" />
            <telerik:RadListBoxItem Text="New York" />
            <telerik:RadListBoxItem Text="Oslo" />
            <telerik:RadListBoxItem Text="Paris" />
            <telerik:RadListBoxItem Text="San Francisco" />
            <telerik:RadListBoxItem Text="Seattle" />
            <telerik:RadListBoxItem Text="Sofia" />
            <telerik:RadListBoxItem Text="St.Paul" />
        </Items>
    </telerik:RadListBox>
     <telerik:RadListBox runat="server" ID="RadListBox2" SelectionMode="Multiple" TabIndex="2"
        AccessKey="t" Height="200px" OnClientLoad="onDestinationLoad" >
    </telerik:RadListBox>
    </div>
    <script type="text/javascript">
        var source;
 
        function onKeyDown(listBox, e) {
            if (e.keyCode == 39) {
                var selectedItems = listBox.get_selectedItems();
 
                $telerik.$.each(selectedItems, function() {
                    source.transferToDestination(this);
                });
            }
            else if (e.keyCode == 37) {
                var selectedItems = listBox.get_selectedItems();
 
                $telerik.$.each(selectedItems, function() {
                    source.transferFromDestination(this);
                });
            }
        }
 
        function onSourceLoad(sender) {
            source = sender;
 
            $telerik.$(".rlbGroup", sender.get_element())
        .bind("keydown", function(e) {
            onKeyDown(sender, e);
        });
        }
 
        function onDestinationLoad(sender) {
            $telerik.$(".rlbGroup", sender.get_element())
        .bind("keydown", function(e) {
            onKeyDown(sender, e);
        });
        }
 
    </script>


Thanks
Sumit
Genady Sergeev
Telerik team
 answered on 06 Oct 2010
1 answer
84 views

I am using a radeditor and I need to be able to add a hyperlink to other web pages created by the radeditor. The content of these pages are stored in a db and is accessed with the use of query strings, is there some way to have the hyperlink manager create these links or how can I build a custom dialog as part of the hyperlink manager that would pull up a listing of my database content?

Dobromir
Telerik team
 answered on 06 Oct 2010
1 answer
196 views

I would like to add a method to strip out special characters from a filename when it is uploaded, but I am not sure where to put the code. With the regular upload control you can use the saveas dialoge, but I am not sure where to implement this code in the file explorer control. My code looks like this:

if (e.Command == "UploadFile")
            {
                RadFileExplorer explorer = sender as RadFileExplorer;
                if (explorer != null)
                {
                    int ItemId = Convert.ToInt32(explorer.Attributes["ItemId"]);
                    string[] aFolder = e.Path.Split('/');
  
                    foreach (UploadedFile file in explorer.Upload.UploadedFiles)
Dobromir
Telerik team
 answered on 06 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?