Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
752 views
Hi,

I am using FormTemplate of EditFormSettings of Data Grid to add/modify records. I want to place the popup center to screen instead of relative to row/grid. I am using popup as modal popup (PopUpSettings-Modal="true").

Thanks in advance.

Thanks & Regards,
Sumanth
Sumanth
Top achievements
Rank 1
 answered on 09 Dec 2010
1 answer
199 views
Hi,

I have 10 GridBoundColumns in RadGrid1. I want to hide and unhide columns from outside grid. Let say I have 2 buttons when user click on first button i want to hide first five columns and when user click on second button i want to hide last five columns.

Can you please tell me how do i do this?

Many Thanks
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2010
1 answer
170 views
I have created a custom control that uses the newest telerik version. I have now compiled that into a dll and want to reuse it in some projects what use an older version of the telerik controls. Is this possible?

The newest version is in the GAC but when I try to compile the old project I get an error.
Princy
Top achievements
Rank 2
 answered on 09 Dec 2010
1 answer
71 views
Hi,

Page Size is not appearing in grid footer after once user set the page size equal to maximum number of record. For example, if there are 600 total number of records and page size is initially set to 25 records per page, later when in run time user set it to 600 per page, then after that page size is not appearing to reset it back to 25 records per page.

Please suggest.

Regards,
Krunal
Princy
Top achievements
Rank 2
 answered on 09 Dec 2010
3 answers
227 views
I have a radGrid that has a gridclientselectcolumn. The problem I am having is when I check the header check box, only the records on the current grid page are selected/deselected. I need to select/deselect "All" the records for the grid, irregardless of how many pages the grid contains. How do you do this from the server side code (vb - vs2008) 
dhuss
Top achievements
Rank 1
 answered on 09 Dec 2010
2 answers
77 views

