Hello,
I have some interesting problem with RadGrid.
My Rad grid has export buttons (CSV, Excel etc).
Clicking them invokes ItemDataBound event handler attached to the RadGrid.
protected
void
rgManagementSummaryReport_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
((e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem) && e.Item.DataItem !=
null
)
{
Button btnPreview = (Button)gdi.FindControl(
"btnPreview"
);
}
}
I have following template column. Initially it had RadButton btnSearch instead of Button btnSearch. It appears that FindControl("btnSearch") would only find asp.net built in Button but not RadButton. I looked at Controls collection of Preview column and saw that it only had my HyperLink and some Literal ones. That's why I had to swith to a regular Button. But our ueb site's pages utilize RadControls everywhere so I would like to be able to return RadButton there and make it find.
Btw regular RadGrid databinding works ok and RadButton is found there as always, so it must be something releated to these Export buttons.
Thanks
<
telerik:GridTemplateColumn
UniqueName
=
"Preview"
>
<
ItemTemplate
>
<%-- <
telerik:RadButton
ID
=
"btnPreview"
runat
=
"server"
Visible
=
"false"
Text
=
"Preview"
OnClick
=
"btnPreview_Click"
>
<
Icon
PrimaryIconCssClass
=
"rbConfig"
></
Icon
>
</
telerik:RadButton
> --%>
<
asp:Button
OnClick
=
"btnPreview_Click"
runat
=
"server"
ID
=
"btnPreview"
Text
=
"Preview"
Visible
=
"false"
/>
<
asp:HyperLink
ID
=
"hlReportView"
runat
=
"server"
Visible
=
"false"
Target
=
"_blank"
>View Report</
asp:HyperLink
>
</
ItemTemplate>
</
telerik:GridTemplateColumn
>
I want to create linked textboxes which I show in the attached picture with red marked. Can anyone give me any suggestion for how do such kind of textboxes.
Thanks in advance.
If I have a RadGrid which has a column that can have A, B, C or blank displayed in the column and I enable it to be a filtered column with a check box.
Can I assign a value to value to show up in the popup menu for blanks?
so for example instead of
[ ]
[ ] A
[ ] B
[ ] C
I would see the menu displayed as
[ ] Empty
[ ] A
[ ] B
[ ] C
Hi Telerik!
I have a radWizard I'm using, and one of the wizardSteps has a user control which uses several Bootstrap modals.
Everything works wonderfully on PC, Android, etc - except iPad. When the page is loaded on an iPad, the wizard changes to rendermode="mobile", that all works fine.
However, when I launch any Bootstrap modal whose code is within a wizardStep, the screen is disabled and the content is shown only within the radstep content container (see photo).
Again, this only happens on iPad - works fine on everything else.
My code is structured like this:
Page pseudocode:
<
radWizard
>
<
radStep
>
content
</
radStep
>
<
radStep
>
<
myUserControl
>
</
myUserControl
>
<
radStep
>
<
radStep
>
content
</
radStep
>
<
radWizard
>
myUserControl pseudocode:
<
myUserControl
>
<
button
>Show Bootstrap Modal</
button
>
<
div
id
=
'bootstrapModal'
class
=
'modal'
>
My modal content
</
div
>
</
myUserControl
>
iPad iOS version: 10.1
Thank you!
I am using radTreeView with server side postback. The tree has 2 levels.
I have implemented scrolling functionality on the treeView so that the tree automatically scrolls to a particular node when the page loads.
So in cases when there are large number of nodes (1000), the page is slow to load and many times the mouse click does not trigger the OnClicked event.
So if the page is refreshed, the tree does not scroll to that particular node.
How can I improve the performance of the radTreeView using server side postbacks only ?
<script runat="server"> |
protected override void OnLoad(EventArgs e) |
{ |
// Set appropriate culture for calendar |
RadScheduler1.Culture = CRM.Web.Code.Globalization.GlobalizationManager.CurrentUICulture; |
// Set first and last day of a week |
switch (RadScheduler1.Culture.ToString()) |
{ |
case "en-US": |
RadScheduler1.FirstDayOfWeek = DayOfWeek.Sunday; |
RadScheduler1.LastDayOfWeek = DayOfWeek.Saturday; |
break; |
default: |
RadScheduler1.FirstDayOfWeek = DayOfWeek.Monday; |
RadScheduler1.LastDayOfWeek = DayOfWeek.Sunday; |
break; |
} |
RadScheduler1.ShowAllDayRow = Model.ShowAllDayEvents; |
RadScheduler1.WorkDayStartTime = Model.WorkDayStartTime; |
RadScheduler1.WorkDayStartTime = Model.WorkDayEndTime; |
RadScheduler1.DayStartTime = Model.DayStartTime; |
RadScheduler1.DayEndTime = Model.DayEndTime; |
// Export iCalendar |
SchedulerAppointmentContextMenu.Items[0].Text = "ExportICalendar".GetLocalizedGlobal(); |
// Delete |
SchedulerAppointmentContextMenu.Items[2].Text = "Delete".GetLocalizedGlobal(); |
base.OnLoad(e); |
} |
public override void VerifyRenderingInServerForm(Control control) |
{ |
} |
</script> |
<telerik:RadCodeBlock runat="server" ID="InitialScriptCodeBlock1"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" |
EnableScriptGlobalization="true" /> |
<telerik:RadScheduler runat="server" ID="RadScheduler1" AllowDelete="false" AllowEdit="true" RowHeight="16px" |
AllowInsert="false" MinutesPerRow="15" StartEditingInAdvancedForm="false" StartInsertingInAdvancedForm="false" |
OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientTimeSlotClick="OnClientTimeSlotClick" OnClientAppointmentWebServiceUpdating="" |
OnClientAppointmentDeleting="OnClientAppointmentDeleting" OnClientAppointmentDataBound="OnClientAppointmentDataBound" |
Height="900px" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked" |
SelectedView="WeekView" DayHeaderDateFormat="dddd, dd MMMM yyyy" HoursPanelTimeFormat="HH:mm"> |
<AppointmentContextMenus> |
<%--The appointment context menu interaction is handled on the client--%> |
<%--See the JavaScript code above--%> |
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu"> |
<Items> |
<telerik:RadMenuItem Text="Export iCalendar" Value="GenerateVCal" ImageUrl="~/Content/Images/Icons/iCalendar16.png" /> |
<telerik:RadMenuItem IsSeparator="True" /> |
<telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="~/Content/Images/DataEditing/Delete.gif" |
Enabled="True" /> |
</Items> |
</telerik:RadSchedulerContextMenu> |
</AppointmentContextMenus> |
<TimelineView GroupBy="Calendar" GroupingDirection="Vertical" /> |
<AdvancedForm Enabled="false" EnableResourceEditing="false" /> |
<WebServiceSettings Path="~/Models/SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /> |
</telerik:RadScheduler> |
</telerik:RadCodeBlock> |
Here attached sample RadMenuDemo for telerik version “2013.3.1217.45” and “2016.3.1018.35”.
Tab order (move from the top left to the bottom right) which comes under 508 compliance is not working properly from keyboard for telerik version (2016.3.1018.35).
Whereas tab order was working fine with telerik version (2013.3.1217.45).
Steps to reproduce issue.
1. Browse file RadMenuOnly.aspx.
2. On click of tab button from keyboard, the cursor should navigate to each menu (move from left to right).
3. But radmenu for telerik version (2016.3.1018.35) switch between “Home” and “Product” menu tab.
Configuration details
The attached applications is deployed in IIS version 8.
Operating System :- Window server 2012 R2 Standard.
Browser IE11 (11.0.9600.17690).
Hi all,
Our customer is using a Telerik version 2008.3.1125.20. However, when upgrading to the latest windows server (test environment), many of the components are not working.
They plan to purchase the latest version of the Telerik, but before that, they need some information:
1. Is the new version drastically different from the version indicated above. Meaning, do they have to re-write a lot of code?
2. Can the existing system work as it is (with minimal changes at the script level without touching code-behind) till such time their procurement process goes through?
Please do let me know. Apologies for the brevity. I will respond to questions that you may have with regards to the environment or any other matter.
Best Wishes
Prasso
Hello,
if i bind a RadGrid with a DataTable as DataSource.
There are no columns in the RadGrid only the DataSource had some.
Displaying the data works.
I have to let the user group the columns. It don't work if there are none.
GridColumnGroup colGrp =
new
GridColumnGroup();
colGrp.Name = TextBox1.Text;
colGrp.HeaderText = TextBox1.Text;
RadGrid1.MasterTableView.ColumnGroups.Add(colGrp);
RadGrid1.MasterTableView.Columns[0].ColumnGroupName = TextBox1.Text;
RadGrid1.MasterTableView.Columns[1].ColumnGroupName = TextBox1.Text;
Please take a look at the added pictures.
I have an odd issue with the display date being in the wrong culture. When simply adding the control on the HTML side, there is no problem.
However, in our situation, we have the datepicker embedded in a user control. The user control is then dynamically created on the fly when needed using the TemplateControl.LoadControl method.
I have read an older article in the UI for WPF forum that I can set the Culture to Null. However, I cannot seem to do this programatically on the ASP.NET side, as we are using UI for AJAX. Any help with this issue would be greatly appreciated.