Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
80 views
Hi All,

When we try to Export  radGrid  to Excel , we  need to export grid along with custom  header .
eg:
header:
name:dddd
age:28
place:chennai

then grid.....


Please advice.
Shinu
Top achievements
Rank 2
 answered on 30 Nov 2011
1 answer
60 views
How can I close a RadWindow bij clicking on the RadWindow?

Regards,
Marc
Shinu
Top achievements
Rank 2
 answered on 30 Nov 2011
1 answer
145 views
Hi,

In Treeview, How to get parent node of a selected node in server side?

Thanks,
Arunshyam
Princy
Top achievements
Rank 2
 answered on 30 Nov 2011
7 answers
315 views
I have a grid with a loading panel.  When I apply a new filter or sort the grid by clicking on one of the column headers, the loading panel graphic shows just fine.

But during page load, the loading panel graphic never shows, even though the page takes a few seconds to load (it actually takes more time than sorting or filtering).

The .aspx code for the page is shown below.  The code behind follows.

Thanks in advance!

Lynn
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/EPSDev3.master" AutoEventWireup="true" CodeFile="PetitionInfo.aspx.cs" Inherits="PetitionInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    .VerticalAlign1 
    
        padding-top: 6px;
    }
        .style1
        {
            height: 31px;
        }
        .RadGrid_Default .rgHeaderDiv
        {
            width: 785px !important;
        }
 
        .RadGrid_Default .rgFooterDiv
        {
            width: 785px !important;
        }
