Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views

Hello,

I'm using Telerik Rad Tag Cloud control with ajax and i want to add a different style to the item that was clicked.

I tried with OnClientItemClicked and while the loading panel is active on my tag cloud control, it displays the correct style of the clicked item, but when it finish the ajax request, it loses the style and gets to its default.

When i click one item, its behavior is send a request to server side so i can refresh other controls on my page, which are properly refreshed.

How can i fix this? Can someone help me?

 Thank you.

Marin Bratanov
Telerik team
 answered on 01 May 2015
1 answer
111 views

Hi Dear

I test radgrid shortcut (keyboard navigation) but InitInsertKey not work.Also i test your online demo but it is bot work:

 <ClientSettings EnableRowHoverStyle="true" AllowKeyboardNavigation="true">

 <KeyboardNavigationSettings EnableKeyboardShortcuts="true" InitInsertKey="Z" />

 Of course my grid is in batch edit mode.Meanwhile i need a row number in batch edit grid but i dont know to add.for a normal rid i use this :

<telerik:GridTemplateColumn UniqueName="RowNo" HeaderText="<%$ Resources:Resource, row %>"
                AllowFiltering="false" HeaderStyle-Width="40px" DataField="IDAnbarsanad" Aggregate="Count" FooterAggregateFormatString="{0:N0}" >
                    <ItemTemplate>
                        <%# (Container.ItemIndex+1).ToString() %>
                    </ItemTemplate>
                    <EditItemTemplate>
                                    
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>

Please help me.

Viktor Tachev
Telerik team
 answered on 01 May 2015
1 answer
82 views

Hello 

I made one booking from 29 to 10.

I can see it is rendering good in Day and Week View of RadScheduler but in Month View it is only showing Appointments on StartDay, Week's FirstDay and EndDay as shown in attached screen.

I want to display this Appointment in all day from 29 to 10.

I use telerik's 2013, 3, 1217, 35 version.

Please reply fast.

 

Plamen
Telerik team
 answered on 01 May 2015
1 answer
74 views

I get following error :

Specified argument was out of the range of valid values. 

When I read RadNumericTextBox like this 

 RadNumericTextBox numTextBox = (RadNumericTextBox)editItem["TextCol1"].Controls[0];

Issue is not occuring When I use old Telrik UI Dll. (2010)

It occurs only with latest dll (2014)

 

Please let us know How to read with the latest dll?

 

Eyup
Telerik team
 answered on 01 May 2015
1 answer
200 views

Hi

I am struggling to filter data in Scheduler. Currently i am populating appointment data with station name. I am using two  dataSource ID. One is use to bind appointment data . Another datasource ID is use to populate Station Name(<telerik:ResourceType>). Things are working fine. Now i would like to apply a filter. My requirement is by default i need to populate all stations with appointments. In my page, i am having text box. When user enters any station name in the textbox, i should filter data accordingly. (All my code is in client side now). Can you please help me.

Regards

Arima

 

Plamen
Telerik team
 answered on 01 May 2015
1 answer
5.7K+ views
Hi,
how to get the datetime value using javascript by combining the values of RadDatePicker and RadTimePicker

thanks in advance
Jiju
Eyup
Telerik team
 answered on 01 May 2015
3 answers
270 views

Hi Team,

   I'm using Telerik.Web.UI 2010.3.1317.20 on my web page. I would like to add two date picker on grid filter. I can add with below code. I don't see filter menu beside the date picker after i added. I saw Filter Menu if i does not use "Filter Template". How may i archive get my gold.

 

Best Regards,

Here is my code snap.

<telerik:GridBoundColumn DataField="Order_Date" DataType="System.DateTime" FilterControlAltText="Filter Order_Date column"
                            HeaderText="Order Date" SortExpression="Order_Date" UniqueName="Order_Date" DataFormatString="{0:dd-MMM-yyyy}"
                            HeaderStyle-HorizontalAlign="center" ItemStyle-HorizontalAlign="center" AllowFiltering="true">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" />
                            <FilterTemplate>
                                From:
                                <telerik:RadDatePicker ID="dtpOrdDateFrom" runat="server" Width="140px" MinDate="01-01-1753" />
                                To:
                                <telerik:RadDatePicker ID="dtpOrdDateTo" runat="server" Width="140px" MinDate="01-01-1753" />
                            </FilterTemplate>
                        </telerik:GridBoundColumn>

Eyup
Telerik team
 answered on 01 May 2015
3 answers
83 views

We are experiencing an issue where, when right clicking on a file in the RadFileExplorer, the file is sometimes deleted immediately. No confirmation dialog is displayed, as is usually the case when deleting files.

It only seems to happen in Safari and seems to happen intermittently. We have reproduced it on both Mac and Windows platforms.

I'm just wondering if this has been reported before or if you have any suggestions.

Any help you can offer will be appreciated.

Thanks

Vessy
Telerik team
 answered on 30 Apr 2015
12 answers
362 views
Hi all how can I disable edit option in radgrid. I would like to disable edit option for all the rows except first row. I would like to hide the edit icon or I would like to show alert as you can edit the old record 

My design is as follows for edit icon

<telerik:GridEditCommandColumn ButtonType="ImageButton" EditImageUrl="images/Edit.gif"
                    UniqueName="EmpID" />
Stacy
Top achievements
Rank 1
 answered on 30 Apr 2015
2 answers
209 views

We have several pages where we have successfully exported RadGrid contents to Excel using the ExportToExcel() method.  However, we now have a situation where we have a multi-page wizard using a MultiView controls and one of the View controls has a RadGrid on it with a preview of some results.  The users would like to be able to export this RadGrid to Excel.  However, the typical code does not work:

 

        protected void ExportToExcelButton_Click(object sender, EventArgs e)
        {
            PreviewGrid.ExportSettings.IgnorePaging = true;
            PreviewGrid.ExportSettings.OpenInNewWindow = true;
            PreviewGrid.MasterTableView.ExportToExcel();
        }

The RadGrid is fairly simple:

 

<telerik:RadGrid ID="PreviewGrid" AutoGenerateColumns="False" 
                    OnNeedDataSource="PreviewGrid_NeedDataSource" 
                    runat="server" Width="730px" Height="362px">
    <ClientSettings>
        <Selecting EnableDragToSelectRows="false"/>
        <Scrolling AllowScroll="true" UseStaticHeaders="True"></Scrolling>
    </ClientSettings>
    <MasterTableView DataKeyNames="Key" NoMasterRecordsText="Nothing would be generated." CommandItemDisplay="Top" >
        <CommandItemTemplate>
            <div class="floatRightDiv" style="margin-top: 3px;margin-left: 700px;display:none;">
                <asp:Button ID="ExportToExcelButton" runat="server" CssClass="rgExpXLS" OnClick="ExportToExcelButton_Click" Visible="false"/>
            </div>
        </CommandItemTemplate>  
        <Columns>
            <telerik:GridBoundColumn UniqueName="Field1" DataField="Field1" HeaderText="Field1"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Field2" DataField="Field2" HeaderText="Field2"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Field3" DataField="Field3" HeaderText="Field3"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Field4" DataField="Field4" HeaderText="Field4"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Field5" DataField="Field5" HeaderText="Field5"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Amount" DataField="Amount" HeaderText="Amount" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right"></telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

 

How can we export from a grid in a window?

Richard
Top achievements
Rank 1
 answered on 30 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?