Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views
Your documentation suggests set_ajaxSettings is useable.

I need to decide in javascript whether an item  from a toolbar or panelbar control (based on its value) should update an iframe or not.

If it does then I need to add the toolbar/panelbar to the ajaxSettings of the AjaxManager.



Martin
Yavor
Telerik team
 answered on 01 Jul 2009
1 answer
251 views
Hi Telerik Guys !

 I'm enclosing the SCREEN SHOTS of my DEMO project at the below mentioned location :-

http://www.picamatic.com/show/2009/06/29/06/52/4176817_1024x768.jpg

http://www.picamatic.com/show/2009/06/29/06/53/4176824_1024x768.jpg
Name of the file are :-
(a.) GRID-I.jpg
(b.) GRID-II.jpg



Please acknowledge the same & help me sort out my problem.

I have encircled the issues that are creating problems.
 
(i.e. 1.  HORIZONTAL SCROLL bars appear at the end of the page that allow the dislocation of the web page ).
       2.  VERTICAL GRID LINES DOES NOT APPEAR 
       
I'm also enclosing the detailed HTML code as below :-

 <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="Vertical" 
           SkinID="DemoRadGrid" Skin="Default" Width="98%">  
           <HeaderContextMenu EnableTheming="True" Skin="Default">  
               <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
           </HeaderContextMenu> 
           <MasterTableView Frame="Void" AutoGenerateColumns="False" DataKeyNames="city_id" DataSourceID="SqlDataSource1">  
               <NoRecordsTemplate> 
                   No records to display !  
               </NoRecordsTemplate> 
               <Columns> 
                   <telerik:GridBoundColumn DataField="city_id" DataType="System.Int32" HeaderText="City ID" 
                       ReadOnly="True" SortExpression="city_id" UniqueName="city_id">  
                       <HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" Width="20%" /> 
                   </telerik:GridBoundColumn> 
                   <telerik:GridBoundColumn DataField="country_id" DataType="System.Int32" HeaderText="Country ID" 
                       SortExpression="country_id" UniqueName="country_id">  
                       <HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" Width="20%" /> 
                   </telerik:GridBoundColumn> 
                   <telerik:GridBoundColumn DataField="city_name" HeaderText="City Name" SortExpression="city_name" 
                       UniqueName="city_name">  
                       <HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" Width="30%" /> 
                   </telerik:GridBoundColumn> 
                   <telerik:GridBoundColumn DataField="city_description" HeaderText="City Description" 
                       SortExpression="city_description" UniqueName="city_description">  
                       <HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" Width="30%" /> 
                   </telerik:GridBoundColumn> 
               </Columns> 
           </MasterTableView> 
       </telerik:RadGrid> 
       <asp:SqlDataSource ID="SqlDataSource1" runat="server"   
           ConnectionString="<%$ ConnectionStrings:ajay_practiceConnectionString %>"   
           SelectCommand="SELECT [city_id], [country_id], [city_name], [city_description] FROM [city]">  
       </asp:SqlDataSource> 

I have used the following code with in the SKIN FILE :-

<telerik:RadGrid runat="server" Skinid="DemoRadGrid">
    <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="true"  AllowColumnsReorder="true" ReorderColumnsOnClient="true">
     <Resizing AllowRowResize="True" EnableRealTimeResize="True" ClipCellContentOnResize="true" ResizeGridOnColumnResize="True" AllowColumnResize="True"></Resizing>
        <Scrolling AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" ScrollHeight="100px" />
        <Selecting AllowRowSelect="true" />
    </ClientSettings>
</telerik:RadGrid><telerik:RadGrid runat="server" Skinid="DemoRadGrid">


Please help !



Dimo
Telerik team
 answered on 01 Jul 2009
3 answers
117 views
Hello,

