I have a ragrid in a aspx page , from this grid by clicking on a row I open a radtooltipmanager that contains a usercontrol . On opening this user control I want to Maintain Scrollbar panel Position.
I tried to folow this exemples :
http://www.codeproject.com/Tips/595712/Call-JavaScript-in-an-ASP-NET-User-Control
https://basgun.wordpress.com/2008/06/09/maintain-scroll-position-updatepanel-postback/
http://www.aspsnippets.com/Articles/Find-and-access-control-inside-UserControl-ASCX-from-Parent-Page-ASPX-using-JavaScript-in-ASPNet.aspx
But the problem is that the panel.scrollHeight return 0, I attached ths screenshot for page and this a part of my code :
<body>
<form id="form1" runat="server">
<uc1:Name runat="server" ID="ucConusltationLieesCtl" />
<asp:ScriptManager runat="server" ID="ScriptManager1">
</asp:ScriptManager>
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(ToCallOnBeginRequest);
function ToCallOnEndRequest(sender, args) {
var panel = document.getElementById('<%=ucConusltationLieesCtl.FindControl("Consul_Panel2").ClientID %>');
if (panel) {
panel.scrollTop = panel.scrollHeight;
}
document.documentElement.scrollTop = yPos;
}
function ToCallOnBeginRequest(sender, args) {
yPos = document.documentElement.scrollTop;
}
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(ToCallOnEndRequest);
</script>
Thanks
Hi,
I have an application that uses RadGrid from the 2013-Q2 build.
I understand that I probably have no support for this anymore, but anyway it appears to be broken in anything other than Internet Explorer.
Specifically, one of the (many) problems is that it throws a JavaScript error of "d.onclick is null" if you are not using IE (e.g. when clicking a client-side delete button).
I know that the library should be updated but the testing overhead is too much for me right now. Can anyone help with a quick (elegant) fix?
<telerik:GridButtonColumn UniqueName="DeleteColumn" CommandName="Delete" ConfirmTitle="Delete confirmation" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you want to delete this record?" ButtonType="LinkButton" Text="<img src='images/delete.gif' alt='Delete record' />">
<HeaderStyle Width="60px" />
<ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>
In order to handle the event Item Click on the menu, I had to reset the NavigateUrl property in each Item.
But by doing so, I do not work any more chance, to the context menu, to open the menu page in a new tab, as it always opens the current page.
Is there a solution for this problem?
It would not be useful in a new version of the menu, a property that forces the event ItemClick even in the presence of a value in the property NavigateUrl?
Thanks.

Hello Admin,
I have query regarding the radschedular. Currently i'm using the outlook skin for radschedular. I need to change only the background color from yellow to white. Please find the screen shot as below. Which is having a yellow color currently. How to change the same to white. Could you guys please shed some light to me. I'm stucked up in an lion's den now.

