Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
135 views
Dear Support,

I have a Radgrid on my Page. If I interact with the Grid for example
I scroll to another Page or group by the grid position automaticly
move down from the initial top positionen of the page. I thing 50 px.

I can't find an error. I use the embadded Office 2007 Skin. But
also with other Skins happend this behavior.

Thanks in advance.

Christian
Christian
Top achievements
Rank 1
 answered on 30 Apr 2009
3 answers
131 views
I have a FormView with a lot of TextBoxes that AutoPostBack and perform an update on the OnTextChanged event.~26nbsp~3b I~27m using the RadAjaxManager on this FormView~2c and I was wondering if there is a way to keep the focus on the current TextBox that has been clicked on or tabbed to.~26nbsp~3b That isn~27t the box firing the event~2c but the box that the user is at right when the loading message gets displayed.~3cbr /~3e
Tsvetoslav
Telerik team
 answered on 30 Apr 2009
1 answer
107 views
Hi I am getting the exception: "Error Loading Radchart" on my application whenever the "authentication" tag is set in my web.config. If I run the application without using the "authentication" tag then it works.

Any idea of how I can resolved this issue?
Dessy
Telerik team
 answered on 30 Apr 2009
1 answer
260 views
Hi,

Here are the scenario :
1) There are 2 combo boxes : Topic and SubTopic . One topic has one-to-many subtopics.
2) The selection of the topic will determine the list of the displayed subtopics
3) RadAjax has been configured on the topic combo box so that it will trigger the topic_selectedIndexChanged event by using AJAX. the topic combo box has been configured with AutoPostBack = true
4) The AjaxSetting has been configured to this :
              <telerik:AjaxSetting AjaxControlID="ddlTopic" EventName="ddlTopic_SelectedIndexChanged">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ddlSubTopic" LoadingPanelID="LoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>




Here are the issues :
1) At the "create" form scenario, when i obtained the topic and subtopic value from the UI (user interaction), this is working well.
2) At the "update" form scenario, when i need to configure the selected topic value as well as selected subtopic value, i need to manually trigger the topic_selectedIndexChanged event to prepopulate the subtopic combo box, from the server side.

One of the alternative that i have think of , which is not quite elegant is to populate the data source of the subtopic and then set the subtopic selected value.

Please let me know if my approach is not correct or any insight to my issue.

Regards,

hadi teo
Veselin Vasilev
Telerik team
 answered on 30 Apr 2009
1 answer
90 views
And I have done an iisreset, what else can be causing this?
Stanimir
Telerik team
 answered on 30 Apr 2009
1 answer
108 views
Dear ,

I try to install rad editor to use in wcm like field control. I config follow instruction below

http://www.telerik.com/help/aspnet-ajax/using-radeditor-in-web-content-management-scenario.html


After i finish to install and create new page using custom pagelayout. i found that i can not edit rad editor and rad editor does't show any toolbar. What wrong ?.


Thanks,
Kriengsak M.
Stanimir
Telerik team
 answered on 30 Apr 2009
12 answers
371 views
I just noticed that in a grid I have been working on is displaying group aggregate totals incorrectly. This occurs any time I group more than one column together.

Here is a link displaying the problem: Grouping Problem.

