Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
How to hide some control from recurrence?

Hi, I need to hide the control for End after ... ocurrence, but I don't if this is possible.
How can I hide some control on the recurrence section?

Thank you
Peter
Telerik team
 answered on 19 Dec 2009
4 answers
256 views
hi
can anyone help me... how to use radtooltip for html table.... onmouseover event i should call Radtooltip....
please help me
Thanks
Svetlina Anati
Telerik team
 answered on 19 Dec 2009
1 answer
107 views
The numeric pages on the Pager are not showing up right in my project.  If I create a new project, and add in the same code, it works just fine.  But in my work project, the current page is not visible and the left part of the background image is cut off.  I also cannot do anything with AJAX (200 page from server, nothing updates).

<html xmlns="http://www.w3.org/1999/xhtml"
<head id="Head1" runat="server"
  <title>Untitled Page</title> 
</head> 
<body> 
  <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <telerik:RadGrid ID="RadGrid1" AllowSorting="true" AllowPaging="true" PageSize="5" runat="server"
        <PagerStyle Mode="NextPrev" /> 
    </telerik:RadGrid> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadGrid1"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelRenderMode="Block" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
  </form> 
</body> 
</html> 




I am not getting any 404 errors (expect when I postback, I get an error saying this._imageDomElement is null in the WebResource.axd for the ScriptManager Hidden Field).

Anyone run into this before and fix it?
Pavlina
Telerik team
 answered on 19 Dec 2009
1 answer
81 views
Hi Telerik-
I am using the trial version of the ASP.NET AJAX controls. I am also interested in YOUR LINKS functionality that you have on your home which appears top right when logged on. That seems to be AJAX enabled and our company wants to do something similar. Is this part of any other trial version toolset to try out?
Thanks
Sebastian
Telerik team
 answered on 19 Dec 2009
2 answers
335 views
Hi guy,
there's a way to distinguish between transfer event and delete event?
In my scenario the transferring an item from listBox1 to listBox2 is a simple change of type (white to black), while deleting is remove the item from the application at all.
My problem is with transfer event, so when I click on the transfer button, the delete event is launched and the item gone to deleted state!
This is my code:

                        <telerik:RadListBox runat="server" ID="radListMittentiAttendibili"
                            Height="240px"
                            Width="350px"
                            AllowTransfer="true"
                            AutoPostBackOnTransfer="true"
                            TransferToID="radListMittentiBloccati"
                            OnTransferred="radListMittentiAttendibili_Transferred"
                            AllowDelete="true"
                            AutoPostBackOnDelete="true"
                            OnDeleted="radListMittentiAttendibili_Deleted" 
                            SelectionMode="Multiple"
                            DataKeyField="ID"
                            DataTextField="Email"
                            DataValueField="ID"
                        >
                            <ButtonSettings ShowTransferAll="false" ShowReorder="false" VerticalAlign="Middle" ShowDelete="true" />
                        </telerik:RadListBox>
                        <telerik:RadListBox runat="server" ID="radListMittentiBloccati"
                            Height="240px"
                            Width="350px"
                            SelectionMode="Multiple"
                            DataKeyField="ID"
                            DataTextField="Email"
                            DataValueField="ID"
                            AllowDelete="true"
                            AutoPostBackOnDelete="true"
                            OnDeleted="radListMittentiBloccati_Deleted" 
                        >
                            <ButtonSettings ShowTransferAll="false" ShowTransfer="false" ShowReorder="false" Position="Right" VerticalAlign="Middle" ShowDelete="true" />
                        </telerik:RadListBox>

Give me a solution, please.
Simon
Telerik team
 answered on 19 Dec 2009
1 answer
206 views
Hi,
I am opening a Radwindow from the main page. Once the Radwindow is opened some of the controls like the  microsoft asp.net dropdown controls overlap with the Radwindow control at the edges.
You can include the following code in a asp.net web application and run to see this behavior.


<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head>

 

 

<title>Untitled Page</title>

 

 

 

<script for="window" event="onload" type="text/javascript">

 

 

//alert('ok');

 

 

// radopen("Default2.aspx","RadWindow1");

 

 

 

</script>

 

 

 

<script type="text/javascript" language="javascript">

 

 

function OpenRadWin()

 

{

radopen(

"Default2.aspx","RadWindow1");

 

 

}

 

</script>

 

 

</

 

head>

 

<

 

body>

 

 

 

 

 

<form id="form1" runat="server">

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

</telerik:RadScriptManager>

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

<Windows>

 

 

<telerik:RadWindow NavigateUrl="Default2.aspx" ID="RadWindow1" runat="server">

 

 

</telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 

 

<input type="button" value="Open Radwindow" onclick="OpenRadWin();" />

 

 

<br />

 

 

<br />

 

 

<br />

 

 

<br />

 

 

&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

sites :

<asp:DropDownList runat="server" ID="ddSites" Width="200px">

 

 

<asp:ListItem value="1">Philadelphia Core pop - 112 Morristown ----- </asp:ListItem>

 

 

<asp:ListItem value="2">Atlanta Core pop ----- </asp:ListItem>

 

 

