Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
Hello! There is a problem with rad window closing when few radwindows are opened. The problem is when I close one window closing event fires on other windows. I have tried to attach a small project where shown that when three windows are opened and third window is closed by button click the closing event on second window was fired. If it's possible to fix that? Or how can I attach a project for you to show a problem?
Marin Bratanov
Telerik team
 answered on 05 Mar 2013
2 answers
142 views
I am using ajax rag grid 2012Q2
When I press some page number or on the header to sort the UpdateProgress is moving constantly and following string appears above the grid:
26896|updatePanel|ctl00_ctl00_MainContent_MainContent2_ctl00_ctl00_MainContent_MainContent2_RadGrid1Panel|
I should say that after I press one of mentioned buttons the grid does what it supposed to do - goes to second page or applies sorting, but then whatever I press (except export buttons) it is not responding.
Here is the code of my grid. Take into account that I tried bith way of data binding : simple and advance(NeedDataSource) and that didn't influence my case
<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="True" CellSpacing="0" GridLines="None" Font-Size="Smaller" AllowSorting="True" AutoGenerateColumns="False" OnPreRender="RadGrid1_PreRender" DataSourceID="edsEnrollment" EnableViewState="False" >
                <ExportSettings HideStructureColumns="true" IgnorePaging="true" ExportOnlyData="true">
                </ExportSettings>
                <MasterTableView DataKeyNames="ContractPaymentID" CommandItemDisplay="Top" TableLayout="Auto" DataSourceID="edsEnrollment" EnableViewState="False">
 
                    <CommandItemSettings ShowExportToWordButton="true" RefreshText="განახლება" ShowAddNewRecordButton="false" ShowExportToExcelButton="true"
                        ShowExportToCsvButton="true"></CommandItemSettings>
 
                    <PagerStyle Mode="NextPrevNumericAndAdvanced" PageSizeLabelText="გვერდის ზომა:"></PagerStyle>
 
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn DataField="ContractNumber" FilterControlWidth="30px" FilterControlAltText="Filter ContractNumber column" HeaderText="ხელშ №" SortExpression="ContractNumber" UniqueName="ContractNumber" DataType="System.DateTime" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="True">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ClientName" FilterControlAltText="Filter ClientName column" HeaderText="კლიენტი" ReadOnly="True" SortExpression="ClientName" UniqueName="ClientName" DataType="System.String" CurrentFilterFunction="Contains" AutoPostBackOnFilter="True" FilterControlWidth="70px">
                        </telerik:GridBoundColumn>
                        <telerik:GridNumericColumn DataField="Year" DataType="System.Int32" FilterControlAltText="Filter Year column" HeaderText="დარიცხვის წელი" ReadOnly="True" SortExpression="Year" UniqueName="Year" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="70px">
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn DataField="Month" DataType="System.Int32" FilterControlAltText="Filter Month column" HeaderText="დარიცხვის თვე" SortExpression="Month" UniqueName="Month" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="30px">
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn DataField="Amount" DataFormatString="{0:####.##}" DataType="System.Decimal" FilterControlAltText="Filter Amount column" HeaderText="თანხა" ReadOnly="True" SortExpression="Amount" UniqueName="Amount" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="40px">
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn DataField="AmountPayed" DataFormatString="{0:####.##}" DataType="System.Decimal" FilterControlAltText="Filter AmountPayed column" HeaderText="გადახდილი" SortExpression="AmountPayed" UniqueName="AmountPayed" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="40px">
                        </telerik:GridNumericColumn>
                        <telerik:GridBoundColumn DataField="PaymentDate" DataFormatString="{0:dd/MM/yyyy}" DataType="System.DateTime" FilterControlAltText="Filter PaymentDate column" HeaderText="გადახდის თარიღი" SortExpression="PaymentDate" UniqueName="PaymentDate" CurrentFilterFunction="Between" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="80px">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PaymentType" FilterControlAltText="Filter PaymentType column" HeaderText="ფორმა" SortExpression="PaymentType" UniqueName="PaymentType" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="80px">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Notes" DataType="System.String" FilterControlAltText="Filter Notes column" HeaderText="შენიშვნები" SortExpression="Notes" UniqueName="Notes" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="50px">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PaymentRegisteredOn" DataFormatString="{0:dd/MM/yyyy}" DataType="System.DateTime" FilterControlAltText="Filter PaymentRegisteredOn column" HeaderText="თარიღი" SortExpression="PaymentRegisteredOn" UniqueName="PaymentRegisteredOn" CurrentFilterFunction="Between" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="80px">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="REgistrator" DataType="System.String" FilterControlAltText="Filter REgistrator column" HeaderText="დაარეგისტრირა" SortExpression="REgistrator" UniqueName="REgistrator" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="True" FilterControlWidth="50px">
                        </telerik:GridBoundColumn>
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                </MasterTableView>
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
            </telerik:RadGrid>
            <asp:EntityDataSource ID="edsEnrollment" runat="server" ConnectionString="name=AuditEntities" DefaultContainerName="AuditEntities" EnableFlattening="False" EntitySetName="vEnrollements">
            </asp:EntityDataSource>

 
