Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views
I am not sure I did the styling properly, but I was able to get the 35px image to appear for the arrow in the dropdown. Unfortunately, the clickable area is still the original area. If I click about where the arrow is, nothing happens.

I know this is because the image is really the background image, and not a button, but what is the proper way to make that whole cell react to the mouse click?

 
div.RadComboBox  
{ 
 border-style:outset; 
 border-color:#bbd1b1; 
} 
 
div.RadComboBox td.rcbArrowCell  
{ 
    min-width:35px; 
}  
 
div.RadComboBox td.rcbArrowCellRight {  
    background: url('/images/app/upload_arrow.png') no-repeat !important; 
    width:35px; 
}  
     
div.RadComboBox  .rcbInput 
{ 
    font-size:14px; 
    font-family:Helvetica Neue, Arial; 
    font-weight:bold; 
    background:#ffffff;  
    color:Red; 
} 

Simon
Telerik team
 answered on 18 Nov 2009
3 answers
132 views
Hi
I have a grid in a right-to-left page.
after page load, the numbers in paging area in left to right and when you move mouse on this area,
numbers jump to right and it becomes right to left.
also the filtering menu after opening is lrft to right and when you move mouse on it, jumps to right becomes right to left.
you can try it on our production server at this address:
http://95.38.44.247:12/UI/BasicSetting/PlacesDefinition.aspx
thanks in advance.
Veli
Telerik team
 answered on 18 Nov 2009
5 answers
152 views
Hi, I´am using docks. I need dynamic add dock and  save it in Database. My problem is when I drag dock and move it, automaticaly create same dock on old place and this dock is not react. Could you help me this is my codedownloaded here http://mriha.asp2.cz/DynamicADDdock.rar

 

 

 

Pero
Telerik team
 answered on 18 Nov 2009
3 answers
199 views
I am working with the RadGrid, which contains 22 columns.

All is OK, but when the Add New record button is pressed the following scenario occurs :

Due to the large number of columns, a semi-transparent bar runs across the middle section of the screen.  

With 22 columns, the Add New Record section takes up half of the screen.

I am writing to determine if it is possible to show a clear screen when adding a new record, as is the case when editing an existing record.

In Design time, i noticed the footer section is in the middle of the screen, and the Height of the RadGrid is set to 750 px.

The RadGrid skin is set to Default.

Thanks in advance for any insight!

Best regards, Rob
Martin
Telerik team
 answered on 18 Nov 2009
2 answers
176 views
I have following paragraphs defined.

<paragraphs> 
    <paragraph name="Normal" value="&lt;p&gt;" /> 
    <paragraph name="&lt;h6&gt;Local header&lt;/h6&gt;" value="&lt;h6&gt;" /> 
</paragraphs> 

In the dropdown the choices Normal and "Local header" is displayed, but when you select  a "local header" (h6) element in the editor the text "Heading 6" is displayed in the  dropdown. How can make so the text "Local header" is displayed instead?
arnesten
Top achievements
Rank 1
 answered on 18 Nov 2009
1 answer
225 views
I have a new page using the RAD listboxes, when I place the RAD scriptmanager on the page and navigate to it, I recieve an object reference not set to an instance error message.  I am running telerik version 2009.3.1103.35.  If I replace the rad script manager with a regular script manager the error stops but none of the skins are working correctly.

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShipmentForwardingVendorCrews.aspx.cs"

 

 

Inherits="Graebel.RITS.Web.Relocations.ShipmentForwardingVendorCrews" %>

 

<%

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

<%

@ Register assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" namespace="System.Web.UI.WebControls" tagprefix="asp" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head runat="server">

 

 

<title>Shipment Forwarding Vendor Crews</title>

 

 

<link href="../Graebel.css" rel="stylesheet" />

 

</

 

head>

 

<

 

body>

 

 

<form id="ShipmentForwardingVendorCrews" runat="server">

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

</asp:ScriptManager>

 

 

<asp:Panel ID="PageContent" runat="server">

 

 

<h1>

 

Shipment Forwarding Vendor Crews

</h1>

 

 

<br />

 

 

<asp:DropDownList ID="ddlODAgent" runat="server">

 

 

</asp:DropDownList>

 

 

<br />

 

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">

 

 

<telerik:RadListBox ID="rlbIsNotCrewLeads" runat="server" Width="200px"

 

 

Height="200px" AllowTransfer="True"

 

 

TransferToID="rlbIsCrewLeads" AutoPostBackOnTransfer="True"

 

 

AllowReorder="True" AutoPostBackOnReorder="True" EnableDragAndDrop="True"

 

 

