| RadComboBox cntrlDDLhippingAccountType = null; |
| cntrlDDLhippingAccountType = (RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem)[0]).FindControl("ddlID") as RadComboBox; |
| foreach (Control c in (RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem)[0]).Controls) |
| { |
| if (c is RadInputControl) |
| { |
| ((RadInputControl)c).Text = String.Empty; |
| } |
| else if (c is RadComboBox) |
| { |
| ((RadComboBox)c).SelectedIndex = 0; |
| } |
| } |
ContentScrolling
="Auto" in my aspx page ..the problem with this is that we have to specify height and width with it .
I don't want to do that because I sometime have to display only 5 characters where I don't need a height on 400px where as sometime i need to show a lot.
<telerik:RadToolTip ID="AcuityToolTip" runat="server" RelativeTo="Element" Position="TopRight" Sticky="true" OffsetX="0" OffsetY="0" >
</telerik:RadToolTip>
tooltip.set_contentScrolling(0)
tooltip.set_height(
"200px");
tooltip.set_width(
400px");
| function RequestStart(sender, args) |
| { |
| args.EventTargetElement.disabled = true; |
| } |
| function ResponseEnd(sender, args) |
| { |
| args.EventTargetElement.disabled = false; |
| } |
| If Expression Then |
| ' i want to enable the button here |
| Exit Sub |
| End If |
Hi,
We've the Telerik's licensed version. In the trial version when we ran with the below code, w egot our buttons neatly displayed with
our cssclass.
<asp:Button ID="m_ctlPackageEditButton" runat="server" Text="Edit"
CssClass ="StandardButton" OnClick="m_ctlPackageEditButton_Click"/>
But now, with licensed version, we've the same code as above, but we're not getting the button's display. Just the text of the button appears and the display(box shape) is not there. Just Edit appears. Pls guide us to what we need to do.
Our customers are not happy with such buttons .
| <asp:UpdatePanel runat="server" ID="updatePanel"> |
| <ContentTemplate> |
| <cc1:DockLayout ID="dockLayout" runat="server" EnableViewState="false" StoreLayoutInViewState="false"> |
| <uc1:Header ID="ctrlHeader" runat="server" /> |
| <uc1:SubHeader ID="SubHeader1" runat="server" /> |
| <div class="leftpart"> |
| <div style="margin-top: 5px;"> |
| <uc1:Menu ID="Menu" runat="server" /> |
| </div> |
| <div style="margin-top: 5px;"> |
| <cc1:DockZone ID="LeftDocZone" runat="server" Orientation="Vertical" Visible="true"> |
| </cc1:DockZone> |
| </div> |
| </div> |
| <div class="midpart"> |
| <cc1:DockZone ID="CenterDockZone" runat="server" Orientation="Vertical"> |
| </cc1:DockZone> |
| </div> |
| <div class="rightpart"> |
| <cc1:DockZone ID="RightDockZone" runat="server" Orientation="Vertical"> |
| </cc1:DockZone> |
| </div> |
| </cc1:DockLayout> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| <div> |
| <uc1:Footer ID="Footer1" runat="server" /> |
| </div> |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| PopulateSearchPanel(); |
| } |
| private void PopulateSearchPanel() |
| { |
| int catID = Convert.ToInt32(StringUtil.GetQueryString("CatID")); |
| List<ProductItem> products = ProductFactory.GetCategoryProducts(catID, 1); |
| itemCount = products.Count; |
| foreach (ProductItem p in products) |
| { |
| var productItem = new RadPanelItem(); |
| pproductItem.Text = p.ProductName; |
| productItem.NavigateUrl = "#"; |
| } |
| ProductsListView.DataSource = products; |
| ProductsListView.DataBind(); |
| } |