Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
Hi there,
I found a little bug of AutoCompleteBox..
When I Use Chinese or other double-size word in EmptyMessage,like this
EmptyMessage="输入客户名称中的任意字符"
It will only display half (see attachment)

 I track the box with firebug,found that when the racinput is empty, it have a attr  "size=13"
this "13" is then length of my empty message
In  english ,it works fine ,because  size=13 can display 13 chars,
but in chinese ,it only display half ,because one chinese character will take 2 size...

the solution is.....
use space .....
EmptyMessage="输入客户名称中的任意字符             "

Nencho
Telerik team
 answered on 02 Oct 2013
1 answer
134 views
When running the project locally my TabStrip displays and works properly.  However when publishing my project to production it becomes malformed (see attached photo) and will return the below error message when clicking on a tab.  Locally I am using IE 10 while in testing and while testing the published results.  I have also tested this with IE 9 and still get the same results. 

How can I go about resolving this issue?

Webpage error details
 
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)
Timestamp: Fri, 27 Sep 2013 12:31:58 UTC
 
 
Message: Invalid argument.
Line: 3665
Char: 9
Code: 0
URI: http://devsvr:87/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac9cbdec3-c810-4e87-846c-fb25a7c08002%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.2.717.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a0507d587-20ad-4e22-b866-76bd3eaee2df%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3a8e6f0d33%3a6a6d718d%3ab7778d6c%3ac08e9f8a%3ae085fe68%3a82923ac3%3a1bb784d4%3a874f8ea2%3af46195d3%3a19620875%3acda80b3%3a383e4ce8%3a7165f74
Nencho
Telerik team
 answered on 02 Oct 2013
7 answers
1.4K+ views
If I click a button to pop up a RadWindow which include a save button. How to design to have loading panel  in whole RadWindow while clicking the save button?
Maria Ilieva
Telerik team
 answered on 02 Oct 2013
1 answer
230 views
hi.

i'm making RadDropDownList in RadGrid EditItemTemplete. 

I works in case modify exsit rows.

But, in case 'Add Row'. a dropdownlist is disappeared after i select item and change focus.

I tried some. and i found  it happends when the text and value of the DropDownListItem is same. 

Please let me know, what's wrong with it.

Thank you.

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" CellSpacing="0"
            GridLines="None" Skin="Office2010Silver" HeaderStyle-HorizontalAlign="Center" AllowAutomaticInserts="true" AllowAutomaticDeletes="true"
            AllowAutomaticUpdates="True" AutoGenerateColumns="False" OnBatchEditCommand="RadGrid1_BatchEditCommand"
            OnItemDataBound="RadGrid1_ItemDataBound" OnNeedDataSource = "RadGrid1_NeedDataSource">
            <ClientSettings>
                <Selecting AllowRowSelect="True" />
                <Resizing AllowColumnResize="true" />
                <Scrolling AllowScroll="true" UseStaticHeaders="True" ScrollHeight/>
            </ClientSettings>
            <MasterTableView AutoGenerateColumns="False" DataKeyNames="PLNT_CD,DM_NO" CommandItemDisplay="Top"
                EditMode="Batch" BatchEditingSettings-OpenEditingEvent="Click">
 
                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridTemplateColumn HeaderText="P_CODE"
                    HeaderStyle-Width="80px"
                    FilterControlAltText="Filter PLNT_CD column"
                    UniqueName="PLNT_CD" DataField="PLNT_CD">
                            <%# Eval("PLNT_CD")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadDropDownList runat="server" ID="PlntCodeDropDown" OnPreRender="PlntCodeDropDown_OnPreRender" Width="80px">
                            </telerik:RadDropDownList>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="DM NO" HeaderStyle-Width="150px" FilterControlAltText="Filter DM_NO column" UniqueName="DM_NO" DataField="DM_NO">
                        <ItemTemplate>
                            <%# Eval("DM_NO")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="tx_dm_no" runat="Server" MaxLength="20"></asp:TextBox>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="CloseYN" HeaderStyle-Width="80px" FilterControlAltText="Filter CLOSE_YN column"
                    UniqueName="CLOSE_YN" DataField="CLOSE_YN">
                        <ItemTemplate>
                            <%# Eval("CLOSE_YN")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadDropDownList runat="server" ID="CloseYNDropDown" Width="50px"  >
                                <Items>
                                    <telerik:DropDownListItem Text="Y" Value="Y" />
                                    <telerik:DropDownListItem Text="N" Value="N" />
                                </Items>
                            </telerik:RadDropDownList>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
                <NoRecordsTemplate>
                </NoRecordsTemplate>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                </EditFormSettings>
 
            </MasterTableView>
 
            <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 
            <FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>
Nencho
Telerik team
 answered on 02 Oct 2013
1 answer
119 views
Hi,

I have a listview where I have implemented drag and drop where the dropevent is triggered in Javascript. When I have the RadAjaxPanel property EnableAJAX="False" set to False it works and performs a complete request. For the panel I have OnAjaxRequest="manager_ajaxrequest". 

The Javascript either triggers one of these two depending if I am using ajax=true (first one) and second one when ajax=false.
$find("<%= MyPanel.ClientID%>").ajaxRequestWithTarget("<%= MyPanel.UniqueID %>", pData);
or 
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(pData);

