Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
hi i set Client Side event for RadTextBox like following line

 

 

Dim rtb As New RadTextBox

 

rtb.ClientEvents.OnValueChanged =

 

"gettext('" & row("LField").ToString.Trim  & "')"

Problem 1 : The event fires after the above line executes
Problem 2 : I getting the following Javascript Error

Microsoft JScript runtime error: Sys.InvalidOperationException: Handler must be a function.

the function in Seperate Javascript file
how to solve this Problem

 

Princy
Top achievements
Rank 2
 answered on 12 Jul 2011
1 answer
68 views

good day for u all

i've a radschadular that gets data from oracle DB the schadual is all credits avilable for students each credit has a group type/types under that group type the appointements avilablefor it.

what i need is

when the student checks one group type he can't leave to another credit if it hase more than group type untill checking all.

iwrote oracle procedure as follow to check this in the DB.

X VARCHAR2(20);
  A NUMBER;
  B NUMBER;
    
BEGIN

SELECT COUNT (GROUP_TYPE) INTO A
     FROM OLR.VIEW_COURSE_GROUP_TYPE
    WHERE COURSEID      = OLR.complete_group_type.COURSEID;
    
    
SELECT COUNT(A.GROUP_TYPE_CD) INTO B
     FROM OLR.STUDENT_REG_GROUP A
    WHERE A.STUDENTID     = OLR.complete_group_type.STUDENTID
      AND A.SEMESTERID    = (SELECT SEMESTERID FROM MSA.SEMESTER@MSA WHERE CURRENT_SEM = '1')
      AND A.COURSEID      = OLR.complete_group_type.COURSEID;
      
IF A<>B THEN

SELECT GROUP_TYPE INTO X
     FROM OLR.VIEW_COURSE_GROUP_TYPE
    WHERE COURSEID      = OLR.complete_group_type.COURSEID
    AND GROUP_TYPE NOT IN (SELECT A.GROUP_TYPE_CD
                             FROM OLR.STUDENT_REG_GROUP A
                            WHERE A.STUDENTID     = OLR.complete_group_type.STUDENTID
                              AND A.SEMESTERID    = (SELECT SEMESTERID FROM MSA.SEMESTER@MSA WHERE CURRENT_SEM = '1')
                              AND A.COURSEID      = OLR.complete_group_type.COURSEID);

RETURN ('YOU NOT CHOOSE GROUP TYPE '||X);


END IF;
EXCEPTION WHEN TOO_MANY_ROWS THEN
       RETURN ('PLEASE CHOOSE ALL COURSE GROUP TYPE');
END complete_group_type;

but i could't find the approbriate event to use it n how i used the rad shadular event appointement update

but i don't know how to use the upove function.

Veronica
Telerik team
 answered on 12 Jul 2011
4 answers
288 views
Could use a little assistance here...

I have a RadComboBox that when changed to a certain value, does a postback and dynamically creates a RadDatePicker server side inside a Panel control and adds it to a Div on the page. Once that is done, I have an ASP:Button that when clicked, needs to get the SelectedDate value of that RadDatePicker.

I believe from what I've read, the problem is that dynamically created controls aren't available when the ASP:Button does its postback. In the button event, I'm recreating the Panel and RadDatePicker so that I can reference the controls, but once I do that, the SelectedDate value of the RadDatePicker is gone.

Can you possibly show me how this can be done so that I can dynamically create a RadDatePicker and then retrieve it's value during postback when a button is clicked? Please note that if I turn on AutoPostBack=true, I lose the dynamically created RadDatePicker on postback.

Thanks so much!
Genti
Telerik team
 answered on 12 Jul 2011
1 answer
135 views
When the user clicks the edit link on a row in the GRID I want to transfer a value one column and load that value into a different column as the default value.  The user can then edit the default or click the Update link to commit the data.

How thoughts on how to code this in the Edit Command event?

Thanks for your help,
chris
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2011
3 answers
166 views
Hello ,

We are using Telerik's library for evaluation  purpose in our ASP.net project and all the controls working but RadScheduler behaving some thing differently.

I need one quick solution, I am using custom form but using your own Appointment class and binding appointments with multiple resources.Resource comes from different table.

I am able to bind them correctly but when my code point comes to AppointmentDataBound event I can not getting related resoource in
e.Resources part.

