Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
193 views

Hi!
 I'm using RadTreeView and RadListBox. I have an usual requierement considering the  scenario i have in the left side a RadTreeView incorporated inside the RadlistBox and in the right side i have the RadListBox. I have two issues :
1 - My issue is that how can i select one or more element on the RadTreeView and copy them inside the RadListBox?
2 - There's a way  to select a node with a relative child why the node is clicked?
Can you please give me some reply
Thanks

My jsp 
<td>
    <asp:Panel ID="pnlDealers" runat="server">
        <telerik:RadListBox ID="rlbDealer" runat="server" Height="200" Width="250" AllowTransfer="true"
                            ButtonSettings-Position="Right" ButtonSettings-TransferButtons="All"
                            TransferMode="Copy" SelectionMode="Multiple" TransferToID="rlbDealers"
                            AutoPostBackOnTransfer="true" CausesValidation="false">
            <ItemTemplate>
                <div>
                    <telerik:RadTreeView ID="rtvDealersAvailable" runat="server" OnLoad="rtvDealersAvailable_Load"
                                         OnNodeClick="rtvDealersAvailable_NodeClick">
                    </telerik:RadTreeView>
                </div>
            </ItemTemplate>
            <Items>
                <telerik:RadListBoxItem />
            </Items>
        </telerik:RadListBox>
        <telerik:RadListBox ID="rlbDealers" runat="server" SelectionMode="Multiple" Height="200" Width="250">
        </telerik:RadListBox>
    </asp:Panel>
</td>

Colince
Top achievements
Rank 1
 answered on 18 Jun 2013
6 answers
437 views
I've got a RadGrid with group by by two fields and subtotals shown in the group by  footers. The grouping is by Strategy and then by Manager. However, the out-of-the-box group footer display is a bit confusing because it's unclear whether the footer is for Strategy or for Manager (1st level group of 2nd level group). Please see the attached pic on how it is displayed currently.

 1) I need the footer to clarify what is the subtotal for like follows:
>Strategy: [StrategyName]
  >Manager: [ManagerName1]
.............row.........................
.............row........................
..............row.......................
>Number of portfolios for manager [ManagerNames1] : 3 Total TNA: $100
> Manager: [ManagerName2]
  ...............row.....................
...............row.....................
>Number of portfolios for manager [ManagerNames2] 2: Total TNA: $200
>Number of portfolios for strategy [StrategyName]  5 Total TNA: $500

I looked at your group footer templates, but couldn't figure out how to get what I need from the samples or documentation. 

2) Another issue is that my "Total TNA" in the footer displays just the amount, but the words "Total TNA" are not displayed.

Here is the mark-up:
<telerik:RadGrid runat="server" ID="TrackersRadGrid" OnNeedDataSource="TrackersRadGrid_NeedDataSource"
           AutoGenerateColumns="False" CellSpacing="0" GridLines="None" ShowFooter="true">
           <MasterTableView ShowGroupFooter="true">
               <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
               <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
               </RowIndicatorColumn>
               <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
               </ExpandCollapseColumn>
               <Columns>
                   <telerik:GridBoundColumn DataField="Strategy" HeaderText="Strategy" />
                   <telerik:GridBoundColumn DataField="PortfolioNumber" UniqueName="PortfolioNumber"
                       Aggregate="Count" FooterText="Number of Porfolios: " HeaderText="Portfolio Number">
                       <ItemStyle CssClass="portfolioNumber" />
                   </telerik:GridBoundColumn>
                   <telerik:GridHyperLinkColumn DataNavigateUrlFields="PortfolioNumber" UniqueName="PortfolioName"
                       HeaderText="Portfolio Name" AllowFiltering="false" DataNavigateUrlFormatString="./equitygrid/tracker.aspx?portfolio={0}"
                       DataTextField="PortfolioName">
                   </telerik:GridHyperLinkColumn>
                   <telerik:GridBoundColumn DataField="TNA" DataFormatString="{0:c}" UniqueName="TNA"
                       Aggregate="Sum" FooterText="Total TNA: " HeaderText="TNA" >
                       <ItemStyle CssClass="numeric tna" />
                   </telerik:GridBoundColumn>
                   <telerik:GridBoundColumn DataField="InternationalRevenuePercent" HeaderText="Intl %"
                       UniqueName="InternationalRevenuePercent">
                       <ItemStyle CssClass="numeric intlRevPct" />
                   </telerik:GridBoundColumn>
                   <telerik:GridBoundColumn DataField="InternationalRevenue" HeaderText="International Assests"
                       UniqueName="InternationalRevenue">
                       <ItemStyle CssClass="numeric intlRev" />
                   </telerik:GridBoundColumn>
                   <telerik:GridBoundColumn DataField="PortfolioManagers" HeaderText="Managers" UniqueName="PortfolioManagers">
                       <ItemStyle CssClass="portfolioManagers" />
                   </telerik:GridBoundColumn>
               </Columns>
               <GroupByExpressions>
                   <telerik:GridGroupByExpression>
                       <GroupByFields>
                           <telerik:GridGroupByField FieldAlias="Strategy" FieldName="Strategy" />
                       </GroupByFields>
                       <SelectFields>
                           <telerik:GridGroupByField FieldAlias="Strategy" FieldName="Strategy" />
                       </SelectFields>
                   </telerik:GridGroupByExpression>
                   <telerik:GridGroupByExpression>
                       <GroupByFields>
                           <telerik:GridGroupByField FieldAlias="PortfolioManagers" FieldName="PortfolioManagers" />
                       </GroupByFields>
                       <SelectFields>
                           <telerik:GridGroupByField FieldAlias="PortfolioManagers" FieldName="PortfolioManagers"
                               FormatString="" HeaderText="Manager" />
                       </SelectFields>
                   </telerik:GridGroupByExpression>
               </GroupByExpressions>
               <EditFormSettings>
                   <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                   </EditColumn>
               </EditFormSettings>
           </MasterTableView>
           <FilterMenu EnableImageSprites="False">
           </FilterMenu>
       </telerik:RadGrid>