DataSourceID="UnassignedCrewLeadsDataSource" DataKeyField="VendorCrewId" DataTextField="FirstName"

 

 

DataValueField="VendorCrewId" Skin="Sunset" BorderColor="Black"

 

 

BorderWidth="2px" CausesValidation="False" EmptyMessage="No Crew Members Exist"

 

 

ForeColor="Black">

 

 

<EmptyMessageTemplate>

 

No Crew Members Exist

 

</EmptyMessageTemplate>

 

 

</telerik:RadListBox>

 

 

<telerik:RadListBox ID="rlbIsCrewLeads" runat="server" Width="200px" Height="200px"

 

 

SelectionMode="Multiple" AllowReorder="True" AutoPostBackOnReorder="True"

 

 

EnableDragAndDrop="True" Skin="Telerik"

 

 

EmptyMessage="No Assigned Crew Members Exist">

 

 

<EmptyMessageTemplate>

 

No Assigned Crew Members Exist

 

</EmptyMessageTemplate>

 

 

</telerik:RadListBox>

 

 

<br />

 

 

</telerik:RadAjaxPanel>

 

 

<asp:EntityDataSource ID="UnassignedCrewLeadsDataSource" runat="server"

 

 

AutoGenerateWhereClause="True"

 

 

CommandText="SELECT value crew

 

FROM VendorCrew AS crew

WHERE NOT EXISTS(SELECT sfvc.VendorCrew.VendorCrewId

FROM ShipmentForwardingVendorCrew AS sfvc

WHERE sfvc.Shipments.ShipmentId = @ShipmentId)

AND crew.CompanyEntities.CompanyEntityId = @VendorId

AND crew.IsActive = true

AND crew.IsCrewLead = true"

 

 

 

ConnectionString="name=RITSNetEntities"

 

 

DefaultContainerName="RITSNetEntities"

 

 

Include="ShipmentForwardingVendorCrew,CompanyEntities">

 

 

<CommandParameters>

 

 

<asp:QueryStringParameter Name="ShipmentId" QueryStringField="10" Type="Int32" />

 

 

<asp:ControlParameter ControlID="ddlODAgent" Name="VendorId"

 

 

PropertyName="SelectedValue" Type="Int32" />

 

 

</CommandParameters>

 

 

</asp:EntityDataSource>

 

<%

--<asp:EntityDataSource ID="AssignedCrewLeadsDataSource" runat="server"

 

AutoGenerateWhereClause="True"

CommandText="SELECT value crew

FROM VendorCrew AS crew

WHERE EXISTS(SELECT sfvc.VendorCrew.VendorCrewId

FROM ShipmentForwardingVendorCrew AS sfvc

WHERE sfvc.Shipments.ShipmentId = @ShipmentId)

AND crew.CompanyEntities.CompanyEntityId = @VendorId

AND crew.IsActive = true

AND crew.IsCrewLead = true"

ConnectionString="name=RITSNetEntities"

DefaultContainerName="RITSNetEntities"

Include="ShipmentForwardingVendorCrew,CompanyEntities">

<CommandParameters>

<asp:QueryStringParameter Name="ShipmentId" QueryStringField="10" Type="Int32" />

<asp:ControlParameter ControlID="ddlODAgent" Name="VendorId"

PropertyName="SelectedValue" Type="Int32" />

</CommandParameters>

</asp:EntityDataSource>--

 

%>

 

 

<asp:EntityDataSource ID="UnassignedCrewDataSource" runat="server"

 

 

AutoGenerateWhereClause="True"

 

 

CommandText="SELECT value crew

 

FROM VendorCrew AS crew

WHERE NOT EXISTS(SELECT sfvc.VendorCrew.VendorCrewId

FROM ShipmentForwardingVendorCrew AS sfvc

WHERE sfvc.Shipments.ShipmentId = @ShipmentId)

AND crew.CompanyEntities.CompanyEntityId = @VendorId

AND crew.IsActive = true"

 

 

 

ConnectionString="name=RITSNetEntities"

 

 

DefaultContainerName="RITSNetEntities"

 

 

Include="ShipmentForwardingVendorCrew,CompanyEntities">

 

 

<CommandParameters>

 

 

<asp:QueryStringParameter Name="ShipmentId" QueryStringField="10" Type="Int32" />

 

 

<asp:ControlParameter ControlID="ddlODAgent" Name="VendorId"

 

 

PropertyName="SelectedValue" Type="Int32" />

 

 

</CommandParameters>

 

 

</asp:EntityDataSource>

 