Appointment apt = new Appointment();
apt.Owner = rdScheduler;
apt.ID = 1;
apt.Subject = "MyOwn";
LoadTaskPersons(apt);    -->  loading Resource from this function.


Where I am missing ? please let me know what is the best practise to user multiple resource control with RadGrid.

Thanks in advance.
Tejas
Veronica
Telerik team
 answered on 12 Jul 2011
3 answers
875 views
Hi,
    When i am binding appointment from database i faceing the following error Value cannot be null. Parameter name: expression. Please Look the my code below
<telerik:RadScheduler runat="server" ID="RadScheduler1" Height="585px" SelectedDate="2010-03-04"
FirstDayOfWeek="Saturday" LastDayOfWeek="Thursday" DataKeyField="ActivityId" 
DataSubjectField="Subject" DataDescriptionField="Description" DataStartField="Start"
 ShowFooter="true" ShowHeader="true" DataEndField="End" CustomAttributeNames="Location"
 StartInsertingInAdvancedForm="true" StartEditingInAdvancedForm="true" EnableExactTimeRendering="true"
Skin="Windows7" EnableDescriptionField="true" DataReminderField="Reminder" AppointmentStyleMode="Default"
OnNavigationComplete="RadScheduler1_NavigationComplete" OnAppointmentCreated="RadScheduler1_AppointmentCreated"
OnAppointmentDataBound="RadScheduler1_AppointmentDataBound">
 <AdvancedForm EnableCustomAttributeEditing="true" EnableResourceEditing="true" Modal="true" />
      <TimelineView UserSelectable="false" />
              <Reminders Enabled="true" />
                   <ResourceTypes>
                                        <telerik:ResourceType Name="Category" DataSourceID="odsScheduleCategory" ForeignKeyField="CategoryID"
                                            TextField="ColorCategory" KeyField="CategoryID" />
                                    </ResourceTypes>
                                    <ResourceStyles>
                                        <%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor
                            will switch the appointments to Simple rendering (no rounded corners and gradients)--%>
                                        <%--<telerik:ResourceStyleMapping Type="Category" Text="ColorCategory" ApplyCssClass="rsCategoryBlue"
                                            BorderColor="#B0CC9B" />
                                        <telerik:ResourceStyleMapping Type="Category" Text="Green Category" ApplyCssClass="rsCategoryGreen" />
                                        <telerik:ResourceStyleMapping Type="Category" Text="ColorCategory" BackColor="#edd5b7"
                                            BorderColor="#cdb597" />--%>
                                    </ResourceStyles>
                                    <AppointmentTemplate>
                                        <div>
                                            <%# Eval("Subject") %>
                                        </div>
                                        <%# Eval("Description") %>
                                        <%#Eval("Location")%>
                                        <%#Eval("Start")%>
                                        <%#Eval("End")%>
                                        <%#Eval("ShowAs")%>
                                    </AppointmentTemplate>
                                    <%--<AdvancedInsertTemplate>
                                        <telerik:RadTextBox ID="txtLocation" runat="server" Label="Location :" Skin="Windows7">
                                        </telerik:RadTextBox>
                                    </AdvancedInsertTemplate>--%>
                                    <TimeSlotContextMenuSettings EnableDefault="true" />
                                    <AppointmentContextMenuSettings EnableDefault="true" />
                                </telerik:RadScheduler>
RadScheduler1.DataSource = dt
           RadScheduler1.DataBind()
Veronica
Telerik team
 answered on 12 Jul 2011
1 answer
59 views
Hi,

I want to extract the values of the columns on InsertCommand and i am not able to fatch then. I am doing as below
protected void RadGrid1_InsertCommand(object source, GridCommandEventArgs e)
        {
                GridDataInsertItem insertItem;
                insertItem = (GridDataInsertItem)RadGrid1.MasterTableView.GetInsertItem();
         }

In above code, always i am getting null insertItem object. Why ? Can anyone tell me how to get the Inserted Values in grid columns on InsertCommand ?

I am using objectDataSource to Bind the grid. not binding on CodeBehind. I have SelectCommand in that objectDataSource.

Thanks,
--Jai

Princy
Top achievements
Rank 2
 answered on 12 Jul 2011
3 answers
144 views
Hi,
I've got a problem with the scheduler. I can't move one appointment before another one, only the other way. I.e: I've got one appointment at 10am to 11am and then another one from 1pm to 2pm. Now I want to move that second appointment to 9am to 9:30pm, but it doesn't and I'm unable to see why.
I'm also wondering how I can change the hours shown in the dropdown-lists in the advanced form to show all 24 hours without 30-min intervals.