When adding a new meeting, I wondering how to preselct the resource in the edit detail view.
With the following control I want to have a preselection on TeamMember when I add a meeting on the related line (for example to preselect John Doe if I add a meeting on the line of John Doe). As per today code, it is not working (see below).
Thank you for your help
David

 

    <telerik:RadScheduler ID="RadScheduler1" runat="server"   
        DataSourceID="RP_NG_Assignment"   
        HoursPanelTimeFormat="htt"   
        SelectedView="TimelineView" 
        TimelineView-NumberOfSlots="28" 
        TimelineView-SlotDuration="1.00:00:00" 
        GroupBy="TeamMember"   
        GroupingDirection="Vertical"   
        ValidationGroup="RadScheduler1"   
        DayStartTime="08:00:00" 
        DayEndTime="17:00:00" 
        TimeZoneOffset="01:00:00" 
        ColumnWidth="50px" 
        Height="100%" 
        DataEndField="End"   
        DataKeyField="ID"   
        DataStartField="Start"   
        DataSubjectField="Subject"   
        Skin="Office2007" > 
        <ResourceTypes> 
            <telerik:ResourceType DataSourceID="RP_NG_User" ForeignKeyField="UserID" KeyField="GlobeID" Name="TeamMember" TextField="FullName" /> 
            <telerik:ResourceType DataSourceID="RP_NG_Roles" ForeignKeyField="RoleID" KeyField="ID" Name="Roles" TextField="Name" /> 
        </ResourceTypes> 
    </telerik:RadScheduler> 
Peter
Telerik team
 answered on 01 Jul 2009
4 answers
800 views
I have a div with its own id in the ItemTemplate of a GridTemplateColumn of a RadGrid.
 How can I access this div from the code behind?
If it was a div in the web page I could access it just by typing its id but this method does not work now that it is nested inside the grid.
Thank you very much.
Sebastian
Telerik team
 answered on 01 Jul 2009
1 answer
73 views
I am using Beta Q2 Ajax and am having a problem getting paging to work when used with an XML DataSource. The total number of rows and the page numbers show up on initial display, but when I click on a page number, the grid disappears altogether!

One more thing, I have the RadGrid inside of a MultiPageView.
Pavlina
Telerik team
 answered on 01 Jul 2009
6 answers
299 views
I have a tree that is 7-8 levels deep.  I decided that node levels 0,1,2,3 need to have thier expand/collapse ability disabled and I did it like this:
foreach (RadTreeNode node in radtree.GetAllNodes())  
{  
    int intTest = node.Level;  
    node.Expanded = true;  
    if(intTest <= 3)  
    {  
        node.Enabled = false;  
        node.ForeColor = System.Drawing.Color.Black;  
    }  
 
} 

What I want to know, what property on RadTreeNode lets me change the cursor style?  I was thinking it was RadTreeNode.Attributes["cursor"] = "pointer";  but this doesnt seem to work.

J
J
Top achievements
Rank 1
 answered on 01 Jul 2009
1 answer
365 views
Hello

I have a grouped radgrid. When the one of the groups in the grid is expanded or collapsed the grid makes an ajax postback to the server to populate the expanded group. The postback uses a rad loading panel. The problem I am having is that the rad loading panel covers the entire grid when the user expands a group which makes the grid effectively disappear. Is there anyway to have the loading panel appear just on the space where the details table will appear or failing that to at least keep the column headers of teh grid visible

i'm using q3 2008

thanks
Dimo
Telerik team
 answered on 01 Jul 2009
1 answer
285 views
hi,
i am using radgrid controls for my project.
 i have the following problems.
1. i am using Eval method to bind template fields of the grid. the problem is when page loads and there is no data in the grid then it is not showing its headers , i have marked true the showheaderwhennorecord property of the grid to true.
2. the datasource to the grid is dataset and thos dataset is result of stored procedures not direct connection strings.
so tell me how to update records in this grid.
3. let me know how to use edit,update,cancel commands of radgrid to update data inform mode of edit.
its urgetn please help me as soon as possible.
Veli
Telerik team
 answered on 01 Jul 2009
1 answer
94 views
Hi all..
       Is there any event we could call while expanding or collapsing the grid. Beacuse if am using the filtering with the grid, grouping is working before filtering only.

Plz help me


regards,
Appu

Veli
Telerik team
 answered on 01 Jul 2009
3 answers
137 views
Clicking on the "paste" toolbar button in Firefox, a dialog appears which says "Please use CTRL+V to Paste". But when one uses the shortcut CTRL+V, the same dialog appears again! This instruction is useless and hence, nobody can paste content into the editor field. The only way is to use the "paste as plain text". But clearly, this is not the same.

In ToolsFile.xml, the button is defined by <tool name="Paste" shortcut="CTRL+V" />.

Surprisingly enough, this issue occurs only on some machines, but all have the same configuration.

Stanimir
Telerik team
 answered on 01 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?