or
We have a radGrid which is loaded many columns.
Each column’s wide is narrower so more columns can be displayed.
One of the columns has radCombo box as a drop down list, and the record count label text extended outside of the comboBox.
This looks very undesirable.
Here is a screen shoot http://lh4.ggpht.com/_ohpx5KZcsi0/SzDjYr35nHI/AAAAAAAAFHU/AH-wzDkTMBI/comboBoxOverlap.JPG
Can this problem be fixed?
| .TabFormat |
| { |
| height:50px !important; |
| background-color:#263144 !important; |
| padding:0px; |
| } |
| .TabFormat:hover |
| { |
| background-color:#212631 !important; |
| color:#f78f1e; |
| } |
| .TabSelected |
| { |
| background-color:#212631 !important; |
| color:#f78f1e !important; |
| } |
| .NavMenuItem |
| { |
| width:150px; |
| height:50px; |
| } |
| .NavMenuItem a, a:hover, a:active |
| { |
| cursor:default; |
| text-decoration:none; |
| color:#f78f1e; |
| } |
| .NavMenuTitle |
| { |
| font-size:12pt; |
| padding:5px 0px 5px 15px; |
| } |
| .NavMenuSubTitle |
| { |
| padding-left:15px; |
| font-size:8pt; |
| } |
| <telerik:RadMenuItem IsSeparator="true" /> |
| <telerik:RadMenuItem runat="server" |
| Text="how it works" |
| CssClass="TabFormat" |
| SelectedCssClass="TabSelected" |
| NavigateUrl="~/HowItWorks.aspx" |
| > |
| <ItemTemplate> |
| <a href="../HowItWorks.aspx"> |
| <div class="NavMenuItem"> |
| <div class="NavMenuTitle"> |
| How it works |
| </div> |
| <div class="NavMenuSubTitle"> |
| we'll show you |
| </div> |
| </div> |
| </a> |
| </ItemTemplate> |
| </telerik:RadMenuItem> |
| Dim currentItem As RadMenuItem |
| If Request.Url.PathAndQuery.Contains("/products/") Then |
| currentItem = RadMenu1.FindItemByText("products") |
| Else |
| currentItem = RadMenu1.FindItemByUrl(Request.Url.PathAndQuery) |
| End If |
| If Not IsNothing(currentItem) Then |
| currentItem.Selected = True |
| ' NOTE: This is a workaround to a bug in the RadMenu that fails to apply the "selectedCSS" |
| ' when using Templates. |
| currentItem.CssClass = "TabSelected" |
| End If |
| Requirements | |
| RadControls version | |
| .NET version | |
| Visual Studio version | |
| programming language | |
| browser support | all browsers supported by RadControls |
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript" language="javascript"> |
| function onKeyPress(sender, eventArgs) { |
| // 13 is the keycode for enter key |
| if (eventArgs.get_keyCode() == 13) { |
| // LblUpdateButtonId it's an hidden label that contain the id of my custom insert/update button |
| var temp = document.getElementById("<%=LblUpdateButtonId.ClientID %>"); |
| var button_id = temp.innerHTML.replace(/_/g, "$"); |
| // perform postback |
| WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(button_id, "", true, "", "", false, true)); |
| // inhibit event bubbling |
| eventArgs.set_cancel(true); |
| } |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| Protected Sub SetUpdateButtonId(ByVal sender As Object, ByVal e As System.EventArgs) |
| LblUpdateButtonId.Text = CType(sender, Button).ClientID |
| End Sub |
| void contentpagecs_aspx_AjaxSettingCreated(object sender, AjaxSettingCreatedEventArgs e) |
| { |
| if (e.Initiator.ID == "GridView") |
| { |
| this.RadGrid1PanelClientID = e.UpdatePanel.ClientID; |
| } |
| } |
| <telerik:RadAjaxManagerProxy runat="server" ID="RadAjaxProxyGrid"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="MyGrid"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="MyGrid" LoadingPanelID="RadAjaxPanelMaster" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
| <table style="border: solid 1px #323232; background-color: #efefef"> |
| <tr valign="bottom"> |
| <td colspan="2"> |
| <span style="font-weight: bold; font-size: 11px">For en sikkerheds skyld...</span> |
| </td> |
| </tr> |
| <tr valign="bottom"> |
| <td style="background-color: #efefef"> |
| <telerik:RadCaptcha ID="RadCaptcha1" runat="server" CaptchaImage-RenderImageOnly="true" CaptchaImage-Height="32" CaptchaImage-Width="90" CaptchaImage-TextColor="#323232" CaptchaImage-LineNoise="Low" CaptchaImage-FontWarp="None" CaptchaImage-BackgroundColor="#efefef" ErrorMessage="Tast koden igen!" Display="Dynamic" CaptchaTextBoxCssClass="captchaBox" ImageStorageLocation="Cache" EnableViewState="true"> |
| </telerik:RadCaptcha> |
| <div style="padding-bottom: 7px"></div> |
| </td> |
| <td> |
| <asp:TextBox ID="CaptchaInput" runat="server" MaxLength="5" Width="50" Font-Size="13px" BackColor="white"> </asp:TextBox> |
| <br /> |
| <span style="background-color: #efefef; color: #000">Tast koden</span> |
| </td> |
| </tr> |
| </table> |
| <asp:Button ID="Tilmeld" OnClick="SendEmailNu" title="Tilmeld" runat="server" CssClass="button" Text="Tilmeld"> </asp:Button> |
| protected void SendEmailNu(Object sender, EventArgs e) |
| { |
| RadCaptcha1.ValidatedTextBoxID = CaptchaInput.UniqueID; |
| RadCaptcha1.Validate(); |
| if (RadCaptcha1.IsValid) |
| { |