Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
278 views
Hi, Telerik,

I have a radwindow U opened in home.aspx which has a restriction zone. everytime when I click any button in radwindow U, the page postback and the position of radwindow U has been changed, it looks like the radwindow U is jumping inside the home.aspx at each postback..

How to fix the problem? thanks a lot.

Yao
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
6 answers
109 views
I am using telerik asp.net scheduler control in my MVC project, i know it has very less support in mvc that to via webservice calls only. me implemented with one existing demo from telerik site only. Currently we are using timeline view in that scheduler. my task is adding SlotDuration, TimeLabelSpan, ColumnHeaderDateFormat, NumberOfSlots, GroupingDirection

everthing is working fine when i giving SlotDuration="13.00:00:00" (13days) from 13 days to 24 days it working fine below 13 above 24 days it's not working. below is the my scheduler code for SlotDuration="25.00:00:00"(i am changing only my slotduraion nothing else)

<telerik:RadScheduler ID="RadScheduler1" runat="server" OnClientAppointmentsPopulating="OnClientAppointmentsPopulating"
            AppointmentStyleMode="Default" SelectedView="TimelineView" SelectedDate="2012-01-01"
            ShowHeader="false" Width="100%" ShowViewTabs="false" GroupBy="ProjectCategory"
            ReadOnly="true" OnClientAppointmentsPopulated="OnClientAppointmentsPopulated"
            OnClientAppointmentDataBound="OnClientAppointmentDataBound">
            <TimelineView SlotDuration="25.00:00:00" TimeLabelSpan="4"  ColumnHeaderDateFormat="yyyy"
                NumberOfSlots="80" GroupingDirection="Vertical" />
            <WebServiceSettings Path="../../SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
            <AdvancedForm Modal="true" />
        </telerik:RadScheduler>

please check attached screen shoot  ViewStart and ViewEnd it showing wrong dates. please help me to solve this problem

I need slot duration is 30days. Help me to get out from this.
Thank you in advance :-)
Plamen
Telerik team
 answered on 22 Oct 2012
1 answer
51 views
Hi,

I have issue where CSS rules are not getting applied to LEGEND of fieldset in IE6 with RadFormDecorator as can be seen in Image attached.

PFA (IE-6 Legend and IE-7-8 Lened)
Bozhidar
Telerik team
 answered on 22 Oct 2012
5 answers
140 views
I have a radgrid with EnableVirtualScrollPaging set to true. Generally it works fine, but under certain conditions when there are only 2 pages(filter applied), scrolling fails to get the next page while the pager still functions properly. The condition is when the rows in the grid do not quite fill the scroll height. I set the number of rows and scroll height based on the window size. To avoid some rows only being partial visible at the bottom of the grid, I only put in the number of rows that fit which sometimes leaves a small space in the scroll height not filled. In some browsers this condition with 2 pages fails to virtual scroll the page and in others it even fails to spawn the scroll bar.
The grid is using sever side binding. It has about 1500 records so I am not using custom paging with VirtualItemCount.
I would appreciate some suggestions, thanks.
. 
Kostadin
Telerik team
 answered on 22 Oct 2012
3 answers
135 views

 

Hi Telerik,

We have just updated to Q3 2012 release. After that, some bugs appeared in Metro style. Corners for input controls have been squared before updating the release. After update are rounded (see attached file rounded.png).
 
When mouse cursor is over the control, corner is changed to square (see attached file squared.png). The same problem appears in the filter controls in grids (see attached file grid-filter.png).
 

Regards,

SCT

Marin Bratanov
Telerik team
 answered on 22 Oct 2012
1 answer
108 views
Hi,
i have a radgrid inside a radwindow. I enabled virtual scrolling and fixheaders on grid.
The issue is - when i resize my radwindow the content of the grid get disapeared.
Any idea
Thanks
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
4 answers
485 views
Hi,

I am trying to use the "Add new Record" button of the RadGrid to fire a confirmation message to our users.  I have achieved this by capturing the event in RadGrid_ItemCommand method which works perfectly, but the edit form still shows even though I don't want it to.
Is there a way to hide/remove the edit form so that the users will not see it?