</style>
 </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
        <!-- content start -->
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="SignersGrid">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="SignersGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" AlternateText="Loading..." Skin="Black" runat="server"  />
    <div style="width: 800px;">
        <div style="float: left; background-color: White; padding: 0px;">
            <table cellpadding="1" cellspacing="0" border="0" >
                <tr>
                    <td colspan="5" align="center" >
                        <h2>
                            <asp:Label ID="VoterAuthenticationLabel" runat="server" Text="<%$ Resources:Resource, PetitionInformationLabel %>"></asp:Label>
                        </h2>
                    </td>
                </tr>
                <tr>
                    <td width="2%">
                          
                    </td>
                    <td width="47%" valign="top">
                        <table >
                            <tr>
                                <td colspan="2" align="left" style="font-weight: normal; height: 12px;">
                                    <asp:Label ID="Label6" runat="server" Font-Bold="true" Text="<%$ Resources:Resource, CandidateInformationLabel%>"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="CycleLabel" runat="server" Text="<%$ Resources:Resource, CycleLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="ElectionCycleList" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Resource, RaceLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="PoliticalRaceList" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Resource, NameLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="CandidateName" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Resource, AddressLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="CandidateAddress" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label4" runat="server" Text="<%$ Resources:Resource, CityStZipLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="CandidateCity" runat="server" Text=""></asp:Label>
                                       
                                    <asp:Label ID="CandidateState" runat="server" Text=""></asp:Label>
                                       
                                    <asp:Label ID="CandidateZipCode" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Resource, CountyLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="CandidateCountyList" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="2%">
                          
                    </td>
                    <td width="47%"  valign="top">
                        <table width="100%">
                            <tr>
                                <td colspan="2" align="left" style="font-weight: normal; height: 12px;">
                                    <asp:Label ID="Label7" runat="server" Font-Bold="true" Text="<%$ Resources:Resource, ContactInformationLabel%>"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label8" runat="server" Text="<%$ Resources:Resource, NameLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="ContactName" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label9" runat="server" Text="<%$ Resources:Resource, PhoneLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="ContactPhone" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Resource, EmailLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="ContactEmailAddress" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label11" runat="server" Text="<%$ Resources:Resource, WebSiteLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="ContactWebSiteURL" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="Label16" runat="server" Text="<%$ Resources:Resource, LinkToLabel %>"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:Label ID="LinkToURL" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="2%">
                          
                    </td>
                </tr>
                <tr>
                    <td colspan="5">
                          
                    </td>
                </tr>
                <tr >
                    <td>
                          
                    </td>
                        <td align="center" valign="middle" colspan="3" >
                            <asp:Label CssClass="VerticalAlign1" ID="PetitionsListTitle" Font-Size="16px" Width="100%" BackColor="#565A43" Height="24px" ForeColor="#ffffff" Font-Bold="true" runat="server" Text="<%$ Resources:Resource, PetitionSignersLabel %>"></asp:Label>
                        </td>
                    <td>
                          
                    </td>
                </tr>
                <tr>
                    <td width="2%">
                          
                    </td>
                    <td colspan="3" valign="middle">
                        <telerik:RadGrid AutoGenerateColumns="false" ID="SignersGrid" runat="server" Width="785px"
                            AllowSorting="true" AllowFilteringByColumn="true" EnableLinqExpressions="true"
                            AllowPaging="false" PageSize="15" CommandItemDisplay="Bottom"
                            BorderWidth="1px" BorderColor="#999999" EnableEmbeddedSkins="true" Skin="Default"
                            DataSourceID="SQLDataSource1"
                            ShowStatusBar="true"
                            ShowFooter="false" GridLines="None" >
                            <PagerStyle Mode="NextPrevAndNumeric" />
                            <GroupingSettings CaseSensitive="false" />
                            <StatusBarSettings ReadyText="Ready" LoadingText="Loading..." />
                            <MasterTableView AutoGenerateColumns="false" EditMode="InPlace" AllowFilteringByColumn="True"
                                ShowFooter="True" TableLayout="Auto">
                                <Columns>
 
                                    <telerik:GridBoundColumn HeaderStyle-Width="150px" HeaderText="First Name" UniqueName="FirstName" DataField="FirstName" SortExpression="FirstName" >
                                    </telerik:GridBoundColumn>
 
                                    <telerik:GridBoundColumn HeaderStyle-Width="150px" UniqueName="LastName" HeaderText="Last Name" DataField="LastName" SortExpression="LastName" >
                                    </telerik:GridBoundColumn>
 
                                    <telerik:GridBoundColumn HeaderStyle-Width="350px" UniqueName="VoterAddress" HeaderText="Address" DataField="Address" SortExpression="Address"  >
                                    </telerik:GridBoundColumn >
 
                                    <telerik:GridButtonColumn CommandName="RemoveSigner" HeaderStyle-Width="135px" UniqueName="RemoveSigner" HeaderText="Remove" ButtonType="PushButton" Text="Remove" ConfirmText="Are you certain that you want to remove this signature?" >
                                    </telerik:GridButtonColumn>
 
                                </Columns>
                            </MasterTableView>
                            <ClientSettings>
                                <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                            </ClientSettings>
                        </telerik:RadGrid>
                    </td>
                    <td width="2%">
                          
                    </td>
                </tr>
 
                <tr>
                    <td colspan="5" align="center" >
                        <asp:Label ID="Label17" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
 
                <tr>
                    <td colspan="5" align="center" >
                        <asp:Label ID="SignatureCountMessage" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
 
                <tr>
                    <td colspan="5" align="center" >
                        <asp:Label ID="Label18" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="5" align="center" >
                          
                    </td>
                </tr>
                <tr >
                    <td>
                          
                    </td>
                        <td align="center" valign="middle" colspan="3" >
                            <asp:Label CssClass="VerticalAlign1" ID="Label14" Font-Size="16px" Width="100%" BackColor="#565A43" Height="24px" ForeColor="#ffffff" Font-Bold="true" runat="server" Text="<%$ Resources:Resource, CloseAndPrintLabel %>"></asp:Label>
                        </td>
                    <td>
                          
                    </td>
                </tr>
                <tr>
                    <td colspan="5" align="center" >
                          
                    </td>
                </tr>
                <tr>
                    <td colspan="5" align="center" >
                        <asp:Button ID="ReturnToMyDocs" runat="server" TabIndex="6"
                            Text="<%$ Resources:Resource, ReturnToMyEDocs %>"
                            onclick="ReturnToMyDocs_Click" />
                            
                        <asp:Button ID="ClosePetitionButton" TabIndex="7" runat="server" Text="<%$ Resources:Resource, ClosePetitionBtn %>" />
                            
                        <asp:Button ID="PrintListButton" TabIndex="8" runat="server" Text="<%$ Resources:Resource, PrintListBtn %>" />
                            
                        <asp:Button ID="PrintForFilingButton" TabIndex="9" runat="server" Text="<%$ Resources:Resource, PrintForFilingBtn %>" />
                    </td>
                </tr>
                <tr>
                    <td colspan="5" align="center" >
                          
                    </td>
                </tr>
            </table>
        </div>
        <div class="clear">
        </div>
    </div>
    <asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:ElectronicPetitionSystemConnectionString %>"
        ProviderName="System.Data.SqlClient" runat="server">
    </asp:SqlDataSource>
</asp:Content>


And now the code behind:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
 
