Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
206 views
Hello,

Is it possible to combine checkbox and autocomplete functionality in a RadComboBox?

We keep receiving the following error when we type in the comboxbox for the autocomplete functionality:
"A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."

The following is the html for the related control:
<telerik:RadComboBox ID="cboProductCode" Filter="Contains" runat="server" Width="300px" MarkFirstMatch="true" EnableLoadOnDemand="true" CheckBoxes="true" DropDownAutoWidth="Disabled"></telerik:RadComboBox>

If it is possible, can you please provide suggestions on improving performance of the autocomplete functionality.

Thank You Very Much for your Assistance!
Plamen
Telerik team
 answered on 02 Aug 2013
5 answers
381 views
Hi,

The telerik demo for radeditor custom dialogs "http://demos.telerik.com/aspnet-ajax/editor/examples/customdialogs/defaultcs.aspx" is not working on the safari and chrome browser.In detail, when "Insert special link" button is clicked, nothing happened in safari and chrome although a dialog box is displayed in firefox ,IE8,IE7.


I am currently using this technique to load my custom dialog. Is there any solution?

Best Regards,
THA
-DJ-
Top achievements
Rank 1
 answered on 02 Aug 2013
1 answer
129 views
I have a series of dynamically created raddocks, that are dynamically placed in different RadDock zones. If the user presses "Save" I am trying to cycle through each raddockzone and then save information from them in a database. See below.

private void SaveWorkspacePanels(RadDockZone dockzone,int workspaceid,int panellocation)
    {
        try
        {
            BusinessLayer BL=new BusinessLayer();
            DemandSolutions_WorkspacePanel WorkspacePanel;
            string source;
            string [] parsed;
            string panelid;
            string paneltype;
            foreach(RadDock dock in dockzone.Docks)
            {
                WorkspacePanel=new DemandSolutions_WorkspacePanel();
                source=dock.Tag;
                parsed=source.Split(' ');
                panelid=parsed[0];
                paneltype=parsed[1];
                WorkspacePanel.PanelID=Convert.ToInt32(panelid);
                WorkspacePanel.PanelLocation=panellocation;
                WorkspacePanel.WorkspaceID=workspaceid;
                BL.InsertWorkspacePanel(WorkspacePanel);
            }//End For-Each
        }
        catch(Exception ex)
        {
            DisplayMessage.InnerText="Problem with "+dockzone.ID+" "+ex.ToString();
        }
 
    }//End Function

The problem is if the RadDock is moved from another dockzone, it is not detected and therefor not saved...any thoughts.

Here is how the RadDock is created

RadDock dock=new RadDock();
dock.DockMode = DockMode.Docked;
dock.ID= string.Format("RadDock{0}", Guid.NewGuid().ToString().Replace('-', 'a'));
dock.Tag=panelID+" "+controlType;
dock.Title=panelTitle;
dock.Text=panelDescription;
dock.Width=Unit.Percentage(100);
dock.AutoPostBack=true;
dock.Commands.Add(new DockExpandCollapseCommand());




Michael
Slav
Telerik team
 answered on 02 Aug 2013
3 answers
117 views
Hello!

I am hoping for whatever column header i click to then be sorted (Asc,Des,None)
Currently this works on the first header click, but then after selecting a different column, the wrong header is sorted!
Here is my click order:
Click Col 1, Col 1 sorts.
Click Col 2, Col 3 sorts.
Click Col 2, Col 2 sorts.
Click Col 3, Col 4 sorts.
Click Col 3, Col 3 sorts.
Click Col 1, Col 1 sorts!

Any tips on what might be happening would be great! I have a feeling it may be related to my binding causing a loss of header order?

C#:

