Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
171 views
Hi There,

I have sitemapnode like the following:

 <siteMapNode   title="Administration" description="System Administration">
      <siteMapNode url="~/Administration/test1.aspx" title="Test 1" description="Test 1" />
      <siteMapNode url="~/Administration/test2.aspx" title="Test 2" description="test 3" />
      <siteMapNode url="~/Administration/test3.aspx" title="Test 3" description="Test 3" />
    </siteMapNode>

    <siteMapNode url="~/Search/TestSearch.aspx" title="Search"  description="Test Search" />


I would like to remove sitemap node using method  RemoveNode() not in ItemDataBound. Is there any way?. RemoveNode() will load on OnViewLoaded()

Please advise thank you
Mark de Torres
Top achievements
Rank 1
 asked on 17 May 2012
1 answer
102 views
I have a radgrid where columns are dynamically created in Page_Init. A few of the columns are sort-able. There is also an onSortCommand event handler for select columns. 

when I click the header of those columns the page posts back but I observe the following:

  1. the onSortCommand event handler is not being called.
  2. the Header Texts are vanishing.

Any pointers?
Radoslav
Telerik team
 answered on 17 May 2012
1 answer
131 views
I've been asked to remove the "_" prompt in all the RadMaskedTextBoxes for this sign up sheet. How do I get rid of them? Do I need to apply some sort of CSS?
Princy
Top achievements
Rank 2
 answered on 17 May 2012
1 answer
116 views
Hello,

we want RadGrid fix height with out scrolling and we want always show paging bar in bottom .when we set  PagerStyle-AlwaysVisible="true" then its show the paging bar in bottom but height is not fixed we want  paging bar show at bottom regardless how much records will in grid like 7 or 1 .

please see in attach image if grid has 1 record then its show telerik1.png but we want like telerik.png.

thanks
Wajahat

Pavlina
Telerik team
 answered on 17 May 2012
1 answer
89 views
Hello forum!

I have a <div> who has my RadGrid inside it. This <div> gets resized to fill the remaining space on the page using JQuery.
It is absolute necessary that my grid has paging on it. Now how can i make sure that:

1: My pager is ALWAYS at the bottom of my <div>, no matter what resolution
2: The pager items get dynamically determined based on the screen height remaining

I have been looking around for some days now, only to come up with half working solutions.
So remember, my <div> has NO fixed height but gets resized using JQuery.

Also, making the RadGrid height '100%' makes my data disappear?

I really hope someone help me out on this nasty situation..

Greetings!
Andrey
Telerik team
 answered on 17 May 2012
1 answer
156 views

Hi,

 

I am saving the transferred items from the RadListBoxDestination Box into one database field like so:-

Dim _RadListBoxDestinationText As String = Nothing
        For Each item As RadListBoxItem In RadListBoxDestination.Items
            _RadListBoxDestinationText = _RadListBoxDestinationText + item.Value.ToString + vbCrLf
        Next

'Save_RadListBoxDestinationText to the Database

The data saves OK
, but then when the user returns I need to repopulate the Destination box and I am trying to do it like so

Dim _DBString As String = _dr("EOT3CCa")
            Dim _DBSplitString As String() = _DBString.Split(New Char() {vbCrLf})
 
            Dim _Text As String
 
            For Each _Text In _DBSplitString
 
                Dim item As RadListBoxItem = RadListBoxSource.FindItemByText(_Text)
                RadListBoxSource.Transfer(item, RadListBoxSource, RadListBoxDestination)
              
            Next

I get an 'object reference not set..'
I can output the split string into an ordinary textbox just fine but not the RadListBox - it can't find the items.

Is there a better way to do this?

All help most appreciated.

Cheers,
Jon

Dimitar Terziev
Telerik team
 answered on 17 May 2012
2 answers
68 views

Article: http://www.telerik.com/help/aspnet-ajax/grid-appearance-customize-gridtemplatecolumn.html

I use this method in my radgrid and grouped my data base on a filed ( column) . now I need to show sum of each field in group panel but it just show me sum of one column . I need to show sum of both filed separately.what is solution ? 

thanks in advance
smaj
Radoslav
Telerik team
 answered on 17 May 2012
7 answers
243 views
Hello,

I have a problem with the textwrap in gridtemplatecolumn,
There will be report Name field which can be around 200 characters wide. We are placing that o the gridtemplatecolumn as shown below.

 <telerik:RadGrid ID="ExpenseReportsGrid" runat="server" AutoGenerateColumns="false" GridLines="None" 
                PageSize="25" Width="800px" AllowSorting="true" AllowCustomPaging="true" AllowPaging="true" 
                OnItemDataBound="ExpenseReportsGrid_ItemDataBound"
                OnNeedDataSource="ExpenseReportsGrid_NeedDatasource">
<MasterTableView ClientDataKeyNames="Id" CommandItemDisplay="None" AllowMultiColumnSorting="false"
                DataKeyNames="Id">
<Columns>
<telerik:GridTemplateColumn UniqueName="ReportNameTempcol" HeaderText="<%$ Resources:global,lbl_ReportTitle %>"
                            SortExpression="ReportName" DataField="ReportName">
                            <ItemTemplate>
                                <asp:LinkButton runat="server" ID="ReportName" Text='<%# Eval("ReportName") %>'
                                    ForeColor="Blue"   OnClick="NavigateToSummaryView"></asp:LinkButton>                               
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
 </Columns>
</MasterTableView>
 </telerik:RadGrid>
When there is record under this column which has wide text, it is not wrapping. I tried putting ItemStyle-Wrap="true" for the template column. But it didn't work for us.

Any help to resolve this issue.

Thanks In advance,
Dipen
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 May 2012
3 answers
98 views
Hi,

I have an ajaxified hierarchical RadGrid implemented statically with load on demand. I control the details table display settings from javascript.
The issue is : when I change the details table display from client and later perform any ajax operation the detail table display settings updated using javascript are lost. Is there any way where I can prevent this ?

Thanks,
Karthik 
Eyup
Telerik team
 answered on 17 May 2012
3 answers
974 views
Hi
I am have a combo with a treeview in it, i need to find the selected node and i am able to do this in aspx page, but the same function fails in .ascx page.
The below is the function which i am calling in client side.

function

 

radPricingLevelTree_ClientNodeClicked(sender, eventArgs)

 

{

 

var node = eventArgs.get_node();

 

 

var comboBox = $find("<%= radPricingLevelCombo.ClientID %>");

 

 

comboBox.set_text(node.get_text());

comboBox.trackChanges();

comboBox.get_items().getItem(0).set_value(node.get_text());

comboBox.commitChanges();

comboBox.hideDropDown();

}
Pls help

Rachana
Top achievements
Rank 1
 answered on 17 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?