public partial class PetitionInfo : System.Web.UI.Page
{
    protected void Page_Init(object sender, EventArgs e)
    {
            //  Set the sql statement for the sql data source
            string griddatasource = "SELECT VoterSignatureId, PetitionId, LastName, FirstName, MiddleName, NameSuffix, [Address], CountyId, Email, SignatureImage, CountyVoterId, ";
            griddatasource = griddatasource + "MvdSerialNumber, DateSigned, ClientIpAddress, VoterSignatureStatusId, CreatedDate, ModifiedDate ";
            griddatasource = griddatasource + "FROM VoterSignatures ";
            string gridWHERE = "WHERE PetitionId = " + Request.QueryString["PID"];
            SqlDataSource1.SelectCommand = griddatasource + gridWHERE;
    }
 
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
 
            if (Request.QueryString["PID"].Length > 0)
            {
                Int32 iMyKeyValue = Convert.ToInt32(Request.QueryString["PID"]);
                ElectronicPetitionSystemDataContext efdc = new ElectronicPetitionSystemDataContext();
 
                var petn =
                    (from pe in efdc.Misc_GetPetitionInfo(iMyKeyValue)
                     select pe).First();
                //  First display the individual fields at the top of the screen
                this.ElectionCycleList.Text = petn.CycleName;
                this.PoliticalRaceList.Text = petn.OfficeDescription;
                this.CandidateName.Text = petn.CandidateDisplayName;
                this.CandidateAddress.Text = petn.Address1;
                this.CandidateCity.Text = petn.City;
                this.CandidateState.Text = petn.State;
                this.CandidateZipCode.Text = petn.Zip;
                this.CandidateCountyList.Text = petn.CountyName;
                this.ContactName.Text = petn.ContactDisplayName;
                this.ContactPhone.Text = petn.ContactPhone;
                this.ContactEmailAddress.Text = petn.ContactEmail;
                this.ContactWebSiteURL.Text = petn.ContactLink;
                this.LinkToURL.Text = Convert.ToString(petn.DeepLinkGuid);
 
            }
        }
                SignatureCountMessage.Text = "(" + (String)GetGlobalResourceObject("Resource", "YouCurrentlyHave1") + " nn " + (String)GetGlobalResourceObject("Resource", "YouCurrentlyHave2") + " nnnn " + (String)GetGlobalResourceObject("Resource", "YouCurrentlyHave3") + ")";
    }
 
    //  Telerik grid sample with filtering, etc.
    //
    //
    //  The following link may be a better example for the SQL/filtering handling
 
    protected void ReturnToMyDocs_Click(object sender, EventArgs e)
    {
        Response.Redirect("MyeDocs.aspx");
    }
}

Lynn
Top achievements
Rank 2
 answered on 30 Nov 2011
2 answers
74 views
Hello Team;

I've read on both controls and I still don't know which is the best for a NEW project that requires:
a) Multiple files to be uploaded.
b) Once files are uploaded I need to give them proper name and store them in a proper folder on server.

I see both being upgraded and still can't decide which one to use. Could you please tell me the major difference and which one is the best and latest to use and go forward?

Thank you in advance!
Ben Hayat
Top achievements
Rank 2
 answered on 30 Nov 2011
1 answer
95 views
I know what I'm doing is getting into unsupportedland, but I think it might just be a styling issue that I can be helped with.  I have a RadGrid within a <div> with a fixed width so that the overflow of the grid scrolls horizontally.  This works fine. 

I added an extra row to the top of the header, so there are 2 column header rows.  The top row I will call the "main title" row of the header.  This works fine.  See attachement (Uncentered.jpg).

When scrolling with the <div>, the main title row of the header should stay centered.  The scrolling/centering part works fine.  See attachment (Centered.jpg).

This is difficult to explain and point out, but the problem I'm experiencing is the code that centers the main title row's text is causing the height of the row to shrink by a couple of pixels as if the padding is removed or something similar.  I believe the offender has something to do with positon:fixed & margin-left attribute settings. 

Please view and zoom in closely on the image (HeightCompare.jpg).  I overlayed the centered image over the uncentered image.  You will notice that the main title row is about 2px smaller for the centered (right) vs uncentered (left). So basically if you were running these 2 examples side by side you would notice that the size of the main title rows differ and I would like them to be the same. In other words I would not like the row to shrink when this code is applied.