Here is the relevant aspx code for the grouping:
                <telerik:RadGrid ID="CurrentCostCentersGrid" runat="server" Skin="Vista" AllowMultiRowSelection="True" 
                    AllowMultiRowEdit="True" AllowFilteringByColumn="false" ShowGroupPanel="True" 
                    AllowPaging="True" DataSourceID="DataSourceUnits" GridLines="Horizontal" AutoGenerateColumns="False" 
                    PageSize="50" ShowFooter="true" Width="100%">  
                    <ClientSettings AllowDragToGroup="true" AllowGroupExpandCollapse="true" AllowColumnsReorder="false" 
                        AllowExpandCollapse="true" AllowColumnHide="true">  
                        <Selecting AllowRowSelect="true" /> 
                        <ClientEvents OnRowSelected="CostCenterSelected" OnRowDeselected="CostCenterUnselected" 
                            OnRowSelecting="checkValidRowTarget" OnRowDeselecting="checkValidRowTarget" /> 
                    </ClientSettings> 
                    <GroupPanel Enabled="true" Text="Groups">  
                    </GroupPanel> 
                    <PagerStyle Mode="NextPrevAndNumeric" NextPageText="Next" PrevPageText="Previous" /> 
                    <MasterTableView ShowGroupFooter="true" ShowFooter="true" DataSourceID="DataSourceUnits" 
                        DataKeyNames="CostCenterItemID" CommandItemDisplay="None" ClientDataKeyNames="CostCenterItemID">  
                        <RowIndicatorColumn> 
                            <HeaderStyle Width="20px"></HeaderStyle> 
                            <ItemStyle VerticalAlign="Top" /> 
                        </RowIndicatorColumn> 
                        <ExpandCollapseColumn Visible="False" UniqueName="ExpandColumn">  
                            <HeaderStyle Width="20px"></HeaderStyle> 
                            <ItemStyle VerticalAlign="Top" /> 
                        </ExpandCollapseColumn> 
                        <Columns> 
                            <telerik:GridTemplateColumn UniqueName="StatusIcon" Groupable="false" DataField="StatusName">  
                                <ItemTemplate> 
                                    <asp:Image ID="StatusIcon" runat="server" ImageUrl='<%# "./images/statusicons/" + Eval("ImageName") + ".png" %>' 
                                        AlternateText='<%#Eval("StatusName") %>' /> 
                                </ItemTemplate> 
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" /> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridClientSelectColumn UniqueName="ClientSideSelect">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" /> 
                            </telerik:GridClientSelectColumn> 
                            <telerik:GridBoundColumn Display="false" DataField="StatusID" UniqueName="StatusID" /> 
                            <telerik:GridBoundColumn HeaderText="Fund" DataField="FundID" AllowFiltering="true" 
                                DataType="System.Int32" SortExpression="FundID" ReadOnly="True" UniqueName="FundID">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Unit" DataField="UnitID" AllowFiltering="true" 
                                DataType="System.Int32" SortExpression="UnitID" ReadOnly="True" UniqueName="UnitID">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Object" DataField="LineItemID" AllowFiltering="true" 
                                DataType="System.Int32" SortExpression="LineItemID" ReadOnly="True" UniqueName="LineItemID">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Description" DataField="LineItemName" SortExpression="LineItemName" 
                                UniqueName="Description" ReadOnly="true" Groupable="false">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Left" Wrap="true" Width="150px" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Prev Budget" DataField="PreviousBudget" AllowFiltering="true" 
                                DataType="System.Decimal" SortExpression="PreviousBudget" UniqueName="PreviousBudget" 
                                DataFormatString="{0:C}" ReadOnly="True" Aggregate="Sum" FooterAggregateFormatString="{0:C}" 
                                Groupable="false" Display="false">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" Width="100px" /> 
                                <FooterStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Prev Actual" DataField="PreviousActual" DataType="System.Decimal" 
                                SortExpression="PreviousActual" UniqueName="PreviousActual" DataFormatString="{0:C}" 
                                Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}" Display="false">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" Width="100px" /> 
                                <FooterStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Current Budget" DataField="CurrentBudget" DataType="System.Decimal" 
                                SortExpression="CurrentBudget" UniqueName="CurrentBudget" DataFormatString="{0:C}" 
                                Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" Width="100px" /> 
                                <FooterStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="YTD" DataField="CurrentYTD" DataType="System.Decimal" 
                                SortExpression="CurrentYTD" UniqueName="CurrentYTD" DataFormatString="{0:C}" 
                                Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" Width="100px" /> 
                                <FooterStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="Proposed" DataField="ProposedBudget" DataType="System.Decimal" 
                                SortExpression="ProposedBudget" UniqueName="ProposedBudget" Groupable="false" 
                                Aggregate="Sum" FooterAggregateFormatString="{0:C}" DataFormatString="{0:C}">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" Width="100px" /> 
                                <FooterStyle VerticalAlign="Top" HorizontalAlign="Right" Wrap="false" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="Category" EmptyDataText="&amp;nbsp;" HeaderText="Category" 
                                SortExpression="Category" UniqueName="Category">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Left" Wrap="false" Width="115px" 
                                    Font-Size="10px" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="Group" EmptyDataText="&amp;nbsp;" HeaderText="Group" 
                                SortExpression="Group" UniqueName="Group">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Left" Wrap="false" Width="100px" 
                                    Font-Size="10px" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridTemplateColumn HeaderText="Modified" DataField="ModifyDate" UniqueName="Modified" 
                                Groupable="false">  
                                <ItemTemplate> 
                                    <strong> 
                                        <%#Eval("ModifyBy")%></strong><br /> 
                                    <%#Eval("ModifyDate")%> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn HeaderText="Imported" DataField="DateLastImported" UniqueName="ImportDate" 
                                Groupable="false">  
                                <ItemTemplate> 
                                    <img src="Images/Button-Refresh-16x16.png" alt="Imported at <%#Eval("LastImportDate") %>" /> 
                                </ItemTemplate> 
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" /> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="Images/graph1_16x16.gif" 
                                CommandName="GraphCostCenter" Groupable="false" UniqueName="GraphCurrentYTD" 
                                Text="Graph YTD Spending">  
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" /> 
                            </telerik:GridButtonColumn> 
                        </Columns> 
                        <DetailTables> 
                            <telerik:GridTableView DataSourceID="DataSourceHistory" AutoGenerateColumns="false" 
                                ShowHeader="false" GroupsDefaultExpanded="false" NoDetailRecordsText="No notes currently exist for this item" 
                                Width="100%" CommandItemDisplay="Top" Frame="Void" Name="RequestHistory" DataKeyNames="HistoryID">  
                                <CommandItemTemplate> 
                                    <telerik:RadToolBar ID="DetailsToolbar" runat="server" Skin="Vista" Width="100%" 
                                        AutoPostBack="true" OnClientLoad="SetNestedToolbar">  
                                        <ExpandAnimation Type="OutQuad" Duration="150" /> 
                                        <CollapseAnimation Type="InQuad" Duration="150" /> 
                                        <Items> 
                                            <telerik:RadToolBarButton Text="Make Request" CommandName="MakeRequest" ImageUrl="Images/request.gif">  
                                            </telerik:RadToolBarButton> 
                                            <telerik:RadToolBarButton IsSeparator="true">  
                                            </telerik:RadToolBarButton> 
                                            <telerik:RadToolBarButton Text="Approval" CommandName="ApproveRequest">  
                                            </telerik:RadToolBarButton> 
                                        </Items> 
                                    </telerik:RadToolBar> 
                                </CommandItemTemplate> 
                                <ParentTableRelation> 
                                    <telerik:GridRelationFields MasterKeyField="CostCenterItemID" DetailKeyField="ItemID" /> 
                                </ParentTableRelation> 
                                <RowIndicatorColumn> 
                                    <HeaderStyle Width="20px"></HeaderStyle> 
                                    <ItemStyle VerticalAlign="Top" /> 
                                </RowIndicatorColumn> 
                                <ExpandCollapseColumn> 
                                    <HeaderStyle Width="20px"></HeaderStyle> 
                                    <ItemStyle VerticalAlign="Top" /> 
                                </ExpandCollapseColumn> 
                                <Columns> 
                                    <telerik:GridTemplateColumn UniqueName="History">  
                                        <ItemTemplate> 
                                            <strong> 
                                                <%#Eval("CreateDate","{0:d}") %>&nbsp;<%#Eval("CreateDate","{0:t}") %>&nbsp;-&nbsp;<%#Eval("UserName")%>:</strong>&nbsp;<br /> 
                                            <strong>Status:</strong> 
                                            <asp:Image ID="OldStatusIcon" runat="server" /><img src="Images/right.gif" alt="to" /><asp:Image  
                                                ID="NewStatusIcon" runat="server" /> 
                                            <p style="margin-top: 3px; margin-bottom: 2px; margin-left: 15px;">  
                                                <%#Eval("NoteText")%></p>  
                                            <asp:Panel ID="RequestPanel" runat="server">  
                                                <strong style="color: Red">Amount Requested:</strong>&nbsp;  
                                                <%#Eval("RequestedBudget", "{0:C}")%></asp:Panel> 
                                            <hr /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                </Columns> 
                            </telerik:GridTableView> 
                        </DetailTables> 
                        <PagerStyle Mode="NextPrevAndNumeric" /> 
                    </MasterTableView> 
                </telerik:RadGrid> 
 

