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

In my application I have a radsplitter and 2 radmenus. On at the top of the screen (running horizontal) and the other in a radpanel (vertical). I use the sunset skin in a radskinmanager, and for some reason some of the menu items are highlighted as if it got focus or even selected. I have tried this will "forest" and the same thing. 

What is wrong? Am I missing something?
juststarting
Top achievements
Rank 2
 answered on 12 Nov 2009
1 answer
107 views

                <DetailTables> 
                    <telerik:GridTableView Name="ParentFunctions" AllowSorting="true" Width="100%"   
                        AutoGenerateColumns="false" DataKeyNames="Id"  DataSourceID="RolesGridDetailsDataSource" 
                        HierarchyLoadMode="Client" HierarchyDefaultExpanded="true">  
                          
                        <SortExpressions> 
                           <telerik:GridSortExpression FieldName="FeatureName" SortOrder="Ascending" /> 
                        </SortExpressions> 
                  
                        <Columns> 
                            <telerik:GridBoundColumn HeaderText="<%$ Resources:AdministrationLanguage, Feature %>" UniqueName="FeatureName" DataField="FeatureName" SortExpression="FeatureName" ItemStyle-Width="50%" HeaderStyle-Width="50%"/>  
                            <telerik:GridTemplateColumn HeaderText="<%$ Resources:AdministrationLanguage, Locked %>">  
                               <ItemTemplate> 
                                    <asp:CheckBox ID="LockedCheckBox" OnCheckedChanged="UpdateRoleFunction" runat="server" checked='<%# Eval("Locked") %>' ></asp:CheckBox> 
                               </ItemTemplate>   
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn HeaderText="<%$ Resources:AdministrationLanguage, PermissionLevel %>">  
                                <ItemTemplate> 
                                    <telerik:RadComboBox ID="ActionRadComboBox" runat="server" Width="100px" style="cursor:pointer" OnClientSelectedIndexChanging="ManageRolesView_SelectedIndexChanging" OnClientSelectedIndexChanged="ManageRolesView_OnSelectedIndexChanged"  /> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                        </Columns> 
                          
                        <DetailTables> 
                            <telerik:GridTableView Name="ChildFunctions" AllowSorting="true" Width="100%" AutoGenerateColumns="false" DataKeyNames="Id">  
                                <SortExpressions> 
                                   <telerik:GridSortExpression FieldName="FeatureName" SortOrder="Ascending" /> 
                                </SortExpressions> 
                                  
                                <Columns> 
                                    <telerik:GridBoundColumn HeaderText="<%$ Resources:AdministrationLanguage, Feature %>" UniqueName="FeatureName" DataField="FeatureName" SortExpression="FeatureName" ItemStyle-Width="50%" HeaderStyle-Width="50%"/>  
                                    <telerik:GridTemplateColumn HeaderText="<%$ Resources:AdministrationLanguage, Locked %>">  
                                       <ItemTemplate> 
                                            <asp:CheckBox ID="LockedCheckBox" OnCheckedChanged="UpdateRoleFunction" runat="server" checked='<%# Eval("Locked") %>' ></asp:CheckBox> 
                                       </ItemTemplate>   
                                    </telerik:GridTemplateColumn> 
                                    <telerik:GridTemplateColumn HeaderText="<%$ Resources:AdministrationLanguage, PermissionLevel %>" > 
                                        <ItemTemplate> 
                                            <telerik:RadComboBox ID="ActionRadComboBox" runat="server" Width="100px" style="cursor:pointer" OnClientSelectedIndexChanging="ManageRolesView_SelectedIndexChanging" OnClientSelectedIndexChanged="ManageRolesView_OnSelectedIndexChanged"  /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                </Columns> 
                            </telerik:GridTableView> 
                        </DetailTables> 
                    </telerik:GridTableView> 
                </DetailTables> 
Above is a snippet of the GridTableView inside of the RadGrid.

We have a problem when we set the HierarchyLoadMode to Client on a GridTableView and have a RadComboBox inside of the ItemTemplate, it does not hide the RadComboBox. If we have it set to server bind, it is extremely slow and unnecessary, so we would like to have this set to Client. Can you please direct us what to do to get this to work properly, the latest Q3 didn't seem to fix this problem.

.

 

 

 

 

 

 

 

 

 

 

 

Mike
Top achievements
Rank 1
 answered on 12 Nov 2009
1 answer
59 views

I have a master page which is inherited by one or more child pages. For a button click event in the master page, a popup should be displayed and the background of the Current Child page must be disabled/Mocked. I displayed the radwindow as a popup using javascript by calling method "radopen()".Now i want to disable the Current Child page.

Schlurk
Top achievements
Rank 2
 answered on 12 Nov 2009
1 answer
143 views
We have an app that uses the TabStrip and RadMultiView (version 2009.1.527.35) to present several pages of information to the user that they can change.  We are using a set of servers via NLB, and are using InProc Session State to keep track of the user's profile and settings.  IP Affinity is turned on so that the user is not redirected to a different server (we even brought the other servers down to test this).

If the user goes to any tab, changes a set of controls on a single page, when they submit the changes/form, the process works fine.  The script updates the backend Oracle database correctly, and returns the user to the proper page. 

If however, the user makes changes on two or more tabs and hits submit, the session state is lost and forces the user to log back in.  If this occurs, they lose the effort that they have gone through.  If they again change more than one tabs' worth of components, this process will repeat.  If they resort to changing one tab at a time, it works fine.