Hello,
I have a radGrid with BatchEdit mode activated. In each row i have 2 radComboBox, the first combobox depends of the value of the second to bind one datasource or other. How can i access to the editItemTemplate in the itemDataBound and set the radComboBox of the each row with the datasource associated?
The problem is that the bind of the radComboBox depends of the selected value of the other radComboBox that i have in the same row. Some idea?
Thanks
| <radG:RadGrid ID="Grid_ris_ein" runat="server" EnableAJAX="True" OnNeedDataSource="Grid_ris_ein_NeedDataSource" |
| AutoGenerateColumns="False" OnItemDataBound="Grid_ris_ein_ItemDataBound" OnItemCommand="Grid_ris_ein_ItemCommand" |
| AllowPaging="False" BorderStyle="None" CellPadding="0" Skin="None" > |
| <AlternatingItemStyle /> |
| <HeaderStyle Font-Bold="false" ForeColor="#000000" BackColor="#ffffff" BorderWidth="1px" HorizontalAlign="Center" VerticalAlign="Top" BorderStyle="Solid" BorderColor="White" /> |
| <FooterStyle BackColor="#cc6633"></FooterStyle> |
| <EditItemStyle Font-Bold="True" /> |
| <MasterTableView Width="780px" GridLines="None" BorderStyle="None" PageSize="7" |
| Name="tblMaster" CellPadding="0" CellSpacing="3" HorizontalAlign="Left" EditMode="InPlace" |
| DataKeyNames="ris_ein_id" > |
| <ExpandCollapseColumn Resizable="False" Visible="True" CollapseImageUrl="/images/down.png" ExpandImageUrl="/images/right.png"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <RowIndicatorColumn Visible="False"></RowIndicatorColumn> |
| <Columns> |
| <radg:GridBoundColumn UniqueName="ris_ein_id" HeaderText="ris_ein_id" DataField="ris_ein_id" Visible="False" ReadOnly="True" ></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_nr" HeaderText="ris_ein_nr" DataField="ris_ein_nr" Visible="False" ReadOnly="True"></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_text" HeaderText="Monatliche Einnahmen (netto)" DataField="ris_ein_text" ReadOnly="true"> |
| <ItemStyle Width="250px" /></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein" HeaderText="" DataField="ris_ein" DataFormatString="{0:###,### €}" DataType="System.Double"> |
| <ItemStyle Width="120px" /></radg:GridBoundColumn> |
| <radG:GridEditCommandColumn UniqueName="Editbutton" ButtonType="ImageButton" EditImageUrl="/images/edit.png" > |
| <ItemStyle Width="16px" /></radg:GridEditCommandColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_comment" HeaderText="" ReadOnly="true"> |
| <ItemStyle Width="394px" /></radg:GridBoundColumn> |
| </Columns> |
| <DetailTables> |
| <radg:GridTableView AllowSorting="False" DataKeyNames="ris_ein_id" width="255px" |
| Name="tblDetail" > |
| <ParentTableRelation> |
| <radG:GridRelationFields DetailKeyField="ris_ein_id" MasterKeyField="ris_ein_id" /> |
| </ParentTableRelation> |
| <Columns> |
| <radg:GridBoundColumn UniqueName="ris_ein_id" HeaderText="ris_ein_id" DataField="ris_ein_id" Visible="False" ReadOnly="True" ></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_nr" HeaderText="ris_ein_nr" DataField="ris_ein_nr" Visible="False" ReadOnly="True"></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_beg" HeaderText="Beginn" DataField="ris_ein_beg" DataFormatString="{0:dd.MM.yyyy}"> |
| <ItemStyle Width="85px" /></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_end" HeaderText="Ende" DataField="ris_ein_end" DataFormatString="{0:dd.MM.yyyy}"> |
| <ItemStyle Width="85px" /></radg:GridBoundColumn> |
| <radg:GridBoundColumn UniqueName="ris_ein_inffak" HeaderText="Infl.-Ausgl." DataField="ris_ein_inffak" DataFormatString="{0:0.0%}" DataType="System.Double"> |
| <ItemStyle Width="85px" /></radg:GridBoundColumn> |
| <radG:GridEditCommandColumn UniqueName="EditbuttonDetail" ButtonType="ImageButton" EditImageUrl="/images/edit.png" UpdateImageUrl="/images/update.gif" CancelImageUrl="/images/cancle.gif" > |
| <ItemStyle Width="16px" /></radg:GridEditCommandColumn> |
| </Columns> |
| </radg:GridTableView> |
| </DetailTables> |
| </MasterTableView> |
| </radG:RadGrid> |


Hi,
I am having have problem with radgrid sorting. When I debug code and check my list collection it shows data in correct order but it does not show in the same order when the grid is populated.
If I set GridView.MasterTableView.SortExpressions.AddSortExpression(criteria); then it works once. But then on GridView_SortCommandevent I get the same sortexpression and sortorder all the time. When I try to clear the sortexpression I get "Telerik.Web.UI.ParseException: Syntax error" on grid.rebind().
Hello.
My problem is I need to act clientwise on users "reselecting" an item in my radcombo with keystroke.
I.e:
-----------------------------------------------------------
if user select A > fire a client function.
if user select A again > fire a client function
----------------------------------------------------------
I can handle the mouseclick event by adding onclick event to the specific RabcomboboxITem ("A"). It works fine.
I can handle Keystroke select (first time!), by using onClientIndexChanged. It works fine
I can handle Keystroke REselect, by using OnClientKeypressing. It works fine
Troubles start if user selects other item (away from "A").
Now my OnClientKeypressing event (which fires BEFORE selectionchange) only sees "A" pressed and wrongfully fires my client function.
Any clues to a solution are appreciated
Regards
Mark
Hello, i have a radgrid which i need to show a horizontal scroll when we add a lot of columns and persist the width of the columns but my grid is fxed to the width window and not show the scroll, then resize the width column and this make looks very bad. I put the e.column width in the column_created event with percentage unit.
I have the width column in a parameter and i put it in the column created event but i dont have width configured in the radgrid . Is better put it in pixels? i have a column with no size for autogrow with the extra width that other columns not use.
Any idea?