This is my code:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="schedulerBooking.ascx.cs" Inherits="schedular.schedulerBooking" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  <script type="text/javascript">
      function OnClientAppointmentMoving(sender, eventArgs) {
          eventArgs.set_cancel(true);
      
    </script>
<telerik:RadScriptManager ID="radScriptManager" runat="server" />
<telerik:RadAjaxPanel ID="radAjaxPanel" runat="server" LoadingPanelID="radAjaxLoadingPanel">
    <telerik:RadAjaxManager ID="radAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radScheduler">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radScheduler" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlRooms">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radScheduler" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="radAjaxManager">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radScheduler" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <asp:UpdatePanel ID="upRadioButtons" runat="server">
        <ContentTemplate>
            <asp:Label ID="lblRooms" runat="server" AssociatedControlID="ddlRooms" Text="Stuga" />
            <telerik:RadComboBox ID="ddlRooms" runat="server" AutoPostBack="true" />
        </ContentTemplate>
    </asp:UpdatePanel>
    <telerik:RadScheduler
        ID="radScheduler"
        runat="server"
        FirstDayOfWeek="Monday"
        LastDayOfWeek="Sunday"
        DayStartTime="00:00:00"
        DayView-WorkDayStartTime="00:00:00"
        DayEndTime="23:59:59"
        DayView-WorkDayEndTime="23:59:59"
        TimeLabelRowSpan="1"
        MinutesPerRow="60"
        StartInsertingInAdvancedForm="True"
        Culture="sv-SE"
        HoursPanelTimeFormat="HH:mm"
        ShowAllDayRow="False"
        ShowFooter="False"
        CustomAttributeNames="Bokare"
        AdvancedForm-EnableCustomAttributeEditing="true"
        DataKeyField="BookingId" DataSubjectField="Subject"
        DataStartField="Start" DataEndField="End"
        DataSourceID="BookingDataSource"
        onappointmentdelete="radScheduler_AppointmentDelete"
        onappointmentinsert="radScheduler_AppointmentInsert"
        onappointmentupdate="radScheduler_AppointmentUpdate"
        NumberOfHoveredRows="2" onformcreated="radScheduler_FormCreated"
        onformcreating="radScheduler_FormCreating" OnClientAppointmentMoving="OnClientAppointmentMoving" WeekView-ReadOnly="false" WeekView-DayEndTime="23:59:59" WeekView-DayStartTime="00:00:00">
            <AdvancedForm Modal="true" />
            <AppointmentTemplate>
                <strong><%# Eval("Bokare") %></strong>
                <p><%# Eval("Subject") %></p>
            </AppointmentTemplate>
            <TimelineView UserSelectable="true" />
            <TimeSlotContextMenuSettings EnableDefault="false" />
            <TimeSlotContextMenus>
                <telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu" runat="server">
                    <Items>
                        <telerik:RadMenuItem Text="Ny bokning" Value="CommandAddAppointment" />
                        <telerik:RadMenuItem IsSeparator="true" />
                        <telerik:RadMenuItem Text="GÃ¥ till idag" Value="CommandGoToToday" />
                    </Items>
                </telerik:RadSchedulerContextMenu>
            </TimeSlotContextMenus>
            <AppointmentContextMenuSettings EnableDefault="false" />
            <AppointmentContextMenus>
                <telerik:RadSchedulerContextMenu ID="SchedulerAppointmentContextMenu" runat="server">
                    <Items>
                        <telerik:RadMenuItem Text="Redigera" Value="CommandEdit" />
                        <telerik:RadMenuItem IsSeparator="true" />
                        <telerik:RadMenuItem Text="Ta bort" Value="CommandDelete" />
                    </Items>
                </telerik:RadSchedulerContextMenu>
            </AppointmentContextMenus>
            <AdvancedForm Modal="True" />
            <Localization AdvancedAllDayEvent="Heldag" AdvancedCalendarCancel="Avbryt"
                AdvancedCalendarToday="Idag" AdvancedClose="Stäng" AdvancedDaily="Dagligen"
                AdvancedDay="Dag" AdvancedDays="dag(ar)" AdvancedDescription="Beskrivning"
                AdvancedDone="Färdig" AdvancedEditAppointment="Ändra bokning"
                AdvancedFrom="Start" AdvancedNewAppointment="Ny bokning" AdvancedSubject="Ämne"
                AdvancedTo="Till" AdvancedWeekly="Veckovis" AllDay="Heldag" Cancel="Avbryt"
                ConfirmCancel="Avbryt"
                ConfirmDeleteText="Är du säker pÃ¥ att du vill ta bort bokningen?"
                ConfirmDeleteTitle="Bekräfta borttagning"
                ContextMenuAddAppointment="Ny bokning" ContextMenuDelete="Ta bort"
                ContextMenuEdit="Ändra" ContextMenuGoToToday="GÃ¥ till idag" HeaderDay="Dag"
                HeaderMonth="MÃ¥nad" HeaderMultiDay="Flera dagar" HeaderNextDay="nästa dag"
                HeaderPrevDay="föregÃ¥ende dag" HeaderTimeline="Tidslinje" HeaderToday="Idag"
                HeaderWeek="Vecka" Save="Spara" Show24Hours="24 timmars format"
                ShowAdvancedForm="Val" />
            <TimelineView UserSelectable="False" />
        </telerik:RadScheduler>
</telerik:RadAjaxPanel>
 
<asp:SqlDataSource ID="BookingDataSource" runat="server"
    ConnectionString="<%$ ConnectionStrings:*%>"
    SelectCommand="SELECT [BookingId], [Subject], [Start], [End], [RoomId], [nodeId] FROM [Bookings] WHERE ([RoomId] = @RoomId)">
    <SelectParameters>
        <asp:ControlParameter ControlID="ddlRooms" DefaultValue="1" Name="RoomId"
            PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using umbraco.cms.businesslogic.member;
 
namespace schedular
{
    public partial class schedulerBooking : System.Web.UI.UserControl
    {
        protected dbDataContext db = new dbDataContext();
        protected int userId = umbraco.cms.businesslogic.member.Member.GetCurrentMember().Id;
        protected bool IsBookingAdmin;
 
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                var rooms = (from r in db.Rooms
                             select r);
                ddlRooms.DataTextField = "RoomName";
                ddlRooms.DataValueField = "RoomId";
                ddlRooms.DataSource = rooms;
                ddlRooms.DataBind();
            }
            BookingDataSource.SelectCommand = "SELECT b.[BookingId], b.[Subject], b.[End], b.[Start], b.[RoomId], b.[nodeId], u.[LoginName] Bokare FROM [Bookings] AS b JOIN [cmsMember] AS u ON u.[nodeId] = b.[nodeId] WHERE ([RoomId] = @RoomId)";
        }
 
        protected void radScheduler_AppointmentInsert(object sender, AppointmentInsertEventArgs e)
        {
                BookingDataSource.InsertCommand = "INSERT INTO [Bookings] ([Subject], [Start], [End], [RoomId], [nodeId]) VALUES (@Subject, @Start, @End, " + int.Parse(ddlRooms.SelectedValue) + ", " + userId + ")";
                radScheduler.Rebind();
        }
 
        protected void radScheduler_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
        {
            foreach (Member member in Member.GetAll)
            {
                if (member.ContentType.Alias.ToString() == "BookingAdmin")
                    IsBookingAdmin = true;
                else
                    IsBookingAdmin = false;
            }
                foreach (Appointment a in radScheduler.Appointments.GetAppointmentsInRange(e.ModifiedAppointment.Start, e.ModifiedAppointment.End))
                {
                    int id = (int)e.Appointment.ID;
                    int aId = (int)a.ID;
                    var bookingOwner = (from o in db.Bookings
                                        where o.BookingId == id
                                        select o).Single();
                    if (aId == id && bookingOwner.nodeId == userId || IsBookingAdmin)
                    {
                        BookingDataSource.UpdateCommand = "UPDATE [Bookings] SET [Subject] = @Subject, [Start] = @Start, [End] = @End, [RoomId] = " + int.Parse(ddlRooms.SelectedValue) + " WHERE [BookingId] = " + id;
                        radScheduler.Rebind();
                    }
                    else
                        e.Cancel = true;
            }
        }
 
        protected void radScheduler_AppointmentDelete(object sender, AppointmentDeleteEventArgs e)
        {
            foreach (Member member in Member.GetAll)
            {
                if (member.ContentType.Alias.ToString() == "BookingAdmin")
                    IsBookingAdmin = true;
                else
                    IsBookingAdmin = false;
            }
            int id = (int)e.Appointment.ID;
            var bookingOwner = (from o in db.Bookings
                                where o.BookingId == id
                                select o).Single();
            if (bookingOwner.nodeId == userId || IsBookingAdmin == true)
            {
                BookingDataSource.DeleteCommand = "DELETE FROM [Bookings] WHERE [BookingId] = " + id;
                radScheduler.Rebind();
            }
            else
                e.Cancel = true;
        }
 
        protected void radScheduler_FormCreating(object sender, SchedulerFormCreatingEventArgs e)
        {
            var user = (from u in db.cmsMembers
                        where u.nodeId == userId
                        select u).Single();
            if (string.IsNullOrEmpty(e.Appointment.Attributes["Bokare"]))
                e.Appointment.Attributes["Bokare"] = user.LoginName;
        }
 
        protected void radScheduler_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
        {
            if (e.Container.Mode == SchedulerFormMode.AdvancedEdit || e.Container.Mode == SchedulerFormMode.AdvancedInsert)
            {
                RadTextBox txtBooker = e.Container.FindControl("AttrBokare") as RadTextBox;
                txtBooker.Enabled = false;
                txtBooker.Style.Value = "border:0;color:Black !important;background-color:#EEEEEE;";
            }
        }
    }
}
Veronica
Telerik team
 answered on 12 Jul 2011