I have 2 combobox with checkbox generated on server side. The id of combo is depending on some event that I don’t know on client side. I have click event of the checkbox on client side. I have spent some times with the html generated by Telerik with those control, and I don’t see any way to associate the check box with the combobox. Is there any way server side (adding some properties while binding checkbox for example to indicate the combo ID), or on client side with jQuery. I tried the $('div.RadComboBox_Default’) but I get both combo. Any help would be greatly appreciated.

 

Emmanuel
Top achievements
Rank 1
 answered on 08 Dec 2010
4 answers
167 views
Hi,

I want to use a grid with some command item template and one of these functionalities is Export to excel, but manually triggered.

The problem is that when I use an ajaxfied grid the export doesn't work, but if don't it woks fine.

Here is the aspx code:

<telerik:RadGrid runat="server" ID="rg_leads" AutoGenerateColumns="false" DataSourceID="ods_leads" AllowMultiRowSelection="true"  
            AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" OnItemCommand="rg_leads_ItemCommand"
            <HeaderContextMenu EnableAutoScroll="True"></HeaderContextMenu> 
            <ClientSettings> 
                <Selecting AllowRowSelect="true" /> 
            </ClientSettings> 
            <ExportSettings IgnorePaging="true" OpenInNewWindow="false" ExportOnlyData="true" FileName="exporteddata.xls">  
            </ExportSettings> 
            <MasterTableView IsFilterItemExpanded="false" CommandItemDisplay="Top"
                <CommandItemTemplate> 
                    <telerik:RadToolBar runat="server" ID="rtb_toolBar"  
                        OnButtonClick="rtb_toolBar_ButtonClick"
                        <Items> 
                            <telerik:RadToolBarButton Text="Apply filter" CommandName="FilterRadGrid" ImageUrl="img/filter.png" ImagePosition="AboveText"  /> 
                            <telerik:RadToolBarButton IsSeparator="true"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarButton ImageUrl="img/delete32.png" ImagePosition="AboveText" Text="Delete" CommandName="MassiveDelete"></telerik:RadToolBarButton> 
                            <telerik:RadToolBarDropDown ImagePosition="AboveText" ImageUrl="img/addToList32.png" Text="Add To List" OnDataBinding="DropDownDataBinding"
                                <Buttons> 
                                   <telerik:RadToolBarButton runat="server" CommandName="NewList2" > 
                                       <ItemTemplate> 
                                           <telerik:RadTextBox ID="rtb_newList" runat="server" Text="New List" onclick="this.value = ''" CssClass="textboxNewList"
                                           </telerik:RadTextBox> 
                                           <asp:ImageButton ID="ib_newList" runat="server" ImageUrl="img/add32.png" CommandName="NewList" CssClass="imageNewList" /> 
                                       </ItemTemplate> 
                                   </telerik:RadToolBarButton> 
                               </Buttons> 
                            </telerik:RadToolBarDropDown> 
                            <telerik:RadToolBarButton ImageUrl="img/export.png" Text="Export" CommandName="Export" ImagePosition="AboveText"></telerik:RadToolBarButton> 
                        </Items> 
                    </telerik:RadToolBar> 
                </CommandItemTemplate> 
                <Columns>...</Columns> 
           </MasterTableView> 
</telerik:RadGrid> 
 

And I've a Panel with all the content of the page called Panel1, so the ajax manager code looks like this.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="Panel1"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 

How can I do to take arround the ajax call when I use the export button, but not when I use other tools like remove?

Thanks
Daniel
Telerik team
 answered on 08 Dec 2010
5 answers
130 views
Hello,

We are currently trialing RadScheduler for a project which involves printing out several room booking sheets for various locations throughout an educational institution.  Rooms are grouped into Campuses. We need to be able to print out all the booking for the rooms in a certain campus for a specified week in a grid format. These printouts are then posted outside the room.

We have managed to use RadScheduler to successfully print out the room bookings for a single room in a campus for a specified week. However we can't seem to get it to printout multiple rooms at the same time. We figured that if we could create an instance of RadScheduler during runtime, we could create a datasource and bind the instance of radscheduler to it. We could loop through a counter to create as many instances of RadScheduler as required to print out room bookings for all the rooms in the campus.

Is there a way to achieve this?


Regards


Ciph
Peter
Telerik team
 answered on 08 Dec 2010
0 answers
72 views
Hi

I am using RadComboBox as below


<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" ShowToggleImage="True"
                                            Style="vertical-align: middle;" OnClientDropDownOpened="OnClientDropDownOpenedHandler"
                                            EmptyMessage="Choose a destination" ExpandAnimation-Type="None" CollapseAnimation-Type="None">
                                            <ItemTemplate>
                                                <div id="div1">
                                                    <telerik:RadTreeView runat="server" ID="RadTreeView1" OnClientNodeClicking="nodeClicking"
                                                        Width="100%" Height="140px">
                                                        <Nodes>
                                                        </Nodes>
                                                    </telerik:RadTreeView>
                                                </div>
                                            </ItemTemplate>
                                            <Items>
                                                <telerik:RadComboBoxItem Text="" />
                                            </Items>
                                        </telerik:RadComboBox>

I am saving Full Path in DB like

string Path = "" ;
       foreach (RadComboBoxItem myItem in RadComboBoxIn.Items)
       {
           RadTreeView myTree = (RadTreeView)myItem.FindControl("RadTreeView1");
           Path = myTree.SelectedNode.FullPath;
       }

So now onload i want to set Combo and tree to that FullPath which i saved in DB.

thanks
Muhammad Imran
Top achievements
Rank 1
 asked on 08 Dec 2010
6 answers
532 views
I haven't tried to reproduce this in a simpler ASPX page but in my solution if I use an asp:Button button then when the postback occurs the RadEditor1.Text value is correct and shows the changes that was made.

However, if I use an asp:LinkButton when it's clicked the post back does NOT show the chnages that was just made but rather shows the original content that was put into the rad editor.

Any thoughts?

Is there something about a LinkButton that causes the editor trouble?  This is on .NET 4.0 using the 40 library from 2010 Q2.

Thanks,
Kevin
Kevin Warnke
Top achievements
Rank 1
 answered on 08 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?