Eyup
Telerik team
 answered on 05 Mar 2013
2 answers
144 views
Scenario:
  1. Have one user control (ucControl1.ascx)
  2. Have below numeric text box with onBlur client event in ucControl1.ascx
    <tr>
                            <td>
                    Number:
                            </td>
                            <td>
                                <telerik:RadNumericTextBox ID="txtNumber" runat="server" Type="Number"
                                    NumberFormat-DecimalDigits="0">
                                    <ClientEvents OnBlur="OnBlur" />
                                </telerik:RadNumericTextBox>
                                <script type="text/javascript">
                                    function OnBlur(sender, args) {
                                        alert('Hello');
                                    }
                                </script>
                            </td>
                        </tr>
  3. Usercontrol is visible=false on page load.
  4. Usercontrol get visible dynamically from page on some event.
  5. Getting error "Error: 'OnBlur' is undefined" when I set visible=true for user control (i.e. ascx) from submit button click event
  6. I am using RadAjaxManager for all post back. Have also put user control in ajax manager setting. Please see below
    <telerik:AjaxSetting AjaxControlID="btnSubmit">
                    <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="ucControl1" LoadingPanelID="radAjaxLoadingPanel" />
                    </UpdatedControls>
    </telerik:AjaxSetting>

Can you please help me in this? It's urgent for me...

Thanks,
Vatsal

Vatsal
Top achievements
Rank 2
 answered on 05 Mar 2013
4 answers
281 views
Hi,

How to disable a radmenu item based on the RadListBox Item checked state?

Thank you,
Ben.
Ben
Top achievements
Rank 1
 answered on 05 Mar 2013
1 answer
130 views
Hi, I'm trying to implement a custom CreateUserWizard asp control in my web site (html5, kendo and jquery based)

as soon as I insert the CreateUserWizard control I get the following error

Uncaught TypeError: Object [object Object] has no method 'kendoPanelBar'

I saw on that page that that control is not compatible with RadAjax.

is there any news about it, or any workaround? 
I don't understand what that "...CreateUserWizard controls whose contents have not been converted to editable templates." means..

Any suggestion would be really appreciated! 

Thanks
Fabio


Maria Ilieva
Telerik team
 answered on 05 Mar 2013
10 answers
275 views
Hi All,

I have a grid with a GridDropDownColumn in it and have it bound to a datasource.  All seems to work well when I Insert into the grid, however, when I got to Edit the record, the drop down list in the column does not populate with all the datasource values.  In fact, it only populates with the value that the record is assigned to in the parent datasource.

I've noticed this also happens in the telerik example here in the second grid that allows editing.  If you edit the first recored you'll notice that the only value that is available to the list is Seattle.  However, if you Add a new record you have access to all the values.