1 answer
67 views
Hi there,

I have an issue on radscheduler. For example, I have a textbox(for search), button and radscheduler.

Is it possible to type something in the textbox and if there's such data in the db, it will rebind and navigate the scheduler to the date of the event.

I need help in this urgently. Hope to receive good news soon.

Regards.
Plamen
Telerik team
 answered on 12 Jul 2011
2 answers
97 views
Hi,

        I have a simple toolbar which has many buttons. Add, Save, Delete etc amd all buttons have separate images. Currently size of these images are 16X16 pixels
 Now we have to shrink the height of the toolbar by 3 pixels. I'm able to adjust the height of the toolbar to the required level. But there seems some problems:-

1. Vertical alignment of the buttons do not look good. Instead of aligned middle they look bottom aligned.
2. On button hover, we can see the hover image cliped from the bottom (Please compare Current view.jpg and Changed view.jpg for understanding)

I hacve also rediced the height of the images to 13X13 pxels. But things are not working.

Code:-
Master page:-

 

<telerik:RadPane ID="rPanContentPlaceHplder" runat="server" Height="100%" Width="100%"

 

 

Scrolling="None">

 

 

<telerik:RadSplitter ID="rSplHeaderToolBar" runat="server" Height="100%" Width="100%"

 

 

Orientation="Horizontal">

 

 