Thanks in advance,

Paul
Martin Roussel
Top achievements
Rank 1
 answered on 22 Oct 2012
2 answers
124 views

Hi,
I am very much new to telerik charting.

my criteria is as follows

i want to create stacked chart for skills and its duration .skills are grouped according to locations.

please see attached file(datasource1.png)of datasource want to bind to create stacked chart.

second attachment is of desired stack chart that i need(requiredstackchart.png).

can you please tell me if it is possible.if yes then can you provide me working example.
also, i am not using silverlight,just simple asp.net.
please reply soon.its very urgent.

thanks in advance
Petar Kirov
Telerik team
 answered on 22 Oct 2012
0 answers
103 views

Hello friends,

I am using C# and asp.net to do the following.

When the customer clicks the Transmit Button, I need to have a confirm popup. When the customer presses "Ok", I need to continue with the code behind function. For this I used asp.net ModalPopupExtender. And Created 2 functions in the code behind for "OK" and "Cancel" click events. My aspx code is as follows:

<!-- Panel --> 


<asp:Panel ID="pnlIssues" runat="server" BorderColor="Black" BorderStyle="Outset" BorderWidth="2" BackColor="Wheat" Width="400px" Height="106px">

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate> 

<asp:Button ID="btnWarning" runat="server" Text = "Cancel" OnClick ="RefreshAfterCancel_Click" CausesValidation="false" />
<asp:Button ID="btnOK" runat="server" Text = "OK" OnClick="TransmitAfterOK_Click" CausesValidation="false"/>
</ContentTemplate>
</asp:UpdatePanel> 


</asp:Panel> 


<ajaxToolkit:ModalPopupExtender ID="WarningModal" TargetControlID="dummyLink2" BehaviorID="WarningModal" PopupControlID="pnlIssues" runat="server" ViewStateMode="Enabled" CancelControlID="btnWarning" OkControlID = "btnOK">
</ajaxToolkit:ModalPopupExtender>

<asp:HyperLink ID="dummyLink2" runat="server" NavigateUrl="#" />

This is the code behind:

protected void TransmitButton_Click(object sender, EventArgs e)
{ 
WarningModal.Show();

}

protected void RefreshAfterCancel_Click(object sender, EventArgs e)
{
try
{

Response.Redirect("~/ManageCases.aspx?CaseID=" + GlobalData.CaseID.ToString());

}
catch { }
}

protected void TransmitAfterOK_Click(object sender, EventArgs e)
{

.......}

But when I click the transmit button, it opens the popup and when I click "OK" it gives me the error:

"Microsoft JScript runtime error: Unable to get value of the property 'length': object is null or undefined".

When I click "break" and continue, it does what its supposed to do. I don't understand why it gives the error. This error only shows up in internet explorer. It works fine in FF and Chrome. Also, I am using RADScriptManager in my masterpage.

Any help will be greatly appreciated. I have been trying to figure this out for two days without any luck. I have tried all the tips that were answered for this error message, but still doesn't work for me. Thank you in advance.

Sunil
Top achievements
Rank 1
 asked on 22 Oct 2012
2 answers
154 views

