Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
Don't have this to work if i use DataSource
When i click on a item, it lost the the state after postback....

http://test.junis.org/test/
Princy
Top achievements
Rank 2
 answered on 05 Dec 2011
4 answers
353 views
Hi,

I'm using the RadAsyncUploader control to allow a user to upload images.  After the upload, all uploaded images are displayed in a RadListBox, where they can be reordered.  I am also using the RadAjaxManager.

The problem is that I'm also allowing the user to delete uploaded images from the same page, which requires a postback.  If the user has selected images to upload, then highlights an image in the listbox and clicks "delete", the image is deleted as expected but the new images are uploaded at the same time.

It's not the biggest deal in the world, but it's still not appropriate behaviour.  Is there a way that I can prevent the RadAsyncUploader from processing the uploaded files unless the user clicks a specific "Upload" button?  If not, may I suggest adding this ability?  It seems less than ideal to have the upload occur on every postback, regardless of the source.

Thanks,

Allan
Peter Filipov
Telerik team
 answered on 05 Dec 2011
1 answer
93 views
 when i change the server date as 5/12/2007 and press F5 the total page(all telerik controls ) collapsed (alignment issue ) but it's working fine for current date
Ramesh
Top achievements
Rank 1
 answered on 05 Dec 2011
8 answers
250 views
I have just installed the latest demo of telerik rad controls and configured my project using right click configure telerik products and the ajax functionality of all controls does not work they appear and render fine but do not for example the datepicker does not drop down and none of the editor buttons fuction I have included a paste bin of my web.config to see what is wrong and also include an example of how I am implmenting 


http://pastebin.com/QBgBz4Hs



this is an example of my implementation

http://pastebin.com/pjarxYyR
Rumen
Telerik team
 answered on 05 Dec 2011
1 answer
215 views
Hi all,
Im using Raddatetimepicker in my application.
I'm able to highlight the current date in calender using special days property.
But I need to show the current time also in Time picker.
I'm able to show only timeformat like either 12 or 24 hours.
But how can I show the current time in timepicker and highlight the current time.
Please help me to accomplish this asap.
Thanks
Radoslav
Telerik team
 answered on 05 Dec 2011
1 answer
108 views
Hi,

I'm using a RadAjaxManager to handle postbacks for a RadGrid insde a RadDock.  I specified a default loading panel but it doesn't seem to work.  Loading panel does not display.  

The RadDock contains a search function that will bind the results to the RadGrid.

Sample code:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
        DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="rtbSearch">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="rgDefinitionList" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
<telerik:RadDockZone ID="RadDockZone1" runat="server" Orientation="Vertical" Style="border: 0px; float: left; margin-right: 1px; margin-bottom:1px; width:100%;">
        <telerik:RadDock ID="rdSearch" runat="server" Width="300px" DockMode="Docked" Title="Fee Definitions" DefaultCommands="ExpandCollapse" EnableAnimation="true" EnableEmbeddedSkins="false" Skin="LWTSkin">
        <ContentTemplate>
        <table>
        <tr>
        <td>
            <asp:RequiredFieldValidator ID="rfvSearch" runat="server" ErrorMessage=""
            ControlToValidate="rtbSearch"
            ValidationGroup="SearchRequired"></asp:RequiredFieldValidator>
            <br />
            <telerik:RadTextBox ID="rtbSearch" runat="server" Width="25em" MaxLength="100"
                ValidationGroup="SearchRequired"
                EmptyMessage="Search for a Fee Definition" Skin="WebBlue" />
            <telerik:RadButton ID="rbSearch" runat="server" Text="Search"
                onclick="rbSearch_Click"
                ValidationGroup="SearchRequired" />
             
        </td>
        </tr>
        <tr>
        <td>
        Results:
            <telerik:RadGrid ID="rgDefinitionList" runat="server"
                AllowPaging="True" AllowSorting="True"
                AutoGenerateColumns="False" CellSpacing="0"
                GridLines="None" Skin="Windows7"
                onneeddatasource="rgDefinitionList_NeedDataSource">
                <MasterTableView AllowPaging="True" AllowSorting="True">
                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
                        Visible="True">
                        <HeaderStyle Width="20px" />
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
                        Visible="True">
                        <HeaderStyle Width="20px" />
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn FilterControlAltText="Filter column column"
                            UniqueName="column" DataField="ID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn FilterControlAltText="Filter column1 column"
                            UniqueName="column1" DataField="Description" HeaderText="Description">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn FilterControlAltText="Filter column2 column"
                            UniqueName="column2" DataField="Type"
                            HeaderText="Type">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn FilterControlAltText="Filter column3 column"
                            UniqueName="column3" DataField="Code"
                            HeaderText="Code">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn FilterControlAltText="Filter column4 column"
                            UniqueName="column4" DataField="Source" HeaderText="Source">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn FilterControlAltText="Filter column5 column"
                            UniqueName="column5" DataField="SourceID"
                            HeaderText="SourceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridButtonColumn FilterControlAltText="Filter column6 column"
                            Text="Edit" UniqueName="column6">
                        </telerik:GridButtonColumn>
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                </MasterTableView>
                <FilterMenu EnableImageSprites="False">
                    <WebServiceSettings>
                        <ODataSettings InitialContainerName="">
                        </ODataSettings>
                    </WebServiceSettings>
                </FilterMenu>
                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                    <WebServiceSettings>
                        <ODataSettings InitialContainerName="">
                        </ODataSettings>
                    </WebServiceSettings>
                </HeaderContextMenu>
            </telerik:RadGrid>
        </td>
        </tr>
        </table>
        </ContentTemplate>
        </telerik:RadDock>
        </telerik:RadDockZone
    </telerik:RadDockLayout>



