Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
225 views
I have read most, if not all, of the posts on this subject, but none of them correct my issue.

I have a grid with frozen columns and, when I use the horizontal scroll bar, scolling to the right does not bring all of the columns into view. If I remove the frozen columns, it works just fine.

  1. All columns have a defined width.
  2. I am using static headers.
  3. I have tried setting the width to a value rather than letting it default to 100%.

The page is defined (in part) as:

<div id="FormWrapper" style="width95%height95%margin0px auto">
	<form id="DeviceStatusForm" runat="server">
	<asp:Panel ID="Panel1" runat="server" CssClass="RaisedPanel">
		<div id="ContentDiv" class="Content">
			<div id="ReportGridDiv">
				<telerik:RadGrid ID="ReportGrid" runat="server" AllowPaging="True" AllowSorting="True"
					PagerStyle-AlwaysVisible="true" PageSize="50" GridLines="None" DataSourceID="GridDataSource"
					GroupingEnabled="False" AutoGenerateColumns="False">
					<ClientSettings EnableRowHoverStyle="true">
						<Selecting AllowRowSelect="False" />
						<ClientEvents OnRowContextMenu="ReportGrid_OnRowContextMenu" />
						<Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="1" ScrollHeight="20em" />
						<Resizing AllowColumnResize="True" AllowResizeToFit="True" EnableRealTimeResize="False"
						ResizeGridOnColumnResize="False" ShowRowIndicatorColumn="False" />
					</ClientSettings>
					<AlternatingItemStyle CssClass="rgCommandRow" />
					<MasterTableView DataSourceID="GridDataSource" DataKeyNames="AssetId,MacId" ClientDataKeyNames="AssetId, MacId, ReportDate, StatusId"
						TableLayout="Fixed" CommandItemDisplay="Top" PageSize="10" HorizontalAlign="NotSet">
						<CommandItemSettings ShowAddNewRecordButton="False"></CommandItemSettings>
					      <PagerStyle AlwaysVisible="True" />
					</MasterTableView>
					<PagerStyle AlwaysVisible="True" />
				</telerik:RadGrid>
			</div>
		  </div>
	</asp:Panel>
	</form>
</div>

The styles used are:
.RaisedPanel
{
	margin-top20px;
	margin-bottom30px;
	-moz-border-radius12px;
	-webkit-border-radius12px;
	border-radius12px;
	-moz-box-shadow4px 4px 14px #000;
	-webkit-box-shadow4px 4px 14px #000;
	box-shadow4px 4px 14px #000;
	padding-left2em;
	padding-bottom1em;
	padding-right2em;
	padding-top1em;
}
div.Content
{
	height100%;
	width100%;
}

I would appreciate any insights.

Ed
Top achievements
Rank 1
 answered on 28 Jan 2013
6 answers
119 views
I have used your tab control to implement a simple 3 tab appearance.  In the first screenshot the first tab is selected.  Do you notice the weird line above the middle tab?

I've also included screenshots for what happens when the 2nd and 3rd tabs respectively are selected.

What do I need to do to improve the appearance?

Robert
Robert
Top achievements
Rank 1
 answered on 28 Jan 2013
2 answers
110 views
Hi
 How can I access the combobox in the pager in code behind. Please suggest any possible solution
thanks
Savyo
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Jan 2013
1 answer
329 views
I have a RadGrid and a Panel which has the visibility = false (as default).

I need to click a Row or a button to send that Rows ID to that panel and make that Panel visible in server side

<form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function RowDblClick(sender, eventArgs) {               
                //alert("Chosen Row ID: " + eventArgs.getDataKeyValue("ID"));
            }
        </script>
    </telerik:RadCodeBlock>
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="97%" CellSpacing="0"
        GridLines="None" OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged">
        <PagerStyle Mode="NumericPages"></PagerStyle>
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="ID" ClientDataKeyNames="ID"
            Width="100%" CommandItemDisplay="Top" PageSize="5">
            <Columns>
                <telerik:GridBoundColumn DataField="ID" HeaderText="ID" SortExpression="ID" UniqueName="ID">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="TesisatNo" HeaderText="Tesisat No" SortExpression="TesisatNo"
                    UniqueName="TesisatNo">
                </telerik:GridBoundColumn>                             
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <ClientSettings>
            <Selecting AllowRowSelect="true"></Selecting>
            <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>
        </ClientSettings>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>       
    </telerik:RadGrid>
    <asp:Panel ID="PanelDetails" runat="server" Visible="false">
        THIS BECOMES VISIBLE ON DOUBLE CLICK OR ON BUTTON CLICK
           ALSO THE SELECTED ROW ID MUST BE RECEIVED HERE
    </asp:Panel>
    </form>
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Jan 2013
2 answers
212 views
Hi, 

