Hallo,
when I am use radgrid editmode=popup with a web user controll with insert
action the template was displayed with empty field (no datarecord was bound).
For a better useibility I want to preset the template fields with
default values. But how can I do this? To set the fields in the user control has no affect becaus it would be overitten after bounding to the empty insert record.
Harald
Is there some way to add a QueryString to the NavigateUrl parameter of a NavigationNode like ?ClientID=123
each node in my navigation needs to have the QS appended when the web form based on a master page that contains the <RadNavigation/> loads for a new client
I was thinking the codebehind of the .master could modify the NavigateUrl of each node?
I have many telerik rad grids in my DNN project . It initialize with ability to have client side row selection with
<
clientsettings
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
clientsettings
>
it is ok and in first load when my paging selector is on 10 object per grid selecting works fine , but when I change page size to 20 or 50 selecting suddenly stops working and I can not select row anymore . Can anyone help me with this ?
I am using Telerik RadDiagram for building a diagram. The gray lines are over the shapes (requirements, development etc) in my diagram. Is there any way to put them behind the shapes?
// ... getting ready the shape objects ...
for (int i = 0, j = 0; i < monthCount + 1; i++, j = j + 2)
{
// ... getting ready the shape and connection objects...
RadDiagram1.ShapesCollection.Add(shapeForLines[j]);
RadDiagram1.ShapesCollection.Add(shapeForLines[j + 1]);
RadDiagram1.ConnectionsCollection.Add(monthLine[i]);
RadDiagram1.ShapesCollection.Add(labelMonth[i]);
}
for (int i = 0; i < 7; i++)
{
if (i < 6)
{
RadDiagram1.ShapesCollection.Add(shape[i]);
}
if (i < 7)
{
RadDiagram1.ShapesCollection.Add(label[i]);
}
}
hi all, please help me. i have code below and it adds tab and pageview fine. but after 2 tab it will not add anymore and keep complaining that i'm trying to add control with same ID. i know i'm not adding the same ID. So please help me resolve this issue. thank you so much for your time
<script type="text/javascript">
function OnClientTabSelecting(sender, eventArgs) {
var tab = eventArgs.get_tab();
if (tab.get_text() == "")
{
document.getElementById("div_AddTab").style.display = "block";
eventArgs.set_cancel(true);
}
else
{
eventArgs.set_cancel(false);
}
}
</script>
<
div
id
=
"div_AddTab"
style
=
"display:none;"
>
Tab Title: <
telerik:RadTextBox
ID
=
"txt_TabTitle"
runat
=
"server"
/>
Element Type: <
telerik:RadComboBox
ID
=
"ddl_ElementType"
runat
=
"server"
/>
<
telerik:RadButton
ID
=
"btn_AddTab"
runat
=
"server"
Text
=
"Add Tab"
/>
<div>
<
div
>
<
telerik:RadTabStrip
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadTabStrip1"
Orientation
=
"HorizontalTop"
Width
=
"760"
MultiPageID
=
"RadMultiPage1"
Skin
=
"Windows7"
OnClientTabSelecting
=
"OnClientTabSelecting"
>
<
Tabs
>
<
telerik:RadTab
runat
=
"server"
Text
=
"tab1"
/>
<
telerik:RadTab
runat
=
"server"
Text
=
"tab2"
/>
<
telerik:RadTab
runat
=
"server"
Text
=
""
ImageUrl
=
"~/images/add.png"
/>
</
Tabs
>
</
telerik:RadTabStrip
>
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
Width
=
"760"
Height
=
"380"
SelectedIndex
=
"0"
OnPageViewCreated
=
"RadMultiPage1_PageViewCreated"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
>
test
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView2"
runat
=
"server"
>
test 2
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
</
div
>
Protected
Sub
btn_AddTab_Click(sender
As
Object
, e
As
EventArgs)
Handles
btn_AddTab.Click
AddPageView(Trim(txt_TabTitle.Text), ddl_ElementType.SelectedItem.Text)
AddTab(Trim(txt_TabTitle.Text))
End
Sub
Protected
Sub
RadMultiPage1_PageViewCreated(sender
As
Object
, e
As
RadMultiPageEventArgs)
Dim
rad_Editor
As
RadEditor =
New
RadEditor
Dim
radSlider
As
New
RadSlider
Select
Case
ddl_ElementType.SelectedValue
Case
"T"
rad_Editor.ID =
"radEditor_"
& Trim(txt_TabTitle.Text)
e.PageView.Controls.Add(rad_Editor)
Case
"B"
Case
"N"
End
Select
End
Sub
Private
Sub
AddTab(title
As
String
)
Dim
tabTemplate =
New
TabTemplate()
Dim
tab
As
New
RadTab()
With
{ _
.Text = title,
.PageViewID =
"pv"
& title _
}
RadTabStrip1.Tabs.Insert((RadTabStrip1.Tabs.Count - 1), tab)
RadTabStrip1.DataBind()
RadTabStrip1.SelectedIndex = tab.Index
End
Sub
Private
Sub
AddPageView(pvId
As
String
, elementType
As
String
)
Dim
pageView
As
RadPageView =
New
RadPageView()
pageView.ID =
"pv_"
& pvId
pageView.CssClass =
"pageView"
RadMultiPage1.PageViews.Add(pageView)
RadMultiPage1.SelectedIndex = pageView.Index
End
Sub
Hi,
I am trying to bind SharePoint 2013 Online calendar list with Kendo UI Scheduler. All the events are getting displayed except recurring events.
Is there any example available to bind SharePoint recurrence events with Kendo UI Scheduler?
I tried to fetch 'RecurrenceData' field using REST and bind it to the recurrenceRule field but it doesn't seem to be working.
Thanks,
Shruti
<div style=
"height:20%;padding-top:50px;"
>
<telerik:RadMenu ID=
"RadMenu1"
Style=
"float:right;"
Flow=
"Horizontal"
runat=
"server"
>
<Items>
<telerik:RadMenuItem text=
"Messages"
></telerik:RadMenuItem>
<telerik:RadMenuItem Text=
"Stock"
></telerik:RadMenuItem>
<telerik:RadMenuItem Text=
"Cash"
></telerik:RadMenuItem>
<telerik:RadMenuItem Text=
"Staff"
></telerik:RadMenuItem>
<telerik:RadMenuItem Text=
"Reports"
></telerik:RadMenuItem>
<telerik:RadMenuItem Selected=
"true"
Text=
"Stock Admin"
>
<GroupSettings Flow=
"Vertical"
/>
<Items>
<telerik:RadMenuItem Text=
"Admin"
></telerik:RadMenuItem>
<telerik:RadMenuItem Text=
"Stock Admin"
></telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>
</div>
/*RadMenu Styles*/
/*This is the new Menu that is on the Header.ascx control*/
.RadMenu_Default .rmGroup .rmLink {
padding-left
:
0px
;
/*these two will give the Sub Menu Items their styling*/
}
.RadMenu_Default .rmGroup .rmLink .rmText {
padding-left
:
5px
;
/*these two will give the Sub Menu Items their styling*/
}
.RadMenu_Default .rmRootGroup .rmSelected
{
background
:
#f7931d
;
/*what happens when the Tab is 'Selected'*/
}
div.RadMenu .rmRootGroup
{
/*all the border tags here, remove the black border that went round the entire Menu Control*/
border-width
:
0px
;
border-bottom
:
5px
solid
#f7931d
;
}
div.RadMenu .rmGroup .rmItem .rmText
{
text-align
:
left
;
}
.RadMenu_Default .rmRootGroup .rmItem .rmText
{
text-align
:
center
;
/*the Border tags help to seperate each Root Menu Tab to make it look like its a seperate entity*/
border-left
:
solid
;
border-right
:
solid
;
border-left-color
:
white
;
border-right-color
:
white
;
width
:
70px
;
/*width of each Root Menu Items*/
/*height:35px; height of each Root Menu Items*/
height
:
35px
;
color
:
#979797
;
/*colour of the text on Root and Sub Menu Tabs*/
font-family
:
Helvetica
,
Arial
,
sans-serif
;
}
.RadMenu_Default .rmRootLink:hover span.rmText
{
/*this sets the text white for the Root Menu Items only, when hovering over the Root Menu Item*/
color
:
white
;
}
.RadMenu_Default .rmGroup .rmLink:hover span.rmText
{
/*This sets the text white when hovering over the Sub Menu Items.*/
color
:
white
;
}
.RadMenu_Default .rmGroup .rmText
{
/*the border and background properties will remove the block on the left side of the Sub Menu Items where an icon would usually be placed.*/
border
:
1px
solid
#979797
;
background
:
#f0f0f0
;
}
.RadMenu_Default .rmText:hover
{
background
:
#f7931d
;
/*background of tabs when moused over*/
cursor
:
pointer
;
cursor
: hand;
}
.RadMenu_Default .rmRootGroup
{
background
:
#f0f0f0
;
/*specify the colour of the Root Tabs. Without doing this, it gives a gradient colour scheme from top to bottom*/
}
.RadMenu_Default
{
width
:
598px
;
/*width of the entire control*/
}
/*RadMenu Styles*/
Hi
Looking for some direction here:
I have a grid that I bind with data, and I have an imageButton control that I want to use to open a pop up with more data, but I don't want to do another database call, so the data in the pop up must be bound when the grid binds.
Any ideas / examples on how to achieve this.
Andy