Hi
<telerik:RadPageView runat="server" ID="PageView_TicketGeneral">
                                                        <div class="tabbedmultipageHeight tblspacer">
                                                            <telerik:RadDockZone ID="RadDockZone_TicketGeneral" ClientIDMode="Static" runat="server"
                                                                Orientation="Horizontal" Style="position: inherit;" MinHeight="305px">
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Technician_Group%>" ID="RadDock_TechGroup_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_TechGroup_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_TechGroup_Name_required" runat="server"
                                                                                value="0" title="ddl_TechnicianGroup" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_TechGroup_Name_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_TechGroup_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr>
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock4" runat="server">
                                                                                            <label id="ddl_TechnicianGroup_lbl">
                                                                                                <%= Resources.Ticket.Technician_Group%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td width="60%">
                                                                                        <telerik:RadComboBox ID="ddl_TechnicianGroup" runat="server" DataTextField="TechGroup_Name"
                                                                                            DataValueField="TechGroupID" Style="vertical-align: Middle;" Width="180px" OnItemsRequested="ddl_TechnicianGroup_ItemsRequested"
                                                                                            OnSelectedIndexChanged="fillTech" OnClientSelectedIndexChanging="TicketTechGroupChanging"
                                                                                            AutoPostBack="true" />
                                                                                        <input type="hidden" runat="server" id="hdGrpID" enableviewstate="true" clientidmode="Static"
                                                                                            value="-1" />
                                                                                        <asp:HiddenField ID="hdTechnicianGroup" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Date_Received%>" ID="RadDock_Date_Received"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_Date_Received_div">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Date_Received_required" runat="server"
                                                                                value="0" title="Date_Received" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Date_Received_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Date_Received_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock50" runat="server">
                                                                                            <label id="Date_Received_lbl">
                                                                                                <%= Resources.Ticket.Date_Received%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left;" width="60%">
                                                                                        <telerik:RadDateTimePicker runat="server" Width="180px" ID="dtp_DateReceived" OnSelectedDateChanged="ReceivedDateChanged"
                                                                                            AutoPostBackControl="Both">
                                                                                            <DateInput ID="DateInput1" Style="height: 14px !important;" runat="server">
                                                                                            </DateInput>
                                                                                            <Calendar ShowRowHeaders="false" />
                                                                                        </telerik:RadDateTimePicker>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Technician%>" ID="RadDock_ppl_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_ppl_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_ppl_Name_required" runat="server"
                                                                                value="0" title="ddl_Technician" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_ppl_Name_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_ppl_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel" style="width: 40%;">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock6" runat="server">
                                                                                            <label id="ddl_Technician_lbl">
                                                                                                <%= Resources.Ticket.Technician%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadComboBox ID="ddl_Technician" runat="server" Style="vertical-align: middle;
                                                                                            float: left" Width="145px" OnClientSelectedIndexChanging="TicketTechnicianChanging"
                                                                                            AllowCustomText="true" EnableLoadOnDemand="true" MarkFirstMatch="true" OnItemsRequested="ddl_Technician_ItemsRequested"
                                                                                            OnClientBlur="isNewItem" OnItemDataBound="ddl_Technician_OnItemDataBound" />
                                                                                        <input type="hidden" runat="server" id="hdtechID" enableviewstate="true" clientidmode="Static"
                                                                                            value="-1" />
                                                                                        <asp:HiddenField ID="hdTTechnician" runat="server" />
                                                                                        <img clientidmode="Static" id="img1" runat="server" onclick="return ShowPopupTechnician(); return false;"
                                                                                            src="~/Content/images/Search1.png" alt="look up" title="<%$ Code:Resources.Common.Lookup%>"
                                                                                            border="0" style="float: left; cursor: pointer; margin-left: 3px;" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Impact%>" ID="RadDock_Impact_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_Impact_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Impact_Name_required" runat="server"
                                                                                value="0" title="ddl_Impact" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Impact_Name_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Impact_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock7" runat="server">
                                                                                            <label id="ddl_Impact_lbl">
                                                                                                <%= Resources.Ticket.Impact%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadComboBox ID="ddl_Impact" CausesValidation="false" DataTextField="Impact_Name"
                                                                                            DataValueField="ImpactID" runat="server" Style="vertical-align: middle;" Width="180px"
                                                                                            AutoPostBack="true" OnSelectedIndexChanged="UpdatePriority" OnClientSelectedIndexChanging="TicketImpactChanging">
                                                                                        </telerik:RadComboBox>
                                                                                        <asp:HiddenField ID="hdImpact" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Category%>" ID="RadDock_Category_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_Category_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Category_Name_required" runat="server"
                                                                                value="0" title="ddl_Category" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Category_Name_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Category_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock8" runat="server">
                                                                                            <label id="ddl_Category_lbl">
                                                                                                <%= Resources.Ticket.Category%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td width="60%" style="text-align: left">
                                                                                        <telerik:RadComboBox ID="ddl_Category" DataTextField="Category_Name" DataValueField="CategoryID"
                                                                                            runat="server" Style="vertical-align: middle;" Width="180px" OnClientSelectedIndexChanging="LoadSubCategory"
                                                                                            OnItemsRequested="ddl_Category_ItemsRequested" AllowCustomText="false" EnableLoadOnDemand="false"
                                                                                            MarkFirstMatch="false" />
                                                                                        <asp:HiddenField ID="hdTCategory" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Urgency%>" ID="RadDock_Urgency_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_Urgency_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Urgency_Name_required" runat="server"
                                                                                value="0" title="ddl_Urgency" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Urgency_Name_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Urgency_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock9" runat="server">
                                                                                            <label id="ddl_Urgency_lbl">
                                                                                                <%= Resources.Ticket.Urgency%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadComboBox ID="ddl_Urgency" CausesValidation="false" DataTextField="Urgency_Name"
                                                                                            DataValueField="UrgencyID" runat="server" Style="vertical-align: middle;" Width="180px"
                                                                                            AutoPostBack="true" OnSelectedIndexChanged="UpdatePriority" OnClientSelectedIndexChanging="TicketUrgencyChanging" />
                                                                                        <asp:HiddenField ID="hdUrgency" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Subcategory%>" ID="RadDock_SubCategory_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_SubCategory_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_SubCategory_Name_required"
                                                                                runat="server" value="0" title="ddl_Subcategory" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_SubCategory_Name_readonly"
                                                                                runat="server" value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_SubCategory_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock10" runat="server">
                                                                                            <label id="ddl_Subcategory_lbl">
                                                                                                <%= Resources.Ticket.Subcategory%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadComboBox ID="ddl_Subcategory" runat="server" DataTextField="SubCategory_Name"
                                                                                            DataValueField="SubCategoryID" Style="vertical-align: middle;" Width="180px"
                                                                                            OnItemsRequested="ddl_Subcategory_ItemsRequested" OnClientSelectedIndexChanging="TicketSubcategoryChanging" />
                                                                                        <asp:HiddenField ID="hdSubcategory" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Priority %>" ID="RadDock_Priority_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_Priority_Name_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Priority_Name_required" runat="server"
                                                                                value="0" title="ddl_Priority" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Priority_Name_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Priority_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock11" runat="server">
                                                                                            <label id="ddl_Priority_lbl">
                                                                                                <%= Resources.Ticket.Priority %></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td width="60%" style="text-align: left">
                                                                                        <telerik:RadComboBox ID="ddl_Priority" CausesValidation="false" AutoPostBack="true"
                                                                                            runat="server" Style="vertical-align: middle;" Width="180px" DataTextField="Priority_Name"
                                                                                            DataValueField="PriorityID" OnItemsRequested="ddl_Priority_ItemsRequested" OnSelectedIndexChanged="SetDueDate"
                                                                                            OnClientSelectedIndexChanging="TicketPriorityChanging" />
                                                                                        <asp:HiddenField ID="hdPriority" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Organization%>" ID="RadDock_Organization_Name"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_org_div" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Organization_Name_required"
                                                                                runat="server" value="0" title="ddl_Organization" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Organization_Name_readonly"
                                                                                runat="server" value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Organization_Name_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel" style="width: 40%;">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock12" runat="server">
                                                                                            <label id="ddl_Organization_lbl">
                                                                                                <%= Resources.Ticket.Organization%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left; padding: 0px;" width="60%">
                                                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                                                            <tr>
                                                                                                <td align="left" style="width: 140px;">
                                                                                                    <telerik:RadComboBox ID="ddl_Organization" DataValueField="Organizations_ID" DataTextField="Organization_Name"
                                                                                                        runat="server" Style="vertical-align: Middle;" Width="150px" OnItemsRequested="ddl_Organization_ItemsRequested"
                                                                                                        AllowCustomText="true" EnableLoadOnDemand="true" MarkFirstMatch="true" OnClientBlur="isNewItem"
                                                                                                        OnClientSelectedIndexChanged="loadreq" />
                                                                                                    <input type="hidden" runat="server" id="hdorgaddID" enableviewstate="true" clientidmode="Static"
                                                                                                        value="-1" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <img clientidmode="Static" id="imgOrgLookup" runat="server" onclick="return ShowPopupOrganization(); return false;"
                                                                                                        src="~/Content/images/Search1.png" alt="look up" title="<%$ Code:Resources.Common.Lookup%>"
                                                                                                        border="0" style="cursor: pointer; float: left;" />
                                                                                                    <input type="hidden" runat="server" id="hdOrgId" enableviewstate="true" clientidmode="Static"
                                                                                                        value="-1" />
                                                                                                </td>
                                                                                                <td style="display: none;">
                                                                                                    <telerik:RadTextBox runat="server" Width="175px" Enabled="false" ID="TxtOrganization"
                                                                                                        ViewStateMode="Enabled" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Due_Date%>" ID="RadDock_DueDate"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_DueDate_div">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_DueDate_required" runat="server"
                                                                                value="0" title="dtp_DueDatePicker" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_DueDate_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_DueDate_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock13" runat="server">
                                                                                            <label id="dtp_DueDatePicker_lbl">
                                                                                                <%= Resources.Ticket.Due_Date%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadDateTimePicker runat="server" Width="180px" ID="dtp_DueDatePicker">
                                                                                            <DateInput ID="DateInput2" Style="height: 14px !important;" runat="server">
                                                                                            </DateInput>
                                                                                            <Calendar ID="Calendar1" runat="server" ShowRowHeaders="false" />
                                                                                        </telerik:RadDateTimePicker>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Requestor%>" ID="RadDock_Requestor"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_Req_div" style="overflow: hidden" class="comboClass">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Requestor_required" runat="server"
                                                                                value="0" title="ddl_Requestor" class="hdnrequired" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Requestor_readonly" runat="server"
                                                                                value="0" />
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Requestor_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr align="right">
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock14" runat="server">
                                                                                            <label id="ddl_Requestor_lbl">
                                                                                                <%= Resources.Ticket.Requestor%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left; padding: 0px;" width="60%">
                                                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                                                            <tr>
                                                                                                <td align="left" style="width: 140px;">
                                                                                                    <telerik:RadComboBox ID="ddl_Requestor" runat="server" Style="vertical-align: Middle;"
                                                                                                        Width="150px" OnItemsRequested="ddl_Requestor_ItemsRequested" OnClientSelectedIndexChanging="TicketRequestorChanging"
                                                                                                        OnClientSelectedIndexChanged="loadorg" AllowCustomText="true" EnableLoadOnDemand="true"
                                                                                                        MarkFirstMatch="true" OnClientBlur="isNewItem" OnItemDataBound="ddl_RequestorOnItemDataBound" />
                                                                                                    <input type="hidden" runat="server" id="hdreqID" enableviewstate="true" clientidmode="Static"
                                                                                                        value="-1" />
                                                                                                    <asp:HiddenField ID="hdRequestor" runat="server" />
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <img clientidmode="Static" id="imgReqLookup" runat="server" onclick="return ShowPopup();"
                                                                                                        src="~/Content/images/Search1.png" alt="look up" title="<%$ Code:Resources.Common.Lookup%>"
                                                                                                        border="0" style="cursor: pointer; float: left;" />
                                                                                                </td>
                                                                                                <td style="display: none;">
                                                                                                    <telerik:RadButton runat="server" ID="test">
                                                                                                    </telerik:RadButton>
                                                                                                </td>
                                                                                                <td style="display: none;">
                                                                                                    <telerik:RadTextBox ID="txt_Requestor" runat="server" Width="175px" Height="15px"
                                                                                                        ReadOnly="true" AutoPostBack="true" OnTextChanged="RequestorChanged" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Location%>" ID="RadDock_LocationName"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_loc_div" style="overflow: hidden">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_LocationName_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr>
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock15" runat="server">
                                                                                            <label id="txtLocationName_lbl">
                                                                                                <%= Resources.Ticket.Location%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadTextBox ID="txtLocationName" runat="server" Width="175px" Height="15px"
                                                                                            ReadOnly="true" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Department%>" ID="RadDock_Department"
                                                                    runat="server" Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_dep_div" style="overflow: hidden">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Department_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr>
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock16" runat="server">
                                                                                            <label id="txtDepartment_lbl">
                                                                                                <%= Resources.Ticket.Department%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadTextBox ID="txtDepartment" runat="server" Width="175px" Height="15px"
                                                                                            ReadOnly="true" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Phone%>" ID="RadDock_Phone" runat="server"
                                                                    Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_phn_div" style="overflow: hidden">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Phone_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr>
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock17" runat="server">
                                                                                            <label id="txtPhone_lbl">
                                                                                                <%= Resources.Ticket.Phone%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadTextBox ID="txtPhone" runat="server" Width="175px" Height="15px" ReadOnly="true" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                                <telerik:RadDock Title="<%$ Code:Resources.Ticket.Email%>" ID="RadDock_Email" runat="server"
                                                                    Width="50%" DockMode="Docked" DefaultCommands="Close" OnClientCommand="Dock_OnClientCommand"
                                                                    OnClientDockPositionChanged="Dock_OnClientDockPositionChanged">
                                                                    <ContentTemplate>
                                                                        <div runat="server" id="RadDock_phn_email">
                                                                            <input type="hidden" clientidmode="Static" id="RadDock_Email_showtorequesteronly"
                                                                                runat="server" value="0" />
                                                                            <table>
                                                                                <tr>
                                                                                    <td class="hdpLabel">
                                                                                        <telerik:RadCodeBlock ID="RadCodeBlock18" runat="server">
                                                                                            <label id="txtEmail_lbl">
                                                                                                <%= Resources.Ticket.Email%></label><label><%= Resources.Common.Label_colon%></label></telerik:RadCodeBlock>
                                                                                    </td>
                                                                                    <td style="text-align: left" width="60%">
                                                                                        <telerik:RadTextBox ID="txtEmail" runat="server" Width="175px" Height="15px" ReadOnly="true" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </telerik:RadDock>
                                                            </telerik:RadDockZone>
                                                        </div>
                                                    </telerik:RadPageView>


