Hello,
I'm looking to implement a solution for tracking activities through a 24-hour period for a dynamic number of employees. I believe the scheduler is the object I may be able to utilize to do this but haven't seen any solutions that fit the need.
Can someone please provide some insight on whether or not this object is the right tool for the job, or if there's another method I might go about using to accomplish this? I'm going to attach a screenshot with a visual representation of the need.
Thanks!
Hi Telerik team,
I have added RadContextMenu for RadGrid. In that context menu Adding ,removing items and all actions performing using Javascript.
Problem Scenario:
If I right click on grid first row, menu showing normally in down. We don’t have any issue on this. But if I right click on last row, the menu coming out side of the grid. Please check the attached screenshots and sample project for your reference.
I have tried to change currentStyle property for RadContextMenu using JS. But, it’s showing not editable.
Kindly provide solution for right click menu to adjust height and width inside the grid when right click on any place of grid.
Note: I have fixed the grid size and please provide the solution/fix using JavaScript.
Thanks,
Swetha
I am using this CSS Class for aligning text and setting the size.
It does not increase the size of the text. Why is it not changing the size of the text on this button?
.rbSave
{
text-align
:
center
!important
;
font-size
:
x-large
!important
;
}
<
telerik:RadButton
ID
=
"btnSaveClient"
runat
=
"server"
IsBackgroundImage
=
"true"
OnClick
=
"btnSaveClient_Click"
Text
=
" Update Client "
CssClass
=
"rbSave"
>
<
Icon
PrimaryIconCssClass
=
"classCart"
PrimaryIconUrl
=
"~/Images/Save.png"
/>
</
telerik:RadButton
>
If i remove the CSS Class and manually set the size, it increases the size but does not align the text.It does not center the text. It appears as shown in the image below.
What should i do align text and also set the size of the text?
Thanks in Advance
Hi,
I am having trouble in displaying group header correctly in RadGrid. Most of the group headers are displaying fine, but few not. I am not able to figure it out, what is causing that issue. Below are my grid and group settings. I am also attaching the grid screenshot for reference. Any suggestions please, what I am doing wrong.
Thank you, Madhavi
<t:RadGrid ID="rgLEV" runat="server"
AllowSorting="True" GridLines="None" ShowFooter="True" AutoGenerateColumns="false" EnableViewState = "true"
GroupingEnabled="true" ShowGroupPanel="true" OnGroupsChanging="rgLEV_GroupsChanging" AllowMultiRowSelection="true"
HeaderStyle-Wrap="false" ItemStyle-Wrap="false" GroupingSettings-GroupByFieldsSeparator=""
OnNeedDataSource="rgLEV_NeedDataSource"
OnPreRender="rgLEV_PreRender"
OnItemCommand="rgLEV_ItemCommand"
OnUpdateCommand="rgLEV_UpdateCommand"
OnItemCreated="rgLEV_ItemCreated"
OnDetailTableDataBind="rgLEV_DetailTableDataBind"
OnItemDataBound="rgLEV_ItemDataBound"
OnExportCellFormatting="rgLEV_ExportCellFormatting">
<ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True"
ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
</ClientSettings>
<GroupingSettings RetainGroupFootersVisibility="true"/>
<GroupByExpressions>
<t:GridGroupByExpression>
<SelectFields>
<t:GridGroupByField FieldName="EMP_NAME_LINE" HeaderValueSeparator="" HeaderText=" " />
</SelectFields>
<SelectFields>
<t:GridGroupByField FieldName="EMPLOYEE_ID" FormatString="({0})" HeaderValueSeparator="" HeaderText=" "/>
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="WORKED_HOURS" HeaderText=" Hours" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="LD_POT_OT_HOURS" HeaderText=" OT" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="LD_POT_DT_HOURS" HeaderText=" DT" />
</SelectFields>
<GroupByFields>
<t:GridGroupByField FieldName="EMP_NAME_LINE" />
</GroupByFields>
</t:GridGroupByExpression>
<t:GridGroupByExpression>
<SelectFields>
<t:GridGroupByField FieldName="WORKED_DT" FormatString="{0:MM/dd/yyyy}" HeaderText="Date" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="WORKED_HOURS" HeaderText=" Hours" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="OT_HOURS" HeaderText=" OT" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="DT_HOURS" HeaderText=" DT" />
</SelectFields>
<GroupByFields>
<t:GridGroupByField FieldName="WORKED_DT" />
</GroupByFields>
</t:GridGroupByExpression>
</GroupByExpressions>
Hi,
I have created a custom context menu "AddSpaceAboveTable" And applied it the the table menu.
Why: In internet explorer there is no way to add something before a table if it is in the begining of the editor, same in the bottom.
So when the user right clicks on a menu item I want to add a BR before/after that table.
Problem: How do i get the position where I want to paste my fix?
function
command_AddSpaceAboveTable(commandName, editor, args) {
console.log(
'command_AddSpaceAboveTable'
);
var
selection = editor.getSelection();
var
theSelectedTable = selection.getParentElement();
// Here is my table.
}
Resource Value returns null in RAD Scheduler Data bound Event and appointment also not created (For Some Particular Data Row). i have attached the data source screenshot and Scheduler screen. Please help me resolve this problem.
Hello,
We've got what is basically a single page web application which uses tabs. There is a Main.aspx page which has a RadTabStrip and a RadMultiPage on it and then, depending on things that a user does in the application, we open up new tabs and place web user controls (.ascx) inside of a new tab and multi-page. Users can switch between tab pages and also close tabs as part of normal application use. The RadTabStrip and RadMultiPage are set up with a RadAjaxManager on the Main.aspx page to be Ajax triggers and updated controls. We also use RadAjaxManagerProxy in some of the ascx pages to control some Ajax postbacks in the ascx pages.
One one of the ascx pages which appears in a tab/multi-page, we've got a RadGrid which has an edit form template defined with a RadAsyncUpload control inside of it. I've set up a Postback Trigger so that only the insert/update button of the edit form template will cause the RadAsyncUpload to save to the uploaded item to the target directory. This works fine as long as I stay on the same tab/multi-page. When I switch tabs to another tab/multi-page, the RadAjaxManager triggers an Ajax postback but the FileUploaded event does not fire server side (which is what I expect). When I switch back to the tab/multi-page with the RadAsyncUpload control on it, the RadAsyncUpload control has lost track of the file and, when I post back with the insert/update button, the RadAsyncUpload control doesn't have a file; the client side state is lost. The temporary file is still in the temporary location but the control doesn't know anything about it so it never gets processed server side.
Is there any way to preserve the state of the RadAsyncUpload across tab/multi-page switches?
I have an unusual situation I have a rad grid set with AllowSorting=True. On my columns I have set the SortExpression to equal the column UniqueName. When viewing the results I see my records, but when I click on a column header to sort the data, the entire radGrid disappears. It looks as if the radgrid is no longer bound to the data. I am also having this same issue when I click on the edit images for a row.
Any Idea why This is happening?
I am referring to the following link http://docs.telerik.com/devtools/aspnet-ajax/controls/radcompression
I have gone over all topics online, all tutorials, all recommendations and they are all pointing at how the "browser" file in the app_browser should be included and how the web.config file should be altered etc..
The article clearly states that the reduction will be between 40% to 60% or more depending on different factors. So, in order to clearly test the impact, i created an empty ASP.Net web forms application, added a masterpage and a content page with nothing but a RadScriptManager, RadGrid and Radeditor to just test how the viewstate is initially and then how applying the above will affect it.
The results were the following: Initially, the viewstate size was 9000 bytes without adding anything or any compressions, after applying the above (unless the documentation changed), the bytes have increased to 9100! not even decreased!
So, i am currently lost and i need to badly shrink the viewstate as much as possible to save on the bandwidth and performance.
I am using UI for ASP.NET AJAX Q2 2016, not sure if that affects the Radcompression module or not. Your assistance with this is highly appreciated (a sample project/configuration would go a long way)