In the code I commented out the line for uncentered and am currently executing the line for centered.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="FixedHeader.aspx.vb" Inherits="FixedHeader" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>    
        <telerik:RadScriptManager runat="server" ID="mgrJS">
        </telerik:RadScriptManager>  
        <div style="overflow:scroll;overflow-y:hidden;width:400px" >        
            <telerik:RadGrid runat="server" ID="dgHeader" Skin="Web20" >
                <ClientSettings>
                    <Scrolling UseStaticHeaders="True" />
                    <Selecting EnableDragToSelectRows="False" />
                </ClientSettings>
                <MasterTableView BorderWidth="1px" GridLines="Both" style="border-collapse: collapse !Important;" Font-Bold="false" TableLayout="Fixed" AutoGenerateColumns="false" ShowHeader="True">
                    <RowIndicatorColumn Visible="False">
                        <HeaderStyle Width="20px" />
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn Resizable="False" Visible="False">
                        <HeaderStyle Width="20px" />
                    </ExpandCollapseColumn>
                    <EditFormSettings>
                        <PopUpSettings ScrollBars="None" />
                    </EditFormSettings>
                </MasterTableView>
            </telerik:RadGrid>   
        </div
    </div>
    </form>
</body>
</html>
Partial Class FixedHeader
    Inherits System.Web.UI.Page
  
    Dim dtCols As New DataTable
    Dim dtHeader As New DataTable
  
    Protected Sub dgHeaderAPO_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles dgHeader.NeedDataSource
        dgHeader.DataSource = dtHeader
    End Sub
  
    Protected Sub FixedHeader_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'Grid columns will be defined off of this table
        dtCols.Columns.Add(New DataColumn("COL_ID", GetType(String)))
        Dim colRow As DataRow = dtCols.NewRow
        colRow(0) = "1234567"
        dtCols.Rows.Add(colRow)
        colRow = dtCols.NewRow
        colRow(0) = "2345678"
        dtCols.Rows.Add(colRow)
        colRow = dtCols.NewRow
        colRow(0) = "3456789"
        dtCols.Rows.Add(colRow)
        colRow = dtCols.NewRow
        colRow(0) = "4567890"
        dtCols.Rows.Add(colRow)
        colRow = dtCols.NewRow
        colRow(0) = "5678901"
        dtCols.Rows.Add(colRow)
        colRow = dtCols.NewRow
        colRow(0) = "6789012"
        dtCols.Rows.Add(colRow)
        colRow = dtCols.NewRow
        colRow(0) = "7890123"
        dtCols.Rows.Add(colRow)
  
        'Create Header table
        For Each dr As DataRow In dtCols.Rows
            dtHeader.Columns.Add(New DataColumn(dr("COL_ID"), GetType(Integer)))
        Next
  
        'Populate w/ data
        Dim Generator As System.Random = New System.Random()
        Dim r As DataRow = dtHeader.NewRow
        For j As Integer = 0 To 6
            r(j) = Generator.Next(0, 100)
        Next
        dtHeader.Rows.Add(r)
  
        'Define columns of master table view.
        For Each row As DataRow In dtCols.Rows
            Dim newCol As New GridBoundColumn
            dgHeader.MasterTableView.Columns.Add(newCol)
            newCol.HeaderText = row("COL_ID")
            newCol.DataField = row("COL_ID")
            newCol.DataFormatString = "{0:N0}"
            newCol.HeaderStyle.Width = 100
            newCol.ItemStyle.Width = 100
        Next
    End Sub
  
    Protected Sub dgHeaderAPO_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgHeader.PreRender
        If dgHeader.MasterTableView.GetItems(GridItemType.Header).Length > 0 Then
  
            Dim header As GridHeaderItem = DirectCast(dgHeader.MasterTableView.GetItems(GridItemType.Header)(0), GridHeaderItem)
            Dim head As GridTHead = DirectCast(header.Parent, GridTHead)
  
            'create a new GridHeaderItem which will be the new row  
            Dim newHeaderItem As New GridHeaderItem(dgHeader.MasterTableView, 0, 0)
  
            'add 2 empty table header cells, as there are 2 hidden columns always created in RadGrid
            newHeaderItem.Cells.Add(New GridTableHeaderCell())
            newHeaderItem.Cells.Add(New GridTableHeaderCell())
  
            Dim leftMargin As Integer = 0
            Select Case dtCols.Rows.Count
                Case 1, 2
                    leftMargin = 0
                Case 3
                    leftMargin = 50
                Case 4
                    leftMargin = 75
                Case 4
                    leftMargin = 100
                Case Else
                    leftMargin = 125
            End Select
  
            'Uncentered code without resizing issue
            'newHeaderItem.Cells.Add(New GridTableHeaderCell() With {.Text = "<input id='cbAll' type='checkbox');' \>CENTER ME", .ColumnSpan = dtCols.Rows.Count})
  
            'Centered code with resizing issue
            newHeaderItem.Cells.Add(New GridTableHeaderCell() With {.Text = "<div style='width:130px;position:fixed;margin-left:" & leftMargin & "px;'><input id='cbAll' type='checkbox');' \>CENTER ME</div>", .ColumnSpan = dtCols.Rows.Count})
            head.Controls.AddAt(0, newHeaderItem)
  
        End If
  
    End Sub