<td id="DynamicLayout_Header" runat="server" class="avail_list">
                    <telerik:RadPanelBar runat="server" ID="CustomFieldPanel" Width="100%" Height="100%"
                        Skin="Telerik">
                        <Items>
                            <telerik:RadPanelItem>
                                <ContentTemplate>
                                    <table cellpadding="2" cellspacing="0">
                                        <tr class="tplHead">
                                            <td style="text-align: center;">
                                                <b>
                                                    <%=Resources.Common.Select_Field %></b>
                                            </td>
                                            <td>
                                                <img id="imgKeywords" src="../Content/images/help_tpl.png" alt="" title="" style="vertical-align: bottom;" />
                                                <telerik:RadToolTip ID="tooltip" RelativeTo="Element" runat="server" TargetControlID="imgKeywords"
                                                    Animation="Slide" Position="MiddleLeft" IsClientID="true" ShowCallout="false"
                                                    EnableShadow="false" HideDelay="100" ShowDelay="100" AutoCloseDelay="100000">
                                                    <div style="width: 300px; height: auto">
                                                        <label>
                                                            <%=Resources.CustomTemplate.TplHelp%></label></div>
                                                </telerik:RadToolTip>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <hr />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <telerik:RadDockZone ClientIDMode="Static" ID="RadDockZone_FieldList" UniqueName="RadDockZone_FieldList"
                                                    runat="server" Height="498px" Width="145px">
                                                </telerik:RadDockZone>
                                            </td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelBar>
                </td>