<telerik:RadPane ID="rPanHeader" runat="server" Height="25px" Width="100%" Scrolling="None">

 

 

<uc:HeaderToolBar ID="ucMEHeaderToolBar" runat="server" />

 

 

</telerik:RadPane>

 

 

<telerik:RadPane ID="ContentPane" runat="server" Scrolling="Both" Style="overflow: scroll;

 

vertical-align: top;"

 

Width="100%">

 

 

<asp:ContentPlaceHolder ID="content" runat="server">

 

 

</asp:ContentPlaceHolder>

 

 

</telerik:RadPane>

 

 

</telerik:RadSplitter>

 

 

</telerik:RadPane>

 



Tool bar code:-

<

 

telerik:RadToolBar ID="barTopCommandBar" runat="server" Height="100%" Width="100%"

 

 

OnPreRender="barTopCommandBar_PreRender" OnButtonClick="barTopCommandBar_ButtonClick"

 

 

OnClientButtonClicking="clientbuttonclick" CssClass="toolbarbuttons">

 

 

<Items>

 

 

<telerik:RadToolBarButton runat="server" CommandName="ADD" ImageUrl="~/Images/TLB_ADDNEW_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlAdd %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipAdd %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="SAVE_REVALIDATE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="Save_revalidate" ImageUrl="~/Images/TLB_SAVE_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlSaveRevalidate %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipSaveRevalidate %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="SAVE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="SAVE" ImageUrl="~/Images/TLB_SAVE_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlSave %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipSave %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="DELETE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="DELETE" ImageUrl="~/Images/TLB_DELETE_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlDelete %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipDelete %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="UNDO_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="UNDO" ImageUrl="~/Images/TLB_UNDO_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlUndo %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipUndo %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="SAVE_AND_REPLACE_SEPRATOR"

 

 