<%

--<asp:EntityDataSource ID="AssignedCrewDataSource" runat="server"

 

AutoGenerateWhereClause="True"

CommandText="SELECT value crew

FROM VendorCrew AS crew

WHERE EXISTS(SELECT sfvc.VendorCrew.VendorCrewId

FROM ShipmentForwardingVendorCrew AS sfvc

WHERE sfvc.Shipments.ShipmentId = @ShipmentId)

AND crew.CompanyEntities.CompanyEntityId = @VendorId

AND crew.IsActive = true"

ConnectionString="name=RITSNetEntities"

DefaultContainerName="RITSNetEntities"

Include="ShipmentForwardingVendorCrew,CompanyEntities">

<CommandParameters>

<asp:QueryStringParameter Name="ShipmentId" QueryStringField="10" Type="Int32" />

<asp:ControlParameter ControlID="ddlODAgent" Name="VendorId"

PropertyName="SelectedValue" Type="Int32" />

</CommandParameters>

</asp:EntityDataSource>--

 

%>

 

 

</asp:Panel>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Veselin Vasilev
Telerik team
 answered on 18 Nov 2009
2 answers
71 views
Hi,

 I m using RadCombo to select multiple items using chekbox, i need to handle the FooterTemplate enable/disable or visible/hidden via CLIENT SCRIPT.

Placing some control on the FooterTemplate, once if i select the item is called "Custom" checkbox then only footertemplete visible = true, otherwise it shold be hidden.


How can i handle this using client script..


Thanks & Regards,

Suresh Kannan P
Suresh Kannan
Top achievements
Rank 1
 answered on 18 Nov 2009
4 answers
99 views
Hi All,

I do not want to apply radajaxloadingpanel for my grid, how can i do this.

my webform contains radajaxpanel in side this i have rad grid and some textboxes and button.  for radajaxpanel i have given loadingoanel id, loading panel is working fine when i click on buttons, but loading panel is getting struck when i click export to excel command in grid. 

so i donot want to apply radajaxloadingpanel for my grid, how can i do this.

Please help me regarding this.
pradeep k
Top achievements
Rank 1
 answered on 18 Nov 2009
2 answers
89 views
Hi

I show different panels on a page based on the different menu options

I want to do this with JS, It works perfectly on the first click but then after that locks up the page and doesnt recognioze any more clicks

I assume I am missing something simple but am unable to put a finger on it

function onClicked(sender, eventArgs) 
            { 
             
            var name = eventArgs.get_item().get_text(); 
             
                if (name = "Panel1") 
                { 
                    document.getElementById("Panel1").style.display='block'; 
                    document.getElementById("Panel2").style.display='none'; 
                    document.getElementById("Panel3").style.display='none'; 
                } 
                if (name = "Panel2") 
                { 
                    document.getElementById("Panel2").style.display='block'; 
                    document.getElementById("Panel1").style.display='none'; 
                    document.getElementById("Panel3").style.display='none';  
                } 
                if (name = "Panel3") 
                { 
                   document.getElementById("Panel1").style.display='none'; 
                    document.getElementById("Panel2").style.display='none'; 
                    document.getElementById("Panel3").style.display='block'; 
                } 
                 
            } 
Ciaran
Top achievements
Rank 1
 answered on 18 Nov 2009
1 answer
165 views
Hi,

I'm having a problem populating my Rad Rotator using the traditional way of using a datasource in the ASP side of the code, this is what my code looks like.

<telerik:RadRotator runat="server" ID="RadRotator1" RotatorType="AutomaticAdvance" ScrollDirection="Up" FrameDuration="7000" 
        DataSourceID="SqlDataSource1">  
    <Items> 
        <telerik:RadRotatorItem> 
            <ItemTemplate> 
                <asp:Image ID="imgAdBanner" runat="server" ImageUrl='<%# "~/ImageFilePath/" & Eval("ImageName") %>' 
                        
NavigateUrl='<%# Eval("LinkUrl") %>'  AlternateText='<%# Eval("AltText") %>' />
                        
            </ItemTemplate> 
        </telerik:RadRotatorItem> 
    </Items> 
</telerik:RadRotator> 
 
<asp:SqlDataSource runat="server" ID="SqlDataSource1" 
    ConnectionString="<%$ ConnectionStrings : CS %>" 
    SelectCommand="SELECT ImageName, LinkUrl, AltText FROM RotatorImages">  
</asp:SqlDataSource> 

Any advice will be greatly appreciated.
Shinu
Top achievements
Rank 2
 answered on 18 Nov 2009
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?