Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
154 views
Hi

Is there anyway of rendering the xml representation of a treeview using javascript? maybe using json/jayrock?

The xml can be obtained when a node is expanding however as the trewview isn't set to serverside the collapse node event is not fired. Is thereanyway around this? Need to store the state of the treeview which works fine when a user expands a node but when they collapse a node the change can not be captured

Any help much appreciated? It is not viable to put the treeview in an updatepanel

Thanks
Kieran
Plamen
Telerik team
 answered on 07 Jun 2012
1 answer
224 views
I have a radcombobox with checkboxes. I need to change the color of the selected items of the combobox on selecting a radio button.
Princy
Top achievements
Rank 2
 answered on 07 Jun 2012
0 answers
122 views
how i should specify the limit of adding child items in my parent on RadTreeList .. please help me.. urgent so...
Prassin
Top achievements
Rank 1
 asked on 07 Jun 2012
8 answers
159 views
Hi, 

When using Chrome, appointments seems to get some offset problems after using the browser scrollbars. This makes moving and resizing appointments impossible after a while.

It can be achieved in your demo (http://demos.telerik.com/aspnet-ajax/scheduler/examples/outlook2007/defaultcs.aspx) by:
1. Scroll as far down you can, with the browser scrollbar, on this page without losing the "Product planning"-appointment out of sight.
2. Move the "Product planning"-appointment to 4pm.
3. Scroll all the way up again.
4. Try to move or resize any appointment in the demo.

This is tested with the latest version of Chrome.

Best regards,
Daniel
Peter
Telerik team
 answered on 07 Jun 2012
3 answers
85 views
Hi, my problem is that when I upload a htm I need to also upload the folder of images, in order to upload it I use donetzip.¿My question is , is possible to load zip internally without the need for the user do it manually?
Daniel
Top achievements
Rank 1
 answered on 07 Jun 2012
1 answer
70 views
When I have links in my panel items, the link is moved to the next link and any text after it is removed.  Any ideas
Princy
Top achievements
Rank 2
 answered on 07 Jun 2012
1 answer
132 views
<telerik:RadGrid ID="mygrid" runat="server" AllowFilteringByColumn="True"
                             Width="950px" AllowPaging="True" AllowSorting="True" CellSpacing="0" GridLines="None"
                             OnNeedDataSource="mygrid_NeedDataSource" AutoGenerateColumns="False"
                             EnableLinqExpressions="False" CssClass="bodytext" OnItemCreated="mygrid_ItemCreated"
                             OnItemDataBound="mygridI_temDataBound" OnPdfExporting="mygrid_PdfExporting"
                             OnHTMLExporting="mygrid_HTMLExporting" OnGridExporting="mygrid_GridExporting"
                             OnInit="mygrid_Init" OnItemCommand="mygrid_ItemCommand">
                             <GroupingSettings CaseSensitive="false" />
                             <MasterTableView PageSize="10"  TableLayout="Auto"  EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true">

when I set EnableHeaderContextMenu="true" for radgrd , I use  UseStaticHeaders="True" and try to hide some of the column using ContextFilterMenu,  I got extra line behind the hiding column -- see attached image, I think this is caused by multiline header how can I get rid of it or make this look better? 

how can I make the visible column expand to full grid with instead of leaving empty space for the hidden column?

I tried to remove UseStaticHeaders="True", but still having empty space for hidden column.
 
Not sure what I missed, I feel I did the same as the demo. But just can not get rid of the ending white space.
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextfiltermenu/defaultcs.aspx

 

 

 

 


Please help!

 

 Thanks! 

 

 

 

Princy
Top achievements
Rank 2
 answered on 07 Jun 2012
6 answers
130 views

So I have a simple RadWindow setup like so:

<telerik:RadWindow ID="rwCreateChecklist" runat="server" Width="300px" Height="150px"
        Behaviors="Move,Close" Title="Create Checklist" VisibleStatusbar="false" Modal="true">
        <ContentTemplate>
            <div class="wndCreateChecklist">
                <div class="row">
                    <label>
                        Reference Number:</label>
                    <telerik:RadTextBox ID="txtReferenceNumber" runat="server" Width="80px" MaxLength="50">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="reqReferenceNumber" runat="server" Text="Required"
                        ValidationGroup="CreateChecklist" ControlToValidate="txtReferenceNumber" SkinID="noFloat"></asp:RequiredFieldValidator>
                </div>
                <div class="button-row">
                    <telerik:RadButton ID="btnCreateChecklist" runat="server" Text="Create Checklist"
                        ValidationGroup="CreateChecklist">
                    </telerik:RadButton>
                    <telerik:RadButton ID="btnCancel" runat="server" Text="Cancel">
                    </telerik:RadButton>
                </div>
            </div>
        </ContentTemplate>
    </telerik:RadWindow>

The issue I'm finding is that the RequiredFieldValidator shows up behind the RadTextBox when viewed in IE8 Compatibility Mode (as shown in attached image). I am using the latest version, so EnableSingleInputRendering is set to true by default.

I've found that the RadTextBox is setting the width of the span element, that the input control is placed in, while applying padding to the input element itself. Why does the control set the width of the span and the input element? When you have this setting turned off, the only element that has it's width set is the input element itself, not the span element.

Is there some reason why both elements have their width property set?
Vasil
Telerik team
 answered on 07 Jun 2012
1 answer
94 views
I have a RadGrid setup and everything on it works great except for my Numeric Pager.  I placed my pager in my PagerTemplate like so:

<asp:Panel runat="server" ID="NumericPagerPlaceHolder"  />

And then in my code behind, here is how I set it up:

protected void HandleOnItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridPagerItem)
            {
                var gridPager = e.Item as GridPagerItem;
                var numericPagerControl = gridPager.GetNumericPager();
 
                var placeHolder = gridPager.FindControl("NumericPagerPlaceHolder");
                placeHolder.Controls.Add(numericPagerControl);
            }
        }

The numeric pager is getting setup properly but when I click on a page number, it does a very fast postback and then the numeric pager disappears completely.  I feel like I am missing a step where I should be binding and event.  All the Google and forum searches I have done haven't turned anything up.  The only thing I found was including this JavaScript:

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
 
        <script type="text/javascript">
            var tableView = null;
            function pageLoad(sender, args) {
                tableView = $find("<%= TransactionsGrid.ClientID %>").get_masterTableView();
            }
 
            function changePage(argument) {
                tableView.page(argument);
            }
        </script>
 
    </telerik:RadScriptBlock>

But still nothing.  I've even tried setting up an event handler for OnPageIndexChanged but that didn't work either.  Any help would be appreciated.
Shinu
Top achievements
Rank 2
 answered on 07 Jun 2012
1 answer
94 views
When trying to clear the radgrid, if the edit command is open when clearing it will clear and disappear. When the Add new record control is open, it clears but does not disappear. Is there any reason for why that is, and if so is there anyway to change it so it disappears as well?
Shinu
Top achievements
Rank 2
 answered on 07 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?