Have a RadGrid inside a RadPane. Have also enabled RowSelect service. When I preview the page, and on selecting the row it expands.
How can I stop it from expanding. Have turned on AutoPostBack, it also behaves as a master row to a detail grid.

Part of the Code:

<telerik:RadPane ID="RadPaneLocations" runat="server" Height="15%" MinHeight="15" MinWidth="15" Scrolling="None">
                        <asp:Label ID="LabelLocations" runat="server" Text="Locations: " BackColor="#EFEFF2" Width="100%" Height="18px"></asp:Label>
                        <telerik:RadGrid ID="RadGridLocationList" runat="server" CellSpacing="0" GridLines="None" DataSourceID="ODSLocationList" AllowSorting="True" Skin="Default">
                            <ClientSettings EnablePostBackOnRowClick="True">
                                <Selecting AllowRowSelect="True" />
                                <Scrolling UseStaticHeaders="true" FrozenColumnsCount="1" ScrollHeight="100" AllowScroll="True"></Scrolling>
                            </ClientSettings>
                            <MasterTableView AutoGenerateColumns="False" DataKeyNames="lead_id,location_id" DataSourceID="ODSLocationList">
                                <CommandItemSettings ExportToPdfText="Export to PDF" />
                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridBoundColumn DataField="lead_id" DataType="System.Int32" FilterControlAltText="Filter lead_id column" HeaderText="lead_id" ReadOnly="True" SortExpression="lead_id" UniqueName="lead_id" Visible="false">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="location_id" DataType="System.Int32" FilterControlAltText="Filter location_id column" HeaderText="location_id" ReadOnly="True" SortExpression="location_id" UniqueName="location_id" Visible="false">
                                    </telerik:GridBoundColumn>




Any help is appreciated.
Rektile
Top achievements
Rank 1
 answered on 28 Jan 2013
6 answers
180 views
Hi,
I have a page with RadAjaxpanels, ajaxmanager and scriptmanager.
what is happening is, if I make a request and while this request goes on, if I open a new browser page and make another request to the same page, it just hangs until the first request on the other browser window finishes.
I tried this in IE, FF and Chrome, all the same.
But if I open a browser in IE and another one in FF and do subsequent requests, everything is fine, they don't wait for each other.
And finally, this doesn't happen in asp.net development server, just working fine. This only happens in IIS6 when I push it to production.
I tried to change RequestQueueSize with no help.
Any ideas?
Thanks.
Craig A
Top achievements
Rank 1
 answered on 28 Jan 2013
1 answer
63 views
I'm not exactly a CSS expert (or styling expert). 

I have a 4.0 web app with two master pages and a system-wide css file.  The master pages both have SkinManagers set to Transparent.  All the grids (and most other Telerik controls have their skin set to default.) 

Each master page has a reference to the system css:   <link href="../Content/CSS1.css" rel="stylesheet" />

The problem is this.  I want all grids to have a alternating row back color of Alice Blue. I have a declaration: 
div.RadGrid .rgAltRow {  background: AliceBlue; }

If I put this in the main CSS file, nothing happens.  If I put this in the master pages, within a <style> block, it works fine.

What am I doing wrong?
Maria Ilieva
Telerik team
 answered on 28 Jan 2013
1 answer
111 views
Hai,

 I have attached Telerik Rad chart image. I need series color with out shadow ( Highlighted Colors in the attached image). Please reply asap.

Regards
Palani
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 28 Jan 2013
1 answer
87 views
Hello

I have a problem when try to export Content of the radEditor to pdf file using ExportContent event. When there is a cyrilic symbols in the content, in the generated pdf file they appears as follows:

############

the Language property of the editor is set to 'bg-BG' and SpellCheckSettings-Dictionarylangugae is also set to 'bg-BG'
Rumen
Telerik team
 answered on 28 Jan 2013
3 answers
139 views
I have a problem with dotted border, which appears when I click on a table footer (only in Firefox). You can see this behavior for example on online demos of Telerik RadGrid (http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/WebGrid/DefaultCS.aspx). In Firefox, click somewhere near word Ready in table footer, then a dotted border around table appears.

Can somebody help, please?
Sophie
Top achievements
Rank 2
 answered on 28 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?