or
Is it possible to get the X and Y coordinates of a radgrid that has just been made visible? I want to scroll to the top of it as soon as it has been created.
<script type="text/javascript"> function rgOrderDetail_OnGridCreated(sender, args) { var bounds = //get bounds of the grid scrollTo(bounds.x, bounds.y); } </script>

when I use onclientclose = "Close" that time,
it closes without postback which what I want, BUT, when page postbacks later if any click event,
I see that Radwindow back like I never closed it.
.I have also put .visibleonpageload = false on page load
on code behind and that seems to be working fine, but not sure if
this is a proper way to
handle this or not since I was actually had that on the client side too..
. What I need to do? any idea?
<telerik:RadWindowManager Behaviors="Close, Move, Resize,Maximize" ID="RadWindowManager" DestroyOnClose="true" runat="server" IconUrl="http://www.telerik.com/favicon.ico" Modal="true"> <Windows> <telerik:RadWindow ID="winConfirmDelete" VisibleOnPageLoad="false" runat="server" Title="Confirm Delete" VisibleStatusbar="false" CssClass="radWindow" Width="300" Height="175" Skin="Windows7" onclientclose="Close"> <ContentTemplate> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"> <br /> <p style="text-align: center"> <asp:Label ID="lblConfirmResult" runat="server" CssClass="validationWarning" Text="Are you sure you want to delete this?" /></p> <p style="text-align: center"> <telerik:RadButton ID="btnConfirmDelete" runat="server" Text="Delete" OnClick="btnConfirmDelete_Click" /> <telerik:RadButton ID="btnConfirmCancel" runat="server" Text="Cancel" OnClick="btnConfirmCancel_Click" /> </p> </td> </tr> </table> </ContentTemplate> </telerik:RadWindow> </Windows> </telerik:RadWindowManager>// have these inside the javascript stuff.. //close without postback. function Close(sender, eventArgs) { sender.close(); }function OnClientCommand(sender, args) { if(args.Command.get_name() == "Close") { var r = confirm("Are you sure you want to delete this Form Field?"); if (r == true) { return true; } else { return false; } }}
<select name="State" onChange="this.form.action = '<%=Request.ServerVariables("Script_Name")%>'; this.form.submit();"> <option <%if Trim(Request.Form("EventState"))="" then Response.Write "selected" end if%> value=""> </option> <option <%if Trim(Request.Form("EventState"))="AL" then Response.Write "selected" end if%> value="AL">Alabama</option> <option <%if Trim(Request.Form("EventState"))="AZ" then Response.Write "selected" end if%> value="AZ">Arizona</option></select>void Grid_ItemDataBound(object sender, GridItemEventArgs e)
{
foreach (GridColumn column in RadFileExplorer1.Grid.MasterTableView.RenderColumns)
{
if ((column is GridTemplateColumn) && (column.HeaderText.Equals("Document Title")))
{
if (e.Item is GridDataItem)
{
GridDataItem gridItem = e.Item as GridDataItem;
string text = gridItem[column.UniqueName].Text;
//this line will show a tooltip
gridItem[column.UniqueName].ToolTip = text;
}
}
}
}
I'm unable to get the value of the cell as tooltip - can you please help?