see my screen shot.
The first part of coding is Custom field move them
Second part of coding is List of field drag and drop.
When i have move the field background color is yellow.
How to change that color? for Ex: Yellow to Blue

Java script & J query below the coding
function DockpageLoad() {debugger
                $(".rdTitleBar").html(" ");
                $(".rdTop").addClass("rdGripTop");
                var Zone = $find('<%= RadDockZone_FieldList.ClientID%>');
                if (Zone != null) {
                    var myDock = Zone.get_docks();
                    for (var i = 0; i < myDock.length; i++) {
                        if (myDock[i]._dockZoneID == "<%= RadDockZone_FieldList.ClientID%>") {
                            var xDock = replaceCharacters(myDock[i]._uniqueID);
                            $("#" + xDock + "_T").html("<EM style='WIDTH: 93px'>" + $("#" + xDock + "_C label").html() + "</EM>");
                            $("#" + $(".rdTitleBar").attr('id')).removeClass("rdGripTop");
                        }
                    }
                }
            }
 
            function Dock_OnClientDockPositionChanged(sender, eventArgs) {
                var xDock = replaceCharacters(sender._uniqueID);
 
                if (sender._dockZoneID == "<%= RadDockZone_FieldList.ClientID%>") {
                    //collaps
                    sender.set_collapsed(true);
                    if (xDock.indexOf('_CustomFieldPanel_')) {
                        $("#" + xDock + "_T").html('<EM style="WIDTH: 93px">' + $("#" + xDock + "_C label").html() + '</EM>');
                        $("#" + $(".rdTitleBar").attr('id')).removeClass("rdGripTop");
                    }
                }
                else {
                    //expend
                    sender.set_collapsed(false);
                    $("#" + xDock + "_T").html(" ");
                    $(".rdTop").addClass("rdGripTop");
                    sender.set_width(sender._width);
                }
            }
 
 
            function Dock_OnClientCommand(sender, eventArgs) {
                if (sender.get_dockZone()._uniqueName != "RadDockZone_FieldList") {
                    //find selected dock and move to fieldlist
                    var Zone = sender.get_dockZone();
                    for (var i = 0; i < Zone.get_docks().length; i++) {
                        if (Zone.get_docks()[i]._uniqueID == sender._uniqueID) {
                            var FZone = $find('<%= RadDockZone_FieldList.ClientID%>');
                            FZone.dock(Zone.get_docks()[i]);
                        }
                    }
                    //set closed false
                    sender.set_closed(false);
                    sender.set_collapsed(true);
                    //Hide close button
                    sender.get_commands().Close.set_visible(false);
                }
 
            }
 