What's going on here?

thanks
Jordan
Radoslav
Telerik team
 answered on 05 Mar 2013
4 answers
215 views
Is there something that describes the default skin's sprite images? Each component's dimensions, position, and the state it represents? It's hard to know how to customize them without this. Thanks
Hristo Valyavicharski
Telerik team
 answered on 05 Mar 2013
1 answer
336 views
<MasterTableView DataKeyNames="AccomMasterId,DestinationId" ShowGroupFooter="true">                        
                        <DetailTables>
                            <telerik:GridTableView DataKeyNames="AccomDetailId,ItemID" Width="100%" runat="server"
                                CommandItemDisplay="None" InsertItemDisplay="Bottom" ShowHeader="true" Name="Accommodation"
                                EditMode="InPlace">                             
                               
                                <Columns>                                    
                                   
                                    <telerik:GridBoundColumn DataField="ContactMaster.CompanyName" FilterControlAltText="Filter CompanyName column"
                                        HeaderText="CompanyName" SortExpression="CompanyName" UniqueName="CompanyName"
                                        Visible="false">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridTemplateColumn HeaderText="Supplier" HeaderStyle-HorizontalAlign="Left">
                                        <EditItemTemplate>
                                            <telerik:RadComboBox ID="rcboSupplierDes" DataTextField="SupplierDescription" EnableLoadOnDemand="True"
                                                DataValueField="ItemID" HighlightTemplatedItems="true" OnItemsRequested="rcboSupplierDes_ItemsRequested"
                                                OnSelectedIndexChanged="OnDescriptionIndexChanged" AutoPostBack="true" ItemsPerRequest="10"
                                                runat="server" Width="300px">
                                                <ItemTemplate>
                                                    <ul>
                                                        <%# DataBinder.Eval(Container, "Text")%>
                                                        <%# DataBinder.Eval(Container, "Attributes['SupplierDescription']")%>
                                                    </ul>
                                                </ItemTemplate>
                                            </telerik:RadComboBox>
                                        </EditItemTemplate>
                                        <FooterTemplate>
                                            <table>
                                                <tr>
                                                    <td>
                                                        
                                                        <asp:Panel ID="pnlDest" Visible="false" runat="server">
</panel>

</footertemplate>

panel set visible false..i want true in itemcommand...get id using findcontrol but not display panel
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2013
1 answer
91 views
The default layout group by headers is like this:

Received        FolderName        Size
>Received from date: Sunday, March 28, 2010
3/28/2010        abc@aol.com    34k
3/28/2010        def@aol.com     31k
3/28/2010        ghi@aol.com      25k
>Received from date: Monday, March 29, 2010
3/29/2010 abc@aol.com 34k
3/29/2010 def@aol.com 31k
3/29/2010 ghi@aol.com 25k

Is there any way to have the layout like this, with the headers repeated within the group by bands?

>Received from date: Sunday, March 28, 2010
Received        FolderName    Size
3/28/2010       abc@aol.com   34k
3/28/2010       def@aol.com    31k
3/28/2010       ghi@aol.com    25k
>Received from date: Monday, March 29, 2010
Received        FolderName     Size
3/29/2010       abc@aol.com   34k
3/29/2010       def@aol.com    31k
3/29/2010       ghi@aol.com     25k

Kostadin
Telerik team
 answered on 05 Mar 2013
5 answers
138 views
Hi, I have a radGrid with GridTemplateColumns with following ClientSettigns settings.  The first time the UpdatePanel gets loaded the radGrid can scroll horizontally as expected.  However on the second refresh of the UpdatePanel, I lose the ability for the columns to scroll horizontally along with the rest of the data.  When scroll, the data moves side-to-side but the headers remain "fronzen".  Thanks, Dave.

<ClientSettings>

<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1"></Scrolling>

<ClientSettings>


Pavlina
Telerik team
 answered on 05 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?