<telerik:RadGrid ID="timesheetGrid" runat="server" GridLines="None" Skin="Windows7" AllowSorting="True" ShowGroupPanel="True" AutoGenerateColumns="False" AllowPaging="True" PageSize="15" ShowStatusBar="True" AllowFilteringByColumn="True" AllowMultiRowSelection="True" OnNeedDataSource="timesheetGrid_NeedDataSource" OnPreRender="timesheetGrid_PreRender" ViewStateMode="Enabled" HeaderStyle-HorizontalAlign="Center" OnEditCommand="timesheetGrid_EditCommand"> <ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowDragToGroup="True"> <Selecting AllowRowSelect="True" /> <ClientEvents OnRowDblClick="RowDblClick" /> </ClientSettings> <MasterTableView DataKeyNames="ID" EditMode="EditForms"> <RowIndicatorColumn> <HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings> <Columns> <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" /> <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID" Visible="True" ReadOnly="true" FilterControlWidth="30px" HeaderStyle-Width="50px"><HeaderStyle Width="50px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn DataField="Date" DataType="System.DateTime" HeaderText="Date" UniqueName="DateFrom" ReadOnly="true" DataFormatString="{0:dd/MM/yyyy}" AllowFiltering="false" HeaderStyle-Width="75px"> <HeaderStyle Width="75px"></HeaderStyle> </telerik:GridDateTimeColumn> <telerik:GridBoundColumn DataField="User.UserName" HeaderText="User" UniqueName="User" ReadOnly="true"> </telerik:GridBoundColumn> <telerik:GridNumericColumn UniqueName="Duration" HeaderText="Duration (Hrs)" DataType="System.Double" DataField="Duration" FilterControlWidth="50px"> <HeaderStyle Width="80px"></HeaderStyle> <ItemStyle HorizontalAlign="Right" /> </telerik:GridNumericColumn> <telerik:GridBoundColumn DataField="ShortDescription" HeaderText="Description" UniqueName="Description"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DocketNo" HeaderText="Docket No" UniqueName="DocketNo" ReadOnly="true" FilterControlWidth="50px" HeaderStyle-Width="70px"><HeaderStyle Width="70px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FileCode" HeaderText="FileCode Name" UniqueName="FileCode" HeaderStyle-Width="100px" FilterControlWidth="60px"><HeaderStyle Width="100px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FileCodeID" HeaderText="FileCode ID" UniqueName="FileCodeID" Visible="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CostCenter" HeaderText="Cost Center" UniqueName="CostCenter" HeaderStyle-Width="70px" FilterControlWidth="40px"><HeaderStyle Width="70px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CostCenterID" HeaderText="Cost Center ID" UniqueName="CostCenterID" Visible="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CompanyID" HeaderText="Company ID" UniqueName="CompanyID" Visible="false"> </telerik:GridBoundColumn> <telerik:GridCheckBoxColumn DataField="IsOvertime" DataType="System.Boolean" HeaderText="Overtime" UniqueName="Overtime" ReadOnly="true"> </telerik:GridCheckBoxColumn> </Columns> <EditFormSettings UserControlName="UserControls/TimesheetEdit.ascx" EditFormType="WebUserControl"> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> </EditFormSettings> </MasterTableView> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <PagerStyle Mode="NumericPages" VerticalAlign="Bottom" /> <FilterMenu EnableImageSprites="False"> </FilterMenu> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Windows7"> </HeaderContextMenu> </telerik:RadGrid>Hello,
I have a problem with radwindow control (using IE8).
I'm using scriptmanager and updatepanel controls in my application (please view the attached sample in http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=400607).
The webpage is saving history points with no problems, until I show the radwindow control. If I open the radwindow then the history points are deleted.
Note: I checked this issue in IE7, it is working with no problems. The problem is in IE8.
I checked with microsoft support this issue. But they told me that it is related some how to the radwindow itself. So plaese, I need your help.
Please look at the following situations:
Good situation:
1) click "Main Attractions" checkbox
2) click "Shopping & Fashion" checkbox
3) Click "Tel Aviv" Linkbutton.
4) Click "Netanya" Linkbutton.
5) Click "Eilat" Linkbutton.
6) Cick the browser back button few times (THIS SHOWS YOU THAT THE HISTORY POINTS ARE SAVED AND USED)
Bad Situation 1:
1) click "Main Attractions" checkbox
2) click "Shopping & Fashion" checkbox
3) Click "Tel Aviv" Linkbutton.
4) Click "Netanya" Linkbutton.
5) Click "Eilat" Linkbutton.
6) Click "Full Screen" button in order to open the map in full screen mode (Radwindow).
7) Cick the browser back button few times (THIS SHOWS YOU THAT THE HISTORY POINTS ARE DELETED)
Bad Situation 2:
1) click "Main Attractions" checkbox
2) click "Shopping & Fashion" checkbox
3) Click "Tel Aviv" Linkbutton.
4) Click "Netanya" Linkbutton.
5) Click "Eilat" Linkbutton.
6) Click the "About" linkbutton and then click close.
7) Cick the browser back button few times (THIS SHOWS YOU THAT THE HISTORY POINTS ARE DELETED)
So, I need to enable the user to go back and forward using the browser buttons even after opeining the radwindow.
Please, I need your help in order to solve this issue.
This issue make problem for me with my client.
It is appricited to send me the modified code.
Regards,
Bader
UseStaticHeaders
is working very fine, but when I set the direction of the grid to RTL it gave me an error in graphics because the empty part (above the scroller) in the header is still be drawing in the right side, which causes a displacement in the grid columns.
Could you please help in?
<telerik:RadCodeBlock ID="RadCodeBlock" runat="server"> <script type="text/javascript"> function InitiateAsyncRequestByCombo(sender, eventArgs) { var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(this.Page).ClientID %>"); ajaxManager.ajaxRequestWithTarget("<%= FilterRadComboBox.UniqueID %>", sender.get_selectedItem().get_value()); return false; } </script> </telerik:RadCodeBlock><Selecting AllowRowSelect="true" />
</ClientSettings>
Now when I select any row in the Grid. There will a check box in the Grid ItemTemplate. that should be checked
and unchecked. please help me on this issue.
function SetProvisions(RadListBoxArray) {
var RadListBoxCount = RadListBoxArray.length;
var i = 0;
var ProvisionListBox = $find("<%= uxProvisions.ClientID %>");
for (i = 0; i < RadListBoxCount; i++) {
var RadListBox = RadListBoxArray[i];
var RadListBoxCheckedItems = RadListBox.get_checkedItems();
ProvisionListBox.insertItems(RadListBoxCheckedItems); <<<<Getting error here
}
ProvisionListBox.commitChanges();
}
Getting error stating that "Array of RadListBox items or Telerik.Web.UI.RadListBoxItem collection should be passed."
hi,
I am loading a custom ToolsFile.xml into Radeditor with
"LoadToolsFile(dom)"
.
after a postback some tools like colorselection do no longer work, because
of a javascript error in the Editor script.
now i found out that reloading the tools-xml file on every request fixes the issue, but in my
understanding, the editor should be recreated from viewstate after postback?
regards,
peter