function approveClick(comboBox)
{
//Here i would like to get the checked nodes,
//from the treeview and then to concatenate the nodes text value,
//to the input field like:
comboBox.set_text("node1;node2;node3");
comboBox.hideDropDown();
}
<
telerik:RadXmlHttpPanel
runat
=
"server"
ID
=
"xmlPanel"
onservicerequest
=
"Panel_ServiceRequest"
Width
=
"100%"
Height
=
"100%"
Skin
=
"Black"
>
<
telerik:RadRotator
ID
=
"ItemRotator"
RotatorType
=
"CoverFlowButtons"
runat
=
"server"
Height
=
"200px"
Width
=
"400px"
ItemWidth
=
"100"
ItemHeight
=
"100"
>
<
ItemTemplate
>
<
div
style
=
"width:96px; height:96px; margin:2px; background-color: black; border:2px solid white;"
>
<
asp:label
ID
=
"Label1"
runat
=
"server"
><%#Eval("Caption")%> </
asp:label
>
</
div
>
</
ItemTemplate
>
</
telerik:RadRotator
>
<
hr
/>
<
asp:Repeater
runat
=
"server"
ID
=
"ItemRepeater"
>
<
ItemTemplate
>
<
div
style
=
"width:400px; height: 100px; background-color:Black;border:2px solid white; float:left; margin: 2px;"
>
<
asp:Label
runat
=
"server"
> <%#Eval("Caption") %></
asp:Label
>
</
div
>
</
ItemTemplate
>
</
asp:Repeater
>
</
telerik:RadXmlHttpPanel
>
protected
void
Page_Load(
object
sender, EventArgs e)
{
String AbsoluteURL =
""
;
AbsoluteURL =
"xmldata.aspx"
;
Data = DataFetcher.URLtoDataset(AbsoluteURL, DataFetcher.DataKind.RecordSet);
ItemRotator.DataSource = Data;
ItemRotator.DataBind();
ItemRepeater.DataSource = Data;
ItemRepeater.DataBind();
}
protected
void
Panel_ServiceRequest(
object
sender, RadXmlHttpPanelEventArgs e) {
SelectedData = GetSelectedData();
ItemRotator.DataSource = SelectedData;
ItemRotator.DataBind();
ItemRepeater.DataSource = SelectedData;
ItemRepeater.DataBind();
}
String strJScript = "<script type=\"text/javascript\">alert('hello');</script>";
this.Page.RegisterClientScriptBlock("EditEvent",strJScript);
}
But then the AppointmentCreated() event was also fired where I added some code to customize the event tooltip.
protected void rsRadScheduler_AppointmentCreated(object sender, Telerik.Web.UI.AppointmentCreatedEventArgs e)
{
e.Appointment.ToolTip = GetTooltip(Convert.ToInt32(e.Appointment.ID));
_EventID = Convert.ToInt32(e.Appointment.ID);
}
Thing is the javascript was registered without errors but it did not execute. It was as good as nothing happened when I clicked on the appointment. Only that the tooltip was displayed...
In place of the alert method, I was originally trying to open a RADWindow (javascript) inside the AppointmentClick method. But since that didn't work when I tried it, I wanted to test if any javascript will be executed inside the method. Unfortunately, nothing happened.
How will I be able to open a RADWindow on AppointmentClick()? Do you have other suggestions or approach that could help me do this?
Thank you...
<
span
id
=
"spnPers"
class
=
"mouse-pointer learn-more"
>learn more</
span
>
<
rad:RadToolTip
ID
=
"RadToolTip1"
runat
=
"server"
TargetControlID
=
"spnPers"
IsClientID
=
"true"
Sticky
=
"false"
AutoCloseDelay
=
"10000"
Animation
=
"none"
Position
=
"TopLeft"
RelativeTo
=
"Element"
OffsetY
=
"2"
Height
=
"100px"
Width
=
"300px"
Skin
=
"Default"
Title
=
"Personalize"
CssClass
=
"ontop"
>
<
p
>
Jazz up your folder presentation by personalizing your folders with a stock graphic and/or text. Choose from 4 different foil colors, 28 stock graphics and 11 font styles that are sure to add impact.
</
p
>
<
br
/>
<
p
>
Additional $50 setup and $0.50 per folder foil fees apply. Personalized folders require a minimum purchase of 100 and then increments of 25.
</
p
>
<
br
/>
<
p
>
Check on the Personalize box and click on the "Personalize and Add to Cart" button
to get started building your personalized folders.
</
p
>
</
rad:RadToolTip
>
.ontop
{
z-index
:
10000
;
}