The drop is on a different div in the listview to order them in a custom order. Any input on what to do? Is a different event triggered? Any input is appreciated to make it work in ajax-mode.

Regards, Fredrik.
Angel Petrov
Telerik team
 answered on 02 Oct 2013
1 answer
411 views
I have a RadGrid using a standard grid hierarchy and am trying to open a RadWindow from within the OnItemCommand event when a radbutton column item is selected. When I select the button the code below does run (checked using a break point); however, the radwindow does not open and the radgrid itself appears to do a partial postback. Any Ideas why the rad window does not display? The code is  as follows:

protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
 {
         if (e.CommandName == "ButtonEdit")
         {
                 //opening window
                RadWindow newWindow = new RadWindow();

                 newWindow.ID = "RadWindow1";

                 newWindow.NavigateUrl = "Window1.aspx";

                 newWindow.VisibleOnPageLoad = true;

                 RadWindowManager1.Windows.Add(newWindow);
        }
   }

Also note, the RadWindowManager is valid as it is used elsewhere on the page with no problems.

Thanks,


Steve Holdorf
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Oct 2013
2 answers
94 views
Hi Team,

I am not able to reverse the legend order in the radchart. Please help me fix it.
Santosh
Top achievements
Rank 1
 answered on 02 Oct 2013
10 answers
553 views
When using MetroTouch skin, the remove file button image not showing. Perhaps it's background image position setting in CSS is off, or the stripe image is wrong. Also, there's not visual feedback on hover.

Until a fix is available, is there a way to replace the button image?

Sample image screen shot as attached.

  
Steven
Top achievements
Rank 1
 answered on 01 Oct 2013
3 answers
98 views
I am working with radgrid pulling the data relating to groups and subgroups using MasterTableView and detailtable view.I am using edit on row click to update the text by clicking on another row. If I click on the MasterTableView rows and edit something and immediately click on the row belongs to mastertableview,It is woring fine.Means I am out of focus and my previous row is displaying normal way and the row clicked currently is in the edit mode.If I click on the row belongs to detailtableview,the previous row is still staying in edit mode and the current row clicked also in edit mode.It is happening in all the browsers as well as in all versions.i.e IE 8 or 9, Crome as well.

Also some times if I click on rows of  the detailedtableview,corresponding items in the mastergridview are becoming blank.


   var hasChanges,editedRow;

 function RowClick(sender, eventArgs) {
            if (!hasChanges) {
                if (eventArgs instanceof Object == true) {
                    editedRow = eventArgs.get_itemIndexHierarchical();
                }
                else {
                    editedRow = eventArgs;
                    if (parseInt(editedRow) >= 0)
                        editedRow = editedRow - 2;
                }

                 $find("<%= ClassGrid.ClientID %>").get_masterTableView().editItem(editedRow);

                document.getElementById('<%=hfEditRow.ClientID%>').value = editedRow;
            }

            CallAjaxManagerUpdate();
        }
           
  function CallAjaxManagerUpdate() {
            if (editedRow && hasChanges) {
                $find("<%=RadAjaxManager1.ClientID %>").ajaxRequest(editedRow);
                hasChanges = false;
                document.getElementById('<%=hfEditRow.ClientID%>').value = "";
            }
        }


Any help can be appreciated.

Thanks
Murthy
Konstantin Dikov
Telerik team
 answered on 01 Oct 2013
4 answers
118 views
Hello

I use Radeditor and it work good on IE9 and FireFox v 23.0.1 but on Chrome v29.0.1547.76 I had a problem, when I select text in content I want to resize font then i click on RealFontSize and choose fontsize i want and Radeditor delete that text.

Hopefully, someone out their can respond quickly....
Thank you very much

<telerik:RadEditor ID="reDesc" runat="server" EnableResize="false" Width="640px" Height="250px">
                            <Tools>
                            <telerik:EditorToolGroup>
                                <telerik:EditorTool Name="Bold" />
                                <telerik:EditorTool Name="Italic" />
                                <telerik:EditorTool Name="Underline" />
                                <telerik:EditorTool Name="JustifyCenter"/>
                                <telerik:EditorTool Name="JustifyFull"/>
                                <telerik:EditorTool Name="JustifyLeft"/>
                                <telerik:EditorTool Name="JustifyRight"/>
                                <telerik:EditorTool Name="imageManager"/>
                                <telerik:EditorTool Name="linkManager"/>
                                <telerik:EditorTool Name="tablewizard"/>
                                <telerik:EditorTool Name="pastefromword" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="ForeColor" />
                                <telerik:EditorTool Name="BackColor" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="FontName" />
                                <telerik:EditorTool Name="RealFontSize" />
                            </telerik:EditorToolGroup>
                        </Tools>
                        <ImageManager
                        UploadPaths="~/Admincp/images"
                        DeletePaths="~/Admincp/images"
                        ViewPaths="~/Admincp/images"
                        MaxUploadFileSize="300000"/>
                        <Content></Content>
                    </telerik:RadEditor>

Nhan
Top achievements
Rank 1
 answered on 01 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?