And the code behind:
    Protected Sub InjectImages(ByVal source As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles CurrentCostCentersGrid.ItemDataBound  
        If e.Item.OwnerTableView.DataSourceID = "DataSourceHistory" Then 
            If e.Item.ItemType = Telerik.Web.UI.GridItemType.AlternatingItem Or e.Item.ItemType = Telerik.Web.UI.GridItemType.Item Then 
                Dim item As Telerik.Web.UI.GridDataItem = e.Item  
                Dim OldIcon As Image = item("History").FindControl("OldStatusIcon")  
                Dim NewIcon As Image = item("History").FindControl("NewStatusIcon")  
 
                Dim data As Southwestern.BudgetPortal.Data.CostCenter_GetNotesResult = item.DataItem  
 
                If data.IsManagementNote = True Then 
                    Dim RequestPanel As Panel = item("History").FindControl("RequestPanel")  
                    RequestPanel.Visible = False 
                End If 
 
                Dim OldStatus As Southwestern.BudgetPortal.Data.CostCenterStatus = (From S In Repository.CostCenterStatus Where S.StatusID = data.OldStatusID).Single()  
                Dim NewStatus As Southwestern.BudgetPortal.Data.CostCenterStatus = (From S In Repository.CostCenterStatus Where S.StatusID = data.StatusID).Single()  
 
                OldIcon.ImageUrl = "images/statusicons/" & OldStatus.ImageName & ".png" 
                OldIcon.AlternateText = "Old Status: " & OldStatus.StatusName  
 
                NewIcon.ImageUrl = "images/statusicons/" & NewStatus.ImageName & ".png" 
                NewIcon.AlternateText = "New Status: " & NewStatus.StatusName  
            End If 
        End If 
    End Sub 
 
    Protected Sub AllowCheckbox(ByVal source As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles CurrentCostCentersGrid.ItemDataBound  
        If e.Item.OwnerTableView.DataSourceID <> "DataSourceHistory" Then 
            If e.Item.ItemType = Telerik.Web.UI.GridItemType.AlternatingItem Or e.Item.ItemType = Telerik.Web.UI.GridItemType.Item Then 
                Dim user As Southwestern.BudgetPortal.Data.SystemUser = WebHelper.GetSystemUser()  
 
                If user.PortalAdministrator = False And user.SiteAdministrator = False Then 
                    ' Check permissions on the item. Checkboxes should only be enabled for manage rights.  
                    Dim item As Telerik.Web.UI.GridDataItem = e.Item  
                    Dim data As Southwestern.BudgetPortal.Data.CostCenter_GetAvailableUnitsResult = item.DataItem  
 
                    Dim unitRights As Southwestern.BudgetPortal.Data.UnitPermission = (From UP In Repository.UnitPermissions _  
                                                                                       Where UP.SamAccountName = user.SamAccountName _  
                                                                                       And UP.UnitID = data.UnitID).Single()  
 
                    Dim checkBox As CheckBox = CType(item("ClientSideSelect").Controls(0), CheckBox)  
                    If unitRights IsNot Nothing AndAlso unitRights.UnitManager = True Then 
                        checkBox.Enabled = True 
                    Else 
                        checkBox.Enabled = False 
                    End If 
                End If 
            ElseIf e.Item.ItemType = Telerik.Web.UI.GridItemType.Header Then 
                ' Hide the checkbox in the header if this user is not a portal administrator  
                Dim user As Southwestern.BudgetPortal.Data.SystemUser = WebHelper.GetSystemUser()  
 
                If user.PortalAdministrator = False And user.SiteAdministrator = False Then 
                    Dim item As Telerik.Web.UI.GridHeaderItem = e.Item  
                    Dim checkBox As CheckBox = CType(item("ClientSideSelect").Controls(0), CheckBox)  
                    checkBox.Visible = False 
                End If 
            End If 
        End If 
    End Sub 
 
    Protected Sub GreyOutReviewOnlyItems(ByVal source As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles CurrentCostCentersGrid.ItemDataBound  
        If e.Item.OwnerTableView.DataSourceID <> "DataSourceHistory" Then 
            If e.Item.ItemType = Telerik.Web.UI.GridItemType.AlternatingItem Or e.Item.ItemType = Telerik.Web.UI.GridItemType.Item Then 
                Dim data As Southwestern.BudgetPortal.Data.CostCenter_GetAvailableUnitsResult = e.Item.DataItem  
 
                If data.ReviewOnly = True Then 
                    For Each Cell As TableCell In e.Item.Cells  
                        Cell.ForeColor = Drawing.Color.Gray  
                        Cell.Font.Bold = True 
                        Cell.Font.Italic = True 
                        Cell.BackColor = Drawing.Color.FromArgb(200, 200, 200)  
                        Cell.BorderColor = Drawing.Color.FromArgb(200, 200, 200)  
                    Next 
                End If 
            End If 
        End If 
    End Sub 
 
    Protected Sub CurrentCostCentersGrid_DetailTableDataBind(ByVal source As Object, ByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles CurrentCostCentersGrid.DetailTableDataBind  
        Dim UnitID As Integer = e.DetailTableView.ParentItem.Item("UnitID").Text  
 
        Dim Manager As Boolean = False 
        Dim Write As Boolean = False 
 
        Dim User As Southwestern.BudgetPortal.Data.SystemUser = WebHelper.GetSystemUser()  
 
        If User.PortalAdministrator = True Or User.SiteAdministrator = True Then 
            Manager = True 
            Write = True 
        Else 
            Try 
                Manager = (From P As Southwestern.BudgetPortal.Data.UnitPermission In WebHelper.GetSystemUser().UnitPermissions Where P.UnitID = UnitID Select P.UnitManager).Single()  
                Write = (From P As Southwestern.BudgetPortal.Data.UnitPermission In WebHelper.GetSystemUser().UnitPermissions Where P.UnitID = UnitID Select P.Editor).Single()  
            Catch ex As Exception  
            End Try 
        End If 
 
        If User.PortalAdministrator = False And User.SiteAdministrator = False Then 
            Dim StatusIDText As String = e.DetailTableView.ParentItem.Item("StatusID").Text  
            Dim StatusID As Integer = 0  
            Dim LockItem As Boolean = True 
 
            If Integer.TryParse(StatusIDText, StatusID) Then 
                ' get the status item  
                Dim StatusEntry = (From Status In Repository.CostCenterStatus Where Status.StatusID = StatusID).Single()  
 
                If Write = True And Manager = False And StatusEntry.LocksCostCenter = True Then 
                    ' first condition, non-unit manager and cost center status indicates locked  
                    LockItem = True 
                ElseIf Manager = True Then 
                    ' second condition, unit manager  
                    If StatusEntry.UnitManagerSet = False And StatusEntry.PortalAdminSet = True And StatusEntry.LocksCostCenter = True Then 
                        ' portal administrator has locked it  
                        LockItem = True 
                    Else 
                        LockItem = False 
                    End If 
                ElseIf Write = False And Manager = False Then 
                    ' The user has read only access  
                    LockItem = True 
                Else 
                    LockItem = False 
                End If 
            End If 
 
            If LockItem = True Then 
                e.DetailTableView.CommandItemDisplay = Telerik.Web.UI.GridCommandItemDisplay.None  
                Exit Sub 
            End If 
        End If 
 
        ' Currently hiding buttons client side  
        Dim Script As String = "canApprove={0};canEdit={1};Sys.Application.add_load(SetApprovalVisibility);Sys.Application.add_load(SetNestedToolbarVisibility);" 
        If Manager = True Then 
            Script = String.Format(Script, "true", "true")  
        ElseIf Write = True Then 
            Script = String.Format(Script, "false", "true")  
        Else 
            Script = String.Format(Script, "false", "false")  
        End If 
        ScriptManager.RegisterStartupScript(Me, source.GetType(), "SetUnitToolbar", Script, True)  
 
    End Sub 
 
    Protected Sub CurrentCostCentersGrid_GroupsChanging(ByVal source As Object, ByVal e As Telerik.Web.UI.GridGroupsChangingEventArgs) Handles CurrentCostCentersGrid.GroupsChanging  
        ' Used to show/hide group by columns  
        Dim GroupByFieldName As String = e.Expression.GroupByFields(0).FieldName ' The unique name of the column  
        Dim GroupByColumn As Telerik.Web.UI.GridColumn = CurrentCostCentersGrid.MasterTableView.GetColumnSafe(GroupByFieldName) ' The actual column  
 
        If e.Action = Telerik.Web.UI.GridGroupsChangingAction.Group Then 
            ' We are grouping, so hide the column in the grid.  
            GroupByColumn.Visible = False 
        ElseIf e.Action = Telerik.Web.UI.GridGroupsChangingAction.Ungroup Then 
            ' We are ungrouping, so show the column again.  
            GroupByColumn.Visible = True 
        End If 
    End Sub 
 

Any clues to why this might be occuring would be very helpful!

Thanks!
Iana Tsolova
Telerik team
 answered on 30 Apr 2009
1 answer
101 views
Dear Support and comunnity,

I'm really confused. I try to bind a grid in a very simple and codeless way.
The db is an access mdb with one table for testing,

It doesn't matter what I'm doing, Edit, delete, insert or refresh, because I add an item manuely, nothing
happends right no. No action ist execute.

Can someone tell me why. Hope its not to simple ;-)

Here ist the link to the demo VSO 2008 project:

DemoWithGrid


Thanks a lot.
Christian
Shinu
Top achievements
Rank 2
 answered on 30 Apr 2009
13 answers
374 views
Am I the only one that experiences a delay in the rendering - e.g. you can see the original controls during page load and the skin is applied when the page is finished loading.   This of course dramatically increases when the page being loaded is large and doesn't look professional.   ... and yes, I am using <head runat="server" ...>     In fact this is also slightly reproducible in the online demos.

Any workarounds on this?
Georgi Tunev
Telerik team
 answered on 30 Apr 2009
0 answers
126 views
Hello,

I have used RadTreeView control in a ASP.net page and below code will add nodes  to the tree considering whether there should be child nodes.
              
               if (childNodes.Count() > 0)
                    {
                        node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;
                    }                                   
 
                    treeViewControl.Nodes[0].Nodes.Add(node);    

The nodeExpand method will load the child nodes for a particular node when it is clicked.

When a node is expanded a serverSide postbak happens and so that the member variables in the class is re-initialized. Is there a way that i can avoid this?
I need to keep a variable value through out the node expandings till a page closes.

Thanks,
Sudesh
sudesh
Top achievements
Rank 1
 asked on 30 Apr 2009
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?