End Class

Please advise.

Thanks,
Rob

Rob
Top achievements
Rank 1
 answered on 29 Nov 2011
1 answer
107 views
Hello telerik team,

I would like to do the inserting and updating of the appointment thru code behind i almost worked out the inserting part but i cant make the update work as it does not show the update values in the

e.Appointment.Start, e.Appointment.End, e.Appointment.Subject, e.Appointment.Description
it shows only the values in the database in radScheduler1_AppointmentUpdate event

i have binded the schedulder thru a sqlDatasource only using select command.

is there any solution for it?

Pradeep
Top achievements
Rank 1
 answered on 29 Nov 2011
6 answers
121 views
Hi,
I have been looking all over to find if anyone else had this issue, but I couldn't find anything.
In our project we have several Telerik controls, in one particular place, we are using drag and drop from a Rad Grid to a TreeView, it works fine in Firefox 8 and in IE, but in Firefox 5 and previous versions throws the following error:
args.get_destinationHtmlElement().click is not a function

The code we use to drag and drop from the grid to the tree, we took it from this forums.
The error happens in the function:
function dropRowOnTree(args) {
                   args.get_destinationHtmlElement().click();

}

Which is called in:
function onRowDropping(sender, args) {
                    var dest = args.get_destinationHtmlElement();
                    if (dest) {
                        dropRowOnTree(args);
                    }
                }
This is the function to handle the OnClientRowDropping of the grid event.

Using firefug to debug i find that args.get_destinationHtmlElement(), is brining the span where the text of the node is being shown.

The tree is configured like this
<cc1:TreeView ID="treeOptions" runat="server" EnableDragAndDrop="true" OnNodeDrop="treeOptions_HandleDrop"
                                MultipleSelect="true" OnClientNodeDropping="onNodeDropping" EnableDragAndDropBetweenNodes="true">
                                <NodeTemplate>
                                    <div onmouseover="<%#string.Format("javascript:showHideNodeOptions(this, true, '{0}');", Eval("Type")) %>"
                                        onmouseout="javascript:showHideNodeOptions(this, false);" style="margin-right: 10px;">
                                        <span>
                                            <%# DataBinder.Eval(Container.DataItem, "Name") %></span> &nbsp;
                                        <asp:LinkButton CausesValidation="false" ID="imgAdd" Style="display: none; cursor: pointer"
                                            AlternateText="Edit" runat="server" OnCommand="NodeEditClick" CssClass="icon editIcon"
                                            CommandArgument='<%# DataBinder.Eval(Container.DataItem, "Id") %>' />
                                    </div>
                                </NodeTemplate>
                            </cc1:TreeView>

Any help you could give me would be greatly appreciated.

Dzy.-
Dzyann
Top achievements
Rank 1
 answered on 29 Nov 2011
8 answers
75 views
Hello.
I'm relatively new to Visual Studio 2008 and to RadComponents.
I noticed that VS is extremely slow with RadComponents, even though I have an great computer (Core 2 Duo E6750, 2 Gb).
For example I create a MasterTable Edit Template for a RadGrid and when I click a Textbox, etc. I have to wait 3-5 seconds for properties to appear.
Is this normal? Is there any way to optimize this?
VS consumes no more than 300 Mb of RAM and there's always free memory. All the other programs work fine (SQL Management Studio, Office programs, etc.).

Thanks a lot.
Johny
Top achievements
Rank 1
 answered on 29 Nov 2011
1 answer
48 views
Can Any one Help me... I'm try this But the focus is Moving to page not to the next control.. so that i con't select state after selecting Country while im using in Keyboard..

<telerik:RadAjaxManager ID="ajaxManager1" runat="server" UpdatePanelsRenderMode="Block" >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ajaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlCountry" />
                    <telerik:AjaxUpdatedControl ControlID="ddlCity" />
                    <telerik:AjaxUpdatedControl ControlID="ddlState" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlCountry">
            <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlCity" />
                    <telerik:AjaxUpdatedControl ControlID="ddlState" />
            </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlState">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlCity" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
O'Man
Top achievements
Rank 1
 answered on 29 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?