or
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function ShowWindow() |
| { |
| var wnd = window.radopen("window.aspx", "win"); |
| wnd.restore(); |
| wnd.setSize(document.body.scrollWidth-170,document.body.scrollHeight+180); |
| wnd.center(); |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <asp:Button ID="button" runat="server" Text="Show" CssClass="button" OnClientClick="ShowWindow();return false;"/> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server" style="overflow:hidden;"> |
| <Windows> |
| <telerik:RadWindow ID="win" VisibleStatusbar="false" KeepInScreenBounds="true" |
| DestroyOnClose="false" runat="server" InitialBehaviors="Close,Move,Resize" Behaviors="Close,Move,Resize" |
| ShowContentDuringLoad="true" Skin="Simple" Overlay="true" Modal="true" Title="Window"> |
| </telerik:RadWindow> |
| </Windows> |
| </telerik:RadWindowManager> |
| .TelerikModalOverlay |
| { |
| width:100% !important; |
| height:100% !important; |
| } |
string GetRecordTypeText( RecordType type){// return somthing...}<telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName" SortExpression="ProductName" UniqueName="ProductName" ReadOnly="True" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" ShowFilterIcon="false" FilterControlWidth="260px" HeaderStyle-Width="280px" ItemStyle-Wrap="true" FilterDelay="4000" Groupable="false" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ManufacturerName" HeaderText="ManufacturerName" SortExpression="ManufacturerName" UniqueName="ManufacturerName" ReadOnly="True" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" ShowFilterIcon="false" FilterControlWidth="110px" HeaderStyle-Width="130px" ItemStyle-Wrap="false" FilterDelay="4000"> </telerik:GridBoundColumn> I also did some testing by applying the following:
1)
RadGrid.ClientSettings.ClientMessages.DragToGroupOrReorder = "drag to reorder";
But the problem in this one was both the columns tootip was showing "drag to reorder"
2) I did not see any changes in the tooltip at all. It was still showing ""Drag to group or reorder"
protected void RadGrid_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridHeaderItem) { GridHeaderItem header = (GridHeaderItem)e.Item; header["ProductName"].ToolTip = "Drag to reorder"; } }