function closeDock(pDock, pZone) {
                if (pZone != "RadDockZone_FieldList") {
                    var sender = $find(pDock);
                    //find selected dock and move to fieldlist
                    var Zone = sender.get_dockZone();
                    for (var i = 0; i < Zone.get_docks().length; i++) {
                        if (Zone.get_docks()[i]._uniqueID == sender._uniqueID) {
                            var FZone = $find('<%= RadDockZone_FieldList.ClientID%>');
                            FZone.dock(Zone.get_docks()[i]);
                        }
                    }
                    //set closed false
                    sender.set_closed(false);
                    sender.set_collapsed(true);
                    $("#" + pDock + "_T").html('<EM style="WIDTH: 93px">' + $("#" + pDock + "_C label").html() + '</EM>');
                    $("#" + $(".rdTitleBar").attr('id')).removeClass("rdGripTop");
                    //Hide close button           
                }
                return false;
            }
 
            $(".rdTable").bind({
                mouseover: function () {
                    var myZone = this.parentNode.parentNode.id;
                    var myDock = this.parentNode.id;
                    if (myZone != "<%= RadDockZone_FieldList.ClientID%>") {
                        try {
                            var chkDelIcon = $("#" + myDock + "_T").html().split('closeDock');
                            if (chkDelIcon.length <= 1) {  // check length of delete and append
                                $("#" + myDock + "_T").append("<a href='#'><img onClick='closeDock(\"" + myDock + "\",\"" + myZone + "\")' style='margin:0px;border:0px solid red;cursor:pointer;' id='closeDock1' src='../Content/images/dock_close.png' alt='close' /></a>");
                            }
                        } catch (er) { }
                    }
                },
                mouseleave: function () {
                    var myZone = this.parentNode.parentNode.id;
                    var myDock = this.parentNode.id;
                    if (myZone != "<%= RadDockZone_FieldList.ClientID%>") {
                        $("#" + myDock + "_T").append("<div style='display:none;'> </div>").empty();
                    }
                }
            });





Regards,
Ansari
Tamim
Top achievements
Rank 1
 answered on 22 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?