</asp:DropDownList>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Svetlina Anati
Telerik team
 answered on 19 Dec 2009
7 answers
407 views
As a workaround to this thread post with no replies I'm trying to put a RadComboBox into a user control.  However, the combo box data events arent being fired like the ItemCreated event.  The data source is binding, but the combo box ends up empty when it loads. 

The user control (I left out the javascript).  
            <telerik:RadComboBox ID="RadComboBox1" Runat="server"  
                EmptyMessage="Set Team and Coach Access" AllowCustomText="true" 
                DataTextField="Person" OnClientDropDownClosed="onDropDownClosing" 
                HighlightTemplatedItems="True" ItemCreated="RadComboBox1_ItemCreated" 
                Width="214px"
                        <ExpandAnimation Type="OutElastic" Duration="300" /> 
                        <CollapseAnimation Type="InElastic" Duration="200" /> 
                        <ItemTemplate> 
                            <div onclick="StopPropagation(event)" class="combo-item-template"
                                <asp:CheckBox runat="server" ID="chk1" Checked="false" onclick="onCheckBoxClick(this)"/> 
                                <asp:Label runat="server" ID="Label1" AssociatedControlID="chk1" Text='<%# Eval("Person") %>'
                                </asp:Label> 
                            </div> 
                        </ItemTemplate>                 
            </telerik:RadComboBox> 
            <p> 
                <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' 
                                        runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'></asp:Button>&nbsp; 
                <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button>            
            </p> 
          </div> 
           
            <asp:XmlDataSource ID="XmlDataSource1" runat="server" OnDataBinding="BindData"  
                DataFile="~/TestDataSources/AccessList.xml"></asp:XmlDataSource>      

The user control code behind
 
        public void BindData(object sender, EventArgs e) 
        { 
            base.OnDataBinding(e); 
        } 
 
        protected void RadComboBox1_ItemCreated(object sender, RadComboBoxItemEventArgs e) 
        { 
            RadComboBoxItem newItem = e.Item; 
            if (newItem.Text == "Paris") 
                newItem.Enabled = false
        } 


The .net page below is what puts this user control above into a RadGrid EditFormSettings.  Its connected to a master page which wraps a ContentPlaceHolder with a RadAjaxPanel.
        <telerik:RadGrid ID="RadGrid1" runat="server"  
            AllowPaging="True" AllowSorting="True" GridLines="None"  
            ShowGroupPanel="True" Width="795px" Style="margin-left:15px;" 
        DataSourceID="XmlDataSource2" AutoGenerateDeleteColumn="True" ShowStatusBar="true" 
            AutoGenerateEditColumn="True" > 
                <MasterTableView autogeneratecolumns="False" EditMode="PopUp" CommandItemDisplay="Top"  
                datasourceid="XmlDataSource2"
                    <NoRecordsTemplate> 
                         <div>No journal entries exist yet.  Click "Add new record" above.</div> 
                    </NoRecordsTemplate>                 
                    <RowIndicatorColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                    </RowIndicatorColumn> 
                    <ExpandCollapseColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                    </ExpandCollapseColumn> 
                    <commanditemsettings addnewrecordtext="Add new Journal entry" /> 
                    <Columns> 
                        <telerik:GridBoundColumn DataField="Title" HeaderText="Title"  
                SortExpression="Title" UniqueName="Title"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Private" HeaderText="Private"  
                SortExpression="Private" UniqueName="Private"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Replies" HeaderText="Replies"  
                SortExpression="Replies" UniqueName="Replies"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Created" HeaderText="Created"  
                SortExpression="Created" UniqueName="Created"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="LastReply" HeaderText="LastReply"  
                            SortExpression="LastReply" UniqueName="LastReply"
                        </telerik:GridBoundColumn> 
                    </Columns> 
                    <EditFormSettings EditFormType="WebUserControl"  
                        UserControlName="../../UserControls/Forms/Journal.ascx"  
                        InsertCaption="New Journal Entry" PopUpSettings-Modal="true"  
                        CaptionFormatString="Journal Entry On {0}" 
                CaptionDataField="Created" > 
                        <EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
 
<PopUpSettings Modal="True"></PopUpSettings> 
                    </EditFormSettings>                 
                </MasterTableView> 
                <clientsettings allowdragtogroup="True"
                </clientsettings> 
            </telerik:RadGrid> 

So the hierarchy is
MasterPage - RadAjax Panel - ConentPlaceholder - asp.net page - RadGrid - EditForm - UserControl


Simon
Telerik team
 answered on 19 Dec 2009