Please help.

Thanks,
JR
Maria Ilieva
Telerik team
 answered on 05 Dec 2011
5 answers
168 views
I have a RadTreeView with checkboxes that could be more than 3 levels deep and we have TriStateCheckBoxes=true.  This works just fine when the second level nodes are selected.  The first level is set to be indeterminate.  If any nodes selected deeper are selected then everything above becomes checked except the first level node.  We'd like the deeper nodes to work the same as the first level node.

The code for the RadTreeView is:
<telerik:RadTreeView ID="tvMultiCountries" runat="server" Skin="Office2009" AllowNodeEditing="false"
    CheckBoxes="true" MultipleSelect="false" CollapseAnimation-Type="OutQuint" EnableEmbeddedSkins="false"
    TriStateCheckBoxes="true" CheckChildNodes="true" OnClientNodeChecked="LocatorGridEntityGeographicUnitSelected">
</telerik:RadTreeView>

On the server side the only manipulation being done (outside of DataBind()), is expanding the first node:

tvMultiCountries.Nodes[0].Expanded = true;


Bozhidar
Telerik team
 answered on 05 Dec 2011
1 answer
87 views
This is an observation on the documentation for Telerik controls in general. I'm finding it very difficult to accomplish what should be relatively simple tassk due to the incredibly complex code samples given in the examples.

For instance, I'm trying to create an editable grid which maps to a 3 column table each being an integer field. I want to use a RadComboBox to look up related values in appropriate link table so I can provide an easy interface for the user to edit data. However, due to the complexity of the samples I seem to be going from pillar to post in trying to build a solution. Irritatingly I can do this relatively simply using standard ASP.NET controls so why are Telerik controls so much more difficult to get to grips with? 

I can appreciate that a lot of effort has gone into preparing the samples but I'm at the stage where I'm reluctant to delved into the sample as I know I'll just end up being frustrated. I don't want AJAX or the clever show off trick, I just need samples which work cleanly and can deployed quickly.
Maria Ilieva
Telerik team
 answered on 05 Dec 2011
0 answers
81 views
 when i change the server date to 2007 and press F5 the total page all rad controls  collapsed (alignment issue ) but it's working fine for current date
GaneshBabu
Top achievements
Rank 1
 asked on 05 Dec 2011
3 answers
168 views
I have created a custom ascx control that has a multiple column combo box in it. I have noticed that when the list of items is longer than the max dropdown length the vertical scroll bar will shift to the right when the cursor is placed in the list. This is my code:

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="radCBOLookup.ascx.vb"
    Inherits="HEW.radCBOLookup" %>
<telerik:RadComboBox ID="radCBOLookup" runat="server" MarkFirstMatch="true" AllowCustomText="false"
    Width="50px" DropDownWidth="350px" MaxHeight="300px" NoWrap="true" HighlightTemplatedItems="true"
    ExpandDirection="Down">
    <HeaderTemplate>
        <table style="width: 100%; text-align: left; font-size: 8pt">
            <tr>
                <td style="width: 20%;">
                    Code
                </td>
                <td style="width: 80%;">
                    Description
                </td>
            </tr>
        </table>
    </HeaderTemplate>
    <ItemTemplate>
        <table style="width: 100%; text-align: left; font-size: 8pt">
            <tr>
                <td style="width: 20%;">
                    <%#DataBinder.Eval(Container.DataItem, "Master_Type_Code")%>
                </td>
                <td style="width: 80%;">
                    <%#DataBinder.Eval(Container.DataItem, "Master_Desc")%>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</telerik:RadComboBox>

The attached jpg shows the scroll bar position before and after the cursor is placed in the combo box. The first row contains a blank record, which also shows up as a partial height to the actual items with data. Any explanation for the shifting scroll bar?
Ivana
Telerik team
 answered on 05 Dec 2011
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?