protected void Page_Init(object sender, EventArgs e)
      {
          if (IsPostBack)
          {
              pogrid.DataSource = null;
              pogrid.Rebind();
          }
          else
          {
              //... set filteredPOList
              pogrid.DataSource = null;
              pogrid.Rebind();
 
 
public void Selection_Changed(object sender, EventArgs e)
      {
          //...
      }
 
      protected void Grid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
      {
          pogrid.DataSource = filteredPOList;
           
      }


ASPX:  
<telerik:RadGrid  ID="pogrid" runat="server" EnableViewState="true" AutoGenerateColumns="False" OnNeedDataSource="Grid_NeedDataSource" AllowFilteringByColumn="True"  AllowSorting="True"
ViewStateMode="Enabled" CellSpacing="0" OnSelectedIndexChanged="Selection_Changed" GridLines="None" >
                <GroupingSettings CaseSensitive="false"  />
                <ClientSettings EnableRowHoverStyle="True">
                <Selecting AllowRowSelect="True" ></Selecting>
                <Scrolling  UseStaticHeaders="True" AllowScroll="True" SaveScrollPosition="True" ScrollHeight="300px">     </Scrolling>
                <Resizing AllowColumnResize="True"></Resizing>
                </ClientSettings>
            <MasterTableView DataKeyNames="poId">
            <Columns>
                <telerik:GridBoundColumn HeaderStyle-Width="20%" HeaderStyle-Font-Bold="true" HeaderText="Promotion Number" UniqueName="PromotionNumber" DataField="PromotionNumber" SortExpression="PromotionNumber"
                  FilterDelay="2000" CurrentFilterFunction="StartsWith" FilterControlWidth="80%" ></telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderStyle-Width="40%"  HeaderStyle-Font-Bold="true" HeaderText="Promotion Name" UniqueName="PromotionName" DataField="PromotionName" SortExpression="PromotionName"
                  FilterDelay="2000" CurrentFilterFunction="Contains"  FilterControlWidth="80%" ></telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderStyle-Width="20%"  HeaderStyle-Font-Bold="true" HeaderText="Pep Contact" UniqueName="PepContact" DataField="PepContact" SortExpression="PepContact"
                  FilterDelay="2000" CurrentFilterFunction="Contains" FilterControlWidth="80%" ></telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderStyle-Width="20%"  HeaderStyle-Font-Bold="true" HeaderText="PO Name" UniqueName="POName" DataField="POName" SortExpression="POName"
                  FilterDelay="2000" CurrentFilterFunction="Contains" FilterControlWidth="80%" ></telerik:GridBoundColumn>
            </Columns>
            </MasterTableView>
    </telerik:RadGrid>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <ajaxsettings>
            <telerik:AjaxSetting AjaxControlID="pogrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pogrid" LoadingPanelID="RadAjaxLoadingPanel1">
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </ajaxsettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>

Joe
Top achievements
Rank 1
 answered on 02 Aug 2013
1 answer
196 views
We have the following problem when paging a grid that is contained within a node of a radtreeview. Loading the first time this load grid smoothly (Figure 1). After trying to page the grid that does not trigger the event NeedDataSource (Figure 2) causing all grids disappears. Attached sample project. I can support.
Princy
Top achievements
Rank 2
 answered on 02 Aug 2013
1 answer
116 views
Hi, when using the RadFileExplorer with a custom file browser provider to provide access to physical folders outside the application root, is there a way of putting the mappings into your web.config instead of having them in a separate .mapping file? Just so that there's one less configuration file to worry about when deploying to live servers.

Thanks

Doug
Vessy
Telerik team
 answered on 02 Aug 2013
1 answer
173 views
Hi I'm trying to set grid width to auto but div border is always 100%
i tried this:

.rgMasterTable

{
    width: auto !important;
}

 

but I get what is on the image

if I try to overwrite the style in the master table view it renders the width attribute twice, like this:
<table cellspacing="0" class="rgMasterTable" id="RadGrid1_ctl00" style="width:100%;width:auto;table-layout:auto;empty-cells:show;">

I want that the colums width adjusts to the content, It works if I put the grid inside a table td but there must be a better way
also works inside a div with display:inline-table but not in IE7
I'm using Q1 2010

please advise
thanks!

code:

<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None"
            onneeddatasource="RadGrid1_NeedDataSource">
            <MasterTableView style="width:auto;">
            </MasterTableView>
        </telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 02 Aug 2013
4 answers
1.4K+ views
Hi, Can you please:
Am using 2 radio butons. (Edit and View).
When the Radio button View is selected the Controls are Disabled. When in Edot mode Control are Enable.
Among the Control we have RadEditor. When user selects Edit Radio Button , the RadEditor is get Enlagred the the Tools (FontName,Size etc) VERTICALLY.Its Enlarging Vertically for the 2 time edit Clcik.

Please find attached Images.

Can you Please help.


Shinu
Top achievements
Rank 2
 answered on 02 Aug 2013
3 answers
92 views
Hi all,

I have this scenario:
- MasterPage with left side menu,
- center  RadAjaxPanel,
changing selection on left menu tree change content of the center page.
Also controls are loaded dynamically. I want handle errors accoured on server by displaying usercontrol. .
I try'd use  RadScriptManager.AsyncPostBackError and here load my usercontrol with error information, but no luck, Js exception is thrown

PageRequestManagerServerErrorException

with error from server. 

EnableEventValidation is set to "false" on the my MainPage.aspx

Thanks in advance rafalr
Maria Ilieva
Telerik team
 answered on 02 Aug 2013
2 answers
93 views
Hi Guys,
I am using AJAX toolkit Q2 2013 version of Telerik AJAX controls. I am using RadTabStrip control and I am facing problem of Tab selection. My scenario is give below:

I've 5 Tabs of RadTabStrip control on my page and this tab strip control is associate with RadMultipage control. In RadMultipage control every page view is  a separate .aspx control and there is next button control in my page (Next button is the part of aspx page in RadPageView). By clicking on this next button I want to select next tab and also show it as a selected.

<telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" Width="100%" Height="100%" runat="server" MultiPageID="RadMultiPage1" CssClass="RadTabStrip_Default" Skin="Default" EnableEmbeddedSkins="false" >
<Tabs>
<tab>Tab1</Tab>
.
.
.
.
</Tabs>

</telerik:RadTabStrip>

<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" CssClass="multiPage">

<telerik:RadPageView runat="server" ContentUrl="Page.aspx"> </telerik:RadPageView>

.
.
.

</telerik:RadMultiPage>

Can anyone guide my that how I can achieve this??? Thanks in advance.

Regards,

Nencho
Telerik team
 answered on 02 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?