1 answer
123 views
I have a RadGrid in a RadWindow as illustrated by the following code:

        <div id="DetailWindow"
            <telerik:RadWindow ID="RadWindowRealMcCoy" runat="server" VisibleOnPageLoad="false" 
                Title="Manager Returns" Width="900px" 
                Height="520px" Behaviors="Resize, Minimize, Close, Maximize, Move" 
                OffsetElementID="formRealMcCoy" Left="0px" Top="0px"  
                ShowContentDuringLoad="True" onclientclose="SaveSizeAndPosition"  
                onunload="RadWindowRealMcCoy_Unload" VisibleStatusbar="False" OnClientDragEnd="SaveSizeAndPosition"
                <ContentTemplate> 
                    <telerik:RadGrid ID="RadGridManagerHistory" runat="server"   
                        DataSourceID="ObjectDataSourceManagerReturns" GridLines="None" BorderStyle="None" BorderWidth="0px" 
                        CssClass="Ironwood" onitemdatabound="RadGridManagerHistory_ItemDataBound"
                        <MasterTableView AutoGenerateColumns="False" DataSourceID="ObjectDataSourceManagerReturns"
                        <RowIndicatorColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                        </RowIndicatorColumn> 
 
                        <ExpandCollapseColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                        </ExpandCollapseColumn> 
                            <Columns> 
                                <telerik:GridBoundColumn DataField="PeriodDate" DataFormatString="{0:MMM yy}"  
                                    DataType="System.DateTime" DefaultInsertValue="" HeaderText="Date"  
                                    SortExpression="PeriodDate" UniqueName="PeriodDate"
                                    <ItemStyle Wrap="False" HorizontalAlign="Center" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridNumericColumn DataField="PriorMonthEndBalance"  NumericType="Currency" 
                                    HeaderText="Prior Month End Cap." SortExpression="PriorMonthEndBalance"  
                                    DataFormatString="{0:C0}" UniqueName="PriorMonthEndBalance"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="ContributionsWithdrawals"  NumericType="Currency" 
                                    HeaderText="Contrib/Wdr" SortExpression="ContributionsWithdrawals"  
                                    DataFormatString="{0:C0}" UniqueName="ContributionsWithdrawals"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="BeginBalance"  NumericType="Currency"  
                                    HeaderText="Begin Capital" SortExpression="BeginBalance"  
                                    DataFormatString="{0:C0}" UniqueName="BeginBalance"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="TotalIncome" NumericType="Currency"  
                                    HeaderText="Inc/Loss" SortExpression="TotalIncome"  
                                    DataFormatString="{0:C0}" UniqueName="TotalIncome"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="EndBalance" NumericType="Currency"  
                                    HeaderText="End Capital" SortExpression="EndBalance"  
                                    DataFormatString="{0:C0}" UniqueName="EndBalance"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="YTDIncome" NumericType="Currency"  
                                    HeaderText="YTD Income" SortExpression="YTDIncome"  
                                    DataFormatString="{0:C0}" UniqueName="YTDIncome"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="MTDReturn" NumericType="Percent"  
                                    HeaderText="MTD ROR" SortExpression="MTDReturn"  
                                    DataFormatString="{0:P}" UniqueName="MTDReturn"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="QTDReturn" NumericType="Percent"  
                                    HeaderText="QTD ROR" SortExpression="QTDReturn"  
                                    DataFormatString="{0:P}" UniqueName="QTDReturn"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="YTDReturn" NumericType="Percent"  
                                    HeaderText="YTD ROR" SortExpression="YTDReturn"  
                                    DataFormatString="{0:P}" UniqueName="YTDReturn"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="MTDAttribution" NumericType="Percent"  
                                    HeaderText="MTD Attrib." SortExpression="MTDAttribution"  
                                    DataFormatString="{0:P}" UniqueName="MTDAttribution"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="QTDAttribution" NumericType="Percent"  
                                    HeaderText="QTD Attrib." SortExpression="QTDAttribution"  
                                    DataFormatString="{0:P}" UniqueName="QTDAttribution"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="YTDAttribution" NumericType="Percent"  
                                    HeaderText="YTD Attrib." SortExpression="YTDAttribution"  
                                    DataFormatString="{0:P}" UniqueName="YTDAttribution"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn DataField="Allocation" NumericType="Percent"  
                                    HeaderText="Allocation" SortExpression="Allocation"  
                                    DataFormatString="{0:P}" UniqueName="Allocation"
                                    <ItemStyle Wrap="False" HorizontalAlign="Right" /> 
                                    <HeaderStyle HorizontalAlign="Right" /> 
                                </telerik:GridNumericColumn> 
                            </Columns> 
                        </MasterTableView> 
                    </telerik:RadGrid> 
                </ContentTemplate> 
            </telerik:RadWindow>         
        </div> 
 

When I display this window in any browser other than IE7, it displays as I want it to. However in IE7, it displays with the rows expanding to occupy the entire height of the window. See the attached images. Is there a workaround to prevent the rows from expanding?

Dimo
Telerik team
 answered on 19 Dec 2009
3 answers
81 views
Hello,
         I m using Visual studio 2005 and Telerik RadControls for ASP.Net AJAX Q3 2009. I want to use list view on one of my pages. I added it  but when I tried to go to Open Layout Editor in Designer Window the application crashed. Is this a known issue? Is there a work around for this?.. Please let me know.

Thanks,
Bharani
Rosen
Telerik team
 answered on 19 Dec 2009
10 answers
151 views
Can someone point me in the right direction for the service pack download.

Thanks
Simon
Top achievements
Rank 1
 answered on 19 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?