IsSeparator="true" Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="Save_Replace" ImageUrl="~/Images/TLB_EDIT_16.gif"

 

 

PostBack="false" OnClick="javascript:OpenSearchAndReplace();" Text="<%$ Resources:PDICulture, htbControlSaveReplace %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipSaveReplace %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="ADD_FROM_TEMPLATE_SEPRATOR"

 

 

Visible="false" IsSeparator="true" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="ADD_FROM_TEMPLATE" Visible="false"

 

 

ImageUrl="~/Images/addtemplate.png" Text="<%$ Resources:PDICulture, htbControlAddFromTemplate %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlAddFromTemplate %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="SAVE_AS_TEMPLATE_SEPRATOR"

 

 

Visible="false" IsSeparator="true" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="SAVE_AS_TEMPLATE" Visible="false"

 

 

ImageUrl="~/Images/savetemplate.png" Text="<%$ Resources:PDICulture, htbControlSaveAsTemplate %>"

 

 

ToolTip="Save as Template">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="DELETE_TEMPLATE_SEPRATOR" Visible="false"

 

 

IsSeparator="true" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="DELETE_TEMPLATE" Visible="false"

 

 

ImageUrl="~/Images/deletetemplate.png" Text="<%$ Resources:PDICulture, htbControlDeleteTemplate %>"

 

 

ToolTip="Delete Template">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="REFRESH_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="REFRESH" ImageUrl="~/Images/TLB_REFRESH_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlRefresh %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipRefresh %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="NEW_MESSAGE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="NEW_MESSAGE" Text="<%$ Resources:PDICulture, htbControlNewMessage %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipNewMessage %>" ImageUrl="~/Images/PicSendNewMsg_16x16.png">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="ACK_MESSAGE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="ACK_MESSAGE" Text="<%$ Resources:PDICulture, htbControlAcknowledgement %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipAcknowledgement %>" Visible="false">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="DELETE_MESSAGE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="DELETE_MESSAGE" Text="<%$ Resources:PDICulture, htbControlDeleteMessage %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipDeleteMsg %>" Visible="false">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="REPLY_MESSAGE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="REPLY_MESSAGE" Text="<%$ Resources:PDICulture, htbControlReplyMessage %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipReplyMessage %>" Visible="false">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="REFRESH_MESSAGE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="REFRESH_MESSAGE" Text="<%$ Resources:PDICulture, htbControlRefreshMessage %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipRefreshMessage %>" Visible="false" ImageUrl="~/Images/cmdCheckForMsg16x16.png">

 

 

</telerik:RadToolBarButton>

 

 

 

<telerik:RadToolBarButton runat="server" CommandName="PRINT_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="PRINT" ImageUrl="~/Images/TLB_PRINT_16.png"

 

 

Text="<%$ Resources:PDICulture, htbControlPrint %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipPrint %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="UNPROCESSED_MESSAGE_SEPRATOR"

 

 

IsSeparator="true" Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="UNPROCESSED_MESSAGE" Text="<%$ Resources:PDICulture, htbControlUnprocessedMessage %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipUnprocessedMessage %>" ImageUrl="~/Images/TLB_PRINT_16.png">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="PROFILE_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="PROFILE" Text="<%$ Resources:PDICulture, htbControlMProfile %>"

 

 

ToolTip="<%$ Resources:PDICulture, htbControlToolTipMProfile %>">

 

 

</telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" CommandName="HELP_SEPRATOR" IsSeparator="true"

 

 

Visible="false" />

 

 

<telerik:RadToolBarButton runat="server" CommandName="HELP" ImageUrl="~/Images/TLB_HELP2_16.gif"

 

 

Text="<%$ Resources:PDICulture, htbControlHelp %>" ToolTip="<%$ Resources:PDICulture, htbControlToolTipHelp %>"

 

 

PostBack="false" onClick="javascript:openHelp();">

 

 

</telerik:RadToolBarButton>

 

 

</Items>

 

</

 

telerik:RadToolBar>

 


Thanks
Rajesh



Kate
Telerik team
 answered on 12 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?