or
we decided to use telerik controls on our website, there fore initially we are testing how far we go to change look and feel of controls so they match and fit to our needs graphically. we are working on rad sliding pane control. Now we are facing a problem if we set icon image of the pane there was some white spaces remain in the surroundings if we even select image only value of TabView property. This will destroy needed position of tab and look very awkward.
Please tell us how to set it.
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!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></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <div> |
| <script type="text/javascript"> |
| function RadComboBox1_OnClientSelectedIndexChanged(sender, args) { |
| //works: |
| var product = args.get_item(); |
| alert(product.get_text()); |
| //doesn't work: |
| var ddlControl = $find("<%= cboVA_IllustrationType.ClientID %>"); |
| var indexValue = ddlControl.selectedIndex; |
| var selectedValue = $find("<%= cboVA_IllustrationType.ClientID %>").options[indexValue].value; |
| alert(selectedValue); |
| } |
| </script> |
| <telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Web20" OnClientSelectedIndexChanged="RadComboBox1_OnClientSelectedIndexChanged"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| <Items> |
| <telerik:RadComboBoxItem runat="server" Text="Fixed Annuity" /> |
| <telerik:RadComboBoxItem runat="server" Text="Fixed Index Annuity" /> |
| <telerik:RadComboBoxItem runat="server" Text="Variable Annuity" /> |
| <telerik:RadComboBoxItem runat="server" Text="Immediate Annuity" /> |
| <telerik:RadComboBoxItem runat="server" Text="Term" Selected="true" /> |
| <telerik:RadComboBoxItem runat="server" Text="Universal Life" /> |
| <telerik:RadComboBoxItem runat="server" Text="Variable Universal Life" /> |
| </Items> |
| </telerik:RadComboBox> |
| <p> |
| <asp:DropDownList ID="cboVA_IllustrationType" runat="server"> |
| <asp:ListItem>Hypothetical</asp:ListItem> |
| <asp:ListItem Selected="True">Historical</asp:ListItem> |
| </asp:DropDownList> |
| </p> |
| </div> |
| </form> |
| </body> |
| </html> |
Convert
.ToInt32(e.Node.Nodes[1].Value);
But is it giving error . Can you please tell me where I am doing wrong ?
With Thanks & Regads
Manoj