Thanks,
Alex
D
Top achievements
Rank 1
 answered on 18 Jun 2013
2 answers
104 views
Hi,
The vb.net code that you post at the following URL, has many errors in it.

http://www.telerik.com/help/aspnet-ajax/grid-saving-settings-on-per-user-basis.html

Most of them are easy to correct, but I don't really know what to do with the following section of code.  VS.NET shows many errors for it:
Private Sub Grid_ColumnCreated(ByVal sender As Object, ByVal e As GridColumnCreatedEventArgs)  
Dim settings As ColumnSettings = Settings.AutoGeneratedColumnSettings.Find(Function([set] As ColumnSettings) Do
Return [set].UniqueName = e.Column.UniqueName  End Function)
Dim column As GridColumn = e.Column  
If not (settings is Nothing) Then   
SetColumnSettings(column, settings)  
End If
End Sub

Thanks,
Brent
Maria Ilieva
Telerik team
 answered on 18 Jun 2013
1 answer
103 views
We have a page with a grid-details format. Grid at the top, each row with a Select button and a detail form below the grid. When you select a row, the details are loaded below.  The page also has a btnSave and btnAddNew. Each record has some detail fields as well as a document field.  In the details area, there is a dropdown list that causes a postback, so we set the PostbackTrigger of the document control is currently set to "btnSave" so that if the user selects a document and then toggles the dropdown, the uploaded document won't be lost. However, the problem is that if a user uploads a document and then realizes they are in the wrong record, if the select a new record from the grid, the document field still maintains the previously uploaded document.  

What we need is a way to force a reset of the dropdown control on the server-side? Is that possible?
Plamen
Telerik team
 answered on 18 Jun 2013
4 answers
152 views
I'm having some problems with how telerik controls are displaying when running the site.  It seems to be a setting on my PC because I have published the code to another server and it displays correctly.  I'm not aware of any setting changes or updates to my PC but something is definitely wrong.  I'm attaching a screenshot.  Thank you for your help

Nick
Top achievements
Rank 1
 answered on 18 Jun 2013
1 answer
187 views

I'm trying to access the AdvancedEditForm save button to disable in a certain case and looking at AdvancedForm.ascx, I should be able to get to it by using:

protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
    {
  
        if (e.Container.Mode == SchedulerFormMode.AdvancedInsert)
        {
            ((LinkButton)((Panel)e.Container.FindControl("ButtonsPanel")).FindControl("UpdateButton")).Enabled = false;
        }
    }

Unfortunately the program throws an "Object reference not set to an instance of an object." when it runs into that line of code. How can I access the save button? Please note I need to do it in the FormCreated event because I need to know the SchedulerFormMode value.

Also, how would I access the room and user resource dropdowns?

Thanks,
Matt

Boyan Dimitrov
Telerik team
 answered on 18 Jun 2013
2 answers
98 views
Hi,
Can I have each tile with more images instead of just one?
My objectives is to have each tile to represent each of my projects(e.g ProjectA, ProjectB).
In ProjectA and ProjectB, i have 10 images, i want the tile to scroll through the images? I notice the example only have 2 images and text. Can i do that? couldnt find it in the documentation as well.

Please advise.

Thanks.

CH
Top achievements
Rank 1
 answered on 18 Jun 2013
1 answer
135 views
Good day I have an issue using the radchart control, when I use the configuration wizard to configure my chart , like for instance remove or add series to the chart the changes are not saved. I can run the application an the chart loads fine, but when coming back to design view and now running the configuration wizard again all my series are gone and there is just one series remaining that reads 'Databound Col 1'
However when I look at the chart series collection editor my series are still there? It seems as though something is out of sync here

Any help would be appreciated thanks
Rosko
Telerik team
 answered on 18 Jun 2013
4 answers
122 views
 Hello,

I have one small issue. I have used rad editor inside a panel bar.
When I open one of the panel item, rad editor size decreases automatically.
Why this is happening? Can you suggest me some solution?
Ivaylo
Telerik team
 answered on 18 Jun 2013
3 answers
168 views
Was curious is there were any predefined CSS for tile colors? - to keep things Theme consistent.  I know radScheduler has these for Appointments - thought it might make sense here as well.
Bill
Marin Bratanov
Telerik team
 answered on 18 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?