We are not sure if it is causing an App Pool recycle or if the object just "vanishes".  At this point we are hoping that this may be something someone else has experienced and has a fix other than using cookies or a database to store data. 
Walter Harris
Top achievements
Rank 1
 answered on 12 Nov 2009
5 answers
134 views
Hello!

Can someone tell me why my Grid Header Columns do not line up in firefox but they do line up ok in IE?

attached are 2 screenshots of the same grid, one from firefox and one from IE
Michael Constantine
Top achievements
Rank 1
 answered on 12 Nov 2009
1 answer
132 views

Hi,

vs2008

q2 2009

 

I’m using the following page as the basis for 1 of my own.

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=grid

 

The page contains:

RadProgressManager1

RadProgressArea1

 

When I’m uploading a file, sometimes the progressArea appears, sometimes it doesn’t..Why could this be?

 

Many thanks,

 

Chris

Genady Sergeev
Telerik team
 answered on 12 Nov 2009
15 answers
361 views
Hello,

Is there a simple way how to set a height of a splitter according to its content (to behave like deafault behaving of  simple html table - e.g. to have a splitter with two panels containings radgrids so that splitter height is same as height of bigger grid - and so there will be no slider inside the splitter).

Thank you
Jan Krivanek
bradley baker
Top achievements
Rank 1
 answered on 12 Nov 2009
4 answers
197 views
Hi,

I have ajaxified my radgrid with RadAjaxManager per your demo at http://www.telerik.com/community/code-library/aspnet-ajax/general/export-radgrid-content-to-excel-word-csv-pdf-with-ajax-enabled.aspx. I have also disabled the ajax on ExportToExcel().

Everything works great. However, if the data gets updated between the time the page loaded and the time the export happens, excel has the latest data, but the radgrid does not. How do you 'force' a refresh on the radgrid?

I did notice that the itemdatabound event is getting hit. So how come the itemdatabound grid does not render to the browser?
mgl mgl
Top achievements
Rank 1
 answered on 12 Nov 2009
1 answer
205 views
hi there....

I have managed to add the RadMenu to my MOSS master page and it is working fine. i have also changed the styles of font size and colors.......i have also changed the direcion of sub items to become horizontal. so the menu direction and sub menu direction are both horizontal.
My menu is generated dynamically using SiteMapDataSource.

the thing is i want to add seperators between items of the menu and a different separator between sub items.!!!
any help would be appreciated....

Thank You


Schlurk
Top achievements
Rank 2
 answered on 12 Nov 2009
4 answers
211 views
Hello,

I have placed a RadGrid within a "Web user control" (ascx) page.

But when placing an item into edit mode the page generates an error captured by IE (but not the server).

The error comes back as 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729)
Timestamp: Mon, 9 Nov 2009 15:27:17 UTC

Message: Expected ':'
Line: 108699950
Char: 683
Code: 0
URI: http://localhost:60795/Extranet2009/DefaultVB.aspx

 

But I'm uncertain how to begin troubleshooting this - after all, line 108699950 doesn't exist. When I place the control on its own page then the calendar works fine. While on the "user control" page - clicking on the calendar icon has no affect.

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="infraVB.ascx.vb" Inherits="TabStrip_Examples_ApplicationScenarios_LoadOnDemand_CustomersVB" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<telerik:RadGrid runat="server" ID="RadGrid1" Skin="Office2007"   
    DataSourceID="ObjectDataSource1" AllowPaging="True" GridLines="None"   
    AllowSorting="True" AutoGenerateColumns="False" AutoGenerateEditColumn="True">  
<MasterTableView DataSourceID="ObjectDataSource1"   
        DataKeyNames="ID">  
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
    <Columns> 
        <telerik:GridBoundColumn DataField="ID" DataType="System.Int32"   
            HeaderText="ID" ReadOnly="True" SortExpression="ID"   
            UniqueName="ID">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="CompanyID" HeaderText="CompanyID"   
            SortExpression="CompanyID" UniqueName="CompanyID" DataType="System.Int32">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="InfrastructureTypeID" HeaderText="InfrastructureTypeID"   
            SortExpression="InfrastructureTypeID" UniqueName="InfrastructureTypeID"   
            DataType="System.Int32">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="Details" HeaderText="Details"   
            SortExpression="Details" UniqueName="Details">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="Expire" HeaderText="Expire"   
            SortExpression="Expire" UniqueName="Expire" DataType="System.DateTime">  
        </telerik:GridBoundColumn> 
        <telerik:GridDateTimeColumn DataField="Expire" HeaderText="Expire"   
            SortExpression="Expire" UniqueName="column">  
        </telerik:GridDateTimeColumn> 
    </Columns> 
</MasterTableView> 
</telerik:RadGrid> 
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"   
    OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"   
    TypeName="DataSet2TableAdapters.InfrastructureTableAdapter">  
    <SelectParameters> 
        <asp:SessionParameter Name="ID" SessionField="CompanyID" Type="Int32" /> 
    </SelectParameters> 
</asp:ObjectDataSource> 
<asp:ObjectDataSource ID="ObjectDataSource2" runat="server"   
    OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"   
    TypeName="DataSet2TableAdapters.InfrastructureTypeTableAdapter">  
</asp:ObjectDataSource> 
Gavin Russell
Top achievements
Rank 1
 answered on 12 Nov 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?