I have a RadGrid inside of a Wizard step.
Why is the GridTemplateColumn container control disabled when the Tab is disabled and then enablled? if I have the Wizard Step enabled=false and then set it to to True in client-side code, the RadButton inside of the GridTemplateColumn is disabled. If i set it to True from the start the RadGrid controls are fine.
What the heck?
<telerik:RadWizardStep runat="server" Title="Company" ID="RadWizardStepCompany" Enabled="false">
IF I SET THIS TO TRUE - THE BUTTON IN THE GRID IS FINE
<telerik:RadWizardStep runat="server" Title="Company" ID="RadWizardStepCompany" Enabled="true">
<telerik:GridTemplateColumn> <ItemTemplate> <div style="float: left; width: 100%;"> <telerik:RadButton ID="RadButtonSelect" runat="server" Text="Select" CommandName="Select" Enabled="true" CommandArgument='<%# Eval("CompanyId")%>' AutoPostBack="false" OnClientClicked="RadButtonCompanySelectClicked" /> </div> </ItemTemplate> <HeaderStyle Width="55px" /> </telerik:GridTemplateColumn>
<telerik:RadGrid ID="CurrentCostCentersGrid" runat="server" Skin="Office2007" AllowMultiRowSelection="True"
AllowMultiRowEdit="True" ShowGroupPanel="True" AllowPaging="True" DataSourceID="DataSourceUnits"
GridLines="None" AutoGenerateColumns="False" PageSize="50" ShowFooter="true">
<ClientSettings AllowDragToGroup="true" AllowGroupExpandCollapse="true" AllowColumnsReorder="true"
AllowExpandCollapse="true">
<Selecting AllowRowSelect="true" />
<ClientEvents OnRowSelected="CostCenterSelected" OnRowDeselected="CostCenterUnselected" />
</ClientSettings>
<GroupPanel Enabled="true" Text="Groups">
</GroupPanel>
<PagerStyle Mode="NextPrevAndNumeric" NextPageText="Next" PrevPageText="Previous" />
<MasterTableView ShowGroupFooter="true" ShowFooter="true" DataSourceID="DataSourceUnits"
DataKeyNames="CostCenterItemID" CommandItemDisplay="None" ClientDataKeyNames="CostCenterItemID">
<CommandItemTemplate>
<asp:Button ID="BulkApproveButton" runat="server" Text="Bulk Approve" />
</CommandItemTemplate>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridClientSelectColumn>
</telerik:GridClientSelectColumn>
<telerik:GridBoundColumn HeaderText="Fund" DataField="FundID" AllowFiltering="true"
DataType="System.Int32" SortExpression="FundID" ReadOnly="True" UniqueName="Fund" />
<telerik:GridBoundColumn HeaderText="Unit" DataField="UnitID" AllowFiltering="true"
DataType="System.Int32" SortExpression="UnitID" ReadOnly="True" UniqueName="Unit" />
<telerik:GridBoundColumn HeaderText="Line Item" DataField="LineItemID" AllowFiltering="true"
DataType="System.Int32" SortExpression="LineItemID" ReadOnly="True" UniqueName="LineItem" />
<telerik:GridBoundColumn HeaderText="Description" DataField="LineItemName" SortExpression="LineItemName"
UniqueName="Description" ReadOnly="true" Groupable="false" />
<telerik:GridBoundColumn HeaderText="Previous Budget" DataField="PreviousBudget"
AllowFiltering="true" DataType="System.Decimal" SortExpression="PreviousBudget"
UniqueName="PreviousBudget" DataFormatString="{0:C}" ReadOnly="True" Aggregate="Sum"
FooterAggregateFormatString="{0:C}" Groupable="false" />
<telerik:GridBoundColumn HeaderText="Previous Actual" DataField="PreviousActual"
DataType="System.Decimal" SortExpression="PreviousActual" UniqueName="PreviousActual"
DataFormatString="{0:C}" Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}" />
<telerik:GridBoundColumn HeaderText="Current Budget" DataField="CurrentBudget" DataType="System.Decimal"
SortExpression="CurrentBudget" UniqueName="CurrentBudget" DataFormatString="{0:C}"
Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}" />
<telerik:GridBoundColumn HeaderText="Current YTD" DataField="CurrentYTD" DataType="System.Decimal"
SortExpression="CurrentYTD" UniqueName="CurrentYTD" DataFormatString="{0:C}"
Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}" />
<telerik:GridBoundColumn HeaderText="Proposed Budget" DataField="ProposedBudget"
DataType="System.Decimal" SortExpression="ProposedBudget" UniqueName="ProposedBudget"
Groupable="false" Aggregate="Sum" FooterAggregateFormatString="{0:C}" DataFormatString="{0:C}" />
<telerik:GridBoundColumn DataField="Category" EmptyDataText="&nbsp;" HeaderText="Category"
SortExpression="Category" UniqueName="Category">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="StatusName" EmptyDataText="&nbsp;" HeaderText="Status"
SortExpression="StatusName" UniqueName="StatusName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Modify Date" DataField="ModifyDate" DataType="System.DateTime"
SortExpression="ModifyDate" UniqueName="ModifyDate" />
</Columns>
<DetailTables>
<telerik:GridTableView DataSourceID="DataSourceHistory" AutoGenerateColumns="false"
ShowHeader="false" GroupsDefaultExpanded="false" NoDetailRecordsText="No notes currently exist for this item"
Width="85%" CommandItemDisplay="Top">
<CommandItemTemplate>
<telerik:RadToolBar ID="DetailsToolbar" runat="server" Skin="WebBlue" Width="100%"
AutoPostBack="true">
<ExpandAnimation Type="OutQuad" Duration="150" />
<CollapseAnimation Type="InQuad" Duration="150" />
<Items>
<telerik:RadToolBarButton Text="Make Request" CommandName="MakeRequest" ImageUrl="Images/request.gif">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton IsSeparator="true">
</telerik:RadToolBarButton>
<telerik:RadToolBarDropDown Text="Approvals">
<Buttons>
<telerik:RadToolBarButton Text="Approved" CommandName="ManagerApprove" ImageUrl="Images/approve.gif">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Rejected" CommandName="ManagerReject" ImageUrl="Images/reject.gif">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Approve - Lock" CommandName="PortalApprove" ImageUrl="Images/paapprove.gif">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Reject - Back to Manager" CommandArgument="PortalReject"
ImageUrl="Images/pareject.gif">
</telerik:RadToolBarButton>
</Buttons>
</telerik:RadToolBarDropDown>
</Items>
</telerik:RadToolBar>
</CommandItemTemplate>
<ParentTableRelation>
<telerik:GridRelationFields MasterKeyField="CostCenterItemID" DetailKeyField="ItemID" />
</ParentTableRelation>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridTemplateColumn>
<ItemTemplate>
<strong>
<%
#Eval("CreateDate","{0:d}") %> <%#Eval("CreateDate","{0:t}") %> - <%#Eval("UserName")%>:</strong>
<%
#Eval("NoteText")%><br />
<strong style="color: Red">Requested Increase:</strong>
<%
#Eval("RequestedBudget", "{0:C}")%>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
<PagerStyle Mode="NextPrevAndNumeric" />
<PagerTemplate>
Item Description
</PagerTemplate>
</MasterTableView>
<FilterMenu EnableTheming="True" Skin="Gray">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>
First off, I think the Gantt is a nice little tool and I understand this is the first version but I'm encountering so many issues. Maybe these can be addressed in the next release or maybe I'm doing something wrong.
1. When I try and enter a date manually, I have to enter the date with a space before and after it in order to take. I can't enter a 4 digit year either. Then when the "invalid date message is displayed" it is over the calendar so I can't even select a month because it is behind the message.
2. If entering a start time, it must be after the end time. I understand this is a requirement, but what if I'm choosing the start date first? With the autoupdating, I have no control over when the database gets updated. I'd rather allow the user to select the dates (they might not always select the end date first) then save.
3. There is no support for programmatic databinding. I don't understand why the method is there if it doesn't work?
4. There is no easy way to delete tasks without finding it on the calendar and then deleting it. It would work better if the calendar would automatically navigate to the task in the calender, but I'd rather be able to right click or have a delete column on the grid. Unfortunately there are not template columns available or options to build in my own delete functionality.
5. When a task is a single day, I still can't figure out how to delete it. I have to make it at least 2 days to see the delete icon. Also, there is no way to modify a single day task from the calendar.
6. Dependency should be an option and not a requirement. This is certainly a nice feature but it really gets confusing looking at these lines. There should be a way to turn this off.
7. After playing with the Gantt for a while I occasionally get Javascript errors "Maximum call stack size exceeded" and the Gannt simply doesn't respond.
8. Grid columns should be resizable.
9. The Add Task button's text should be customizable, along with the split button text.
10. New tasks are automatically added at the beginning of the calendar. It would be nice if the columns in the calendar were selectable and a new task was added to the selected day.
11. It would be nice to have a printing option for the calendar.
12. I don't see a way to delete dependency lines.
Again, I do understand this is a first version, but with so many obvious bugs, I just can't believe it was released. Hopefully some of these can be addressed in the next release. I wanted some of our users to start testing the new Gantt, but I wouldn't dare have them look at it in this state as it is almost unusable in my opinion.
Hi,
I am trying to change the Time column on the Agenda View to be in 24 hour format instead of showing AM/PM. I saw a lot of support in other areas of the Scheduler but not so much on the Agenda View, and the only area of Agenda view I saw that can be modified date wise was the header.
http://demos.telerik.com/aspnet-ajax/scheduler/examples/agenda-view/defaultcs.aspx
Thanks in advance,
Josh D.
Hi,
I have rad drop down tree as below. When I click on one node in the drop down tree I am able to see the parent node getting expanded by using below client side script and if i click on other node the script executes and node gets expanded. Is there a way I can collapse all other nodes except the current clicked node?
<telerik:RadDropDownTree RenderMode="Lightweight" ID="OfficeDropDownPrgFilter" runat="server" Width="500px"
ExpandNodeOnSingleClick="true" AutoPostBack="true" OnClientEntryAdded="OnClientEntryAdded1"
EnableFiltering="true" OnEntryAdded="OfficeDropDownPrgFilter_EntryAdded">
<DropDownSettings OpenDropDownOnLoad="true" />
<FilterSettings Highlight="Matches" Filter="Contains" EmptyMessage="Type here to filter" />
</telerik:RadDropDownTree>
function OnClientEntryAdded1(sender, args) {
var path = args.get_entry()._fullPath;
var item = sender.get_embeddedTree().findNodeByText(args.get_entry().get_text());
var node = item.get_parent();
node.expand();
}
Hi Team,
It's possible for one node to report to two upper node? Please have a view on attachment below.
when I try to edit image it opens up the editor but if i try it twice or thrice it may or may not open up some time and gives internal error 500 as the error message in the console
message in the console:
Name Protocol Method Result Content type Received Time Initiator
Telerik.Web.UI.WebResource.axd?type=iec&pr=c&key=6a215ad6-1b37-4bda-b9cb-5ab18f91d6fa HTTPS GET 500 text/html 75 B 1.27 s image
message inside the error log:
Exception type: ArgumentNullException Exception message: Buffer cannot be null. Parameter name: buffer at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable) at Telerik.Web.UI.ImageEditor.CacheImageProvider.ToEditableImage(Byte[] data) at Telerik.Web.UI.ImageEditor.ImageEditorCacheHandler.ProcessRequest(HttpContext context) at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context) at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Request information: Request URL: Telerik.Web.UI.WebResource.axd?type=iec&pr=c&key=a5509632-316e-4698-a362-c73bc42df739 Request path: Telerik.Web.UI.WebResource.axd
protected void Page_Load(object sender, EventArgs e) { reditDescription.ToolsFile = "~/WebsiteTemplates/ControlTemplates/EditorToolsFile.xml";protected void Page_Load(object sender, EventArgs e) { reditDescription.ToolsFile = Server.MapPath("~/WebsiteTemplates/ControlTemplates/EditorToolsFile.xml");
Hello,
I have an ASP.NET site that has been working fine and continues to work for IE 10 users. But for those who have upgraded to IE 11, the RadAsyncUpload no longer works when trying to drag/drop files. For example, if an IE 10 user has Windows Explorer and the webpage side-by-side, they can easily drag a file from Windows Explorer, and successfully drop the file onto the RadAsyncUpload control (the control is embedded in the webpage). By if an IE 11 user attempts to do the same thing, nothing happens. When they drop the file on the RadAsyncUpload control, it just disappears.
My webpage is basically modeled after the AsyncUpload - File Upload with Drag and Drop demo. This has been working for months. The problem began with some of the IE 10 users upgraded to IE 11. The IE 11 users can click the [Select] button and successfully add files to upload, but they can no longer drag/drop.
I’ve tried to resolve this issue by applying the suggestions in the following Internet resources, but have had no luck resolving the problem:
How to get your ASP.NET application working in IE11
ASP.NET Doesn’t Detect IE11
http://jwcooney.com/2013/11/19/asp-net-doesnt-detect-ie11/
Does anyone know how I can resolve this issue I am having with IE 11?
Thank you