Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
We had recently updated from 2012 - Q2 to 2013 - Q3 . We have come across an issue where url encodes with %20 (aka a space in the name of the image) causes a RadButton with an image to change the url on mouse over / hover and make the image disappear / lose it's original URL because the encoding is changing.

For example, the original url for an image will load and display as:

http://8f2270e13c3e0703baa2-6c2aaf386ecfc7423d48bccd1a997322.r2.cf1.rackcdn.com/Public-Personal/Who%20We%20Are/Our%20Mission/plumpy-updated.jpg

When hovered, it is changed to:

http://8f2270e13c3e0703baa2-6c2aaf386ecfc7423d48bccd1a997322.r2.cf1.rackcdn.com/Public-Personal/Who%2520We%2520Are/Our%2520Mission/plumpy-updated.jpg

The url returned back that then does not display is encoding my %20 (a space) now to a %2520 (%25 is a %) and the added 20 goes no where causing a dead link. 

Is there a simple solution to prevent the automatic encoding from happening? I would prefer to not go through a 4 year old project and change every image that could potentially have this happening. 

We have typically tried to keep spacing out of our url's as a best practice, but it does not always happen that way.

Thanks
Danail Vasilev
Telerik team
 answered on 21 Jan 2015
1 answer
35 views
Hello,

I have an editor (type GridEditFormType.Template) which itself can open a little popup window (just a little div with position: absolute and z-index: 5000). This works well, but it is hidden behind the table header. I posted you a screenshot where you can see the popup hidden behind the header.
Just raising the z-index won't work, some how its always hidden behind the grid.
Is there an easy way to get the div to be shown over the header?

Thanks!
Konstantin Dikov
Telerik team
 answered on 21 Jan 2015
1 answer
79 views
Is it possible to get some vertical space between items?
Ideal for me would be to have 15px between root times and 10 px between root items and child items.
Some direction on this would be appreciated.
Thanks
Konstantin Dikov
Telerik team
 answered on 21 Jan 2015
9 answers
855 views

Hello Team,

                          Currently i am using  Telerik rad grid in my project and i am facing some problem during edit time and problem is that i want to give tab indexing to my text boxes so that tab indexing should be from left to right and vice versa and currently first it is working only for left side and after that right side as i have attached screen shot that's my need so please revert me soon i am waiting of your reply...


Thanks & Regards,
Sunny
Eyup
Telerik team
 answered on 21 Jan 2015
11 answers
131 views
Hi Everyone,

I would like to ask if anyone can help me with this problem, since till now i wasnt able to solve it myself. Problem is with RadAsyncUpload.
- This control is in <asp:Panel> so maybe that can cause it, maybe not.

- This problem occures only in Firefox. In IE and Chrome, upload control is working as expected.

- Problem definition: I click "Browse My Computer" button. Dialog will appear, then i select file and click "open". Dialog will close and nothing will happen. Nothing will start uploading, nothing will show up. There is only "Browse my computer" button and nothing is being done.

- In Firefox when i click on "Browse my computer" button, the page goes to loadPage javascript action and i think also to postback, since i hit the debugger in my customControl.ascx.cs file, so i concluded that in FF after clicking on this button i immediately go to postback but on Chrome and IE i am not jumping into pageLoad nor to debugger in .cs file.

- Also, in Firefox after i click open i wont jump into rauUpload_FileUploaded method. in IE and Chrome i do.

- I checked telerik live demos and it works OK in firefox there.

- Please note that postback happens after i click on "Browse my computer button", NOT after clicking on "open"

The structure is like follows:

MasterPage
{
    page.aspx
    {  
         <asp:panel>
         customControl.ascx
         {
             <RadAsyncUpload>
         }
         </asp:panel>
    }
}


UploadControl code:
<telerik:RadAsyncUpload ID="rauUpload" runat="server" OnFileUploaded="rauUpload_FileUploaded"
    EnableInlineProgress="false" ManualUpload="false" MultipleFileSelection="Automatic"
    MaxFileInputsCount="1" HideFileInput="true" OnClientFilesUploaded="checkFiles"
    OnClientFileUploadRemoved="fileRemoved" Width="150px" OnClientFileDropped="fileRemoved">
    <Localization Select="Select" />
</telerik:RadAsyncUpload>


Files and Versions included from MasterPage(I write these, since it can maybe interfere with telerik asyncupload somehow. They are included in the order they are written here):
jquery-2.1.js
jquery-migrate-1.2.1.min.js
jquery-ui-1.10.4.custom.min.js
jquery.tooltipster.min.js
select2.js
jquery.reveal.js
jquery.dropdown.min.js
JEditable.js
jquery.maskedinput.min.js
UploadControl.js
CommonScripts.js
Telerik DLLs are latest version, i downloaded them yesterday - 2014.3.1024.40


Thanks to anyone who is willing to help me with this.

Plamen
Telerik team
 answered on 21 Jan 2015
1 answer
147 views
Hello,

I have set a grid to go into edit mode when a row is double clicked:
<ClientEvents OnRowDblClick="RowDblClick" />
 
 
function RowDblClick(sender, eventArgs) {
        $find("<%= RadGrid1.MasterTableView.ClientID %>").editItem(eventArgs.get_itemIndexHierarchical());
  }


I want to hide the GridEditCommandColumn until a row is double clicked and put into edit mode. At this point the Save and Cancel items will be shown.
Basically I don't want to see the Edit Icon column, double click is the only way to get into edit mode.

Could you please provide some guidance on how to achieve this?

Thanks.


Maria Ilieva
Telerik team
 answered on 21 Jan 2015
2 answers
291 views
Hi,

I've recently come across what I believe are called font icons.
I've had some success using these icons by specifying SpriteCssClass on my RadToolBarButton's.

However, as soon as I specify a Skin for the toolbar, the icons do not render.
See the attached screenshots of the toolbar with and without a skin specified.

Here's my toolbar declaration (only the first 2 buttons included):

<telerik:RadToolBar ID="RadToolBar1" runat="server" RenderMode="Lightweight" Skin="Office2007" Orientation="Horizontal" EnableImageSprites="True" EnableEmbeddedSkins="True" EnableRoundedCorners="true">
    <CollapseAnimation Duration="200" Type="OutQuint" />
    <Items>
        <telerik:RadToolBarButton runat="server" Tooltip="Zoom In" SpriteCssClass="icon-TBi__Zoomin toolBarIconStyle">
        </telerik:RadToolBarButton>
        <telerik:RadToolBarButton runat="server" Tooltip="Zoom Out" SpriteCssClass="icon-TBi__Zoomout toolBarIconStyle">
        </telerik:RadToolBarButton>
    </Items>
</telerik:RadToolBar>

Any suggestions as to how to make this work.

Thanks in advance.

Jim






Ivan Zhekov
Telerik team
 answered on 21 Jan 2015
3 answers
266 views

I have a RadComboBox and I fill it on demand as the user types. No problems.
Now, if the ComboBox has an existing value on page load, and the user deletes it (via "x" or backspace),
the client-side .get_value() and the server-side.SelectedValue() still show the old value.

This is a problem because I check the value before saving, etc. In essence, the user deletes the value (text = "") but it still saves because the checks (client or server) show the value as still being there.

This was working for some time but has broken recently in our Prod version (2013.3.1324 - Q3 2013 SP2 ) and our Test/QA version (latest 2014.3.1209 - Q3 2014 SP1).

Client-side code below:

<telerik:RadComboBox ID="ddlPName" runat="server" CssClass="cert" Width="269px" Height="150px"
 CollapseAnimation-Duration="0" CollapseDelay="0" CloseDropDownOnBlur="true" Skin="Vista"
 EmptyMessage="Type Name" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
 EnableVirtualScrolling="true" OnItemsRequested="ddlPName_ItemsRequested" DropDownWidth="269"
 MarkFirstMatch="false" OnClientSelectedIndexChanged="NameSelectedIndexChanged"
 OnClientDropDownOpened="onClientDropDownOpened" OnClientDropDownClosed="ddlPName_OnClientDropDownClosed"
 OnClientItemsRequestFailed="OnComboCallbackError" OnClientItemsRequesting="onItemsRequesting"
 OnClientTextChange="OnDDLTextChange">

</telerik:RadComboBox>function OnDDLTextChangeICD9(sender, args) {
 if (sender.get_value() == "") {
  sender.set_text("");
 }
}


Thanks for any ideas,
Robert




Nencho
Telerik team
 answered on 21 Jan 2015
1 answer
73 views
OK I was working with the radgrid export functionality and when I press the export button it does a postback and it updates the page with all the rows, and then nothing.

See the attached images. as soon as I click the pdf or csv export buttons on the grid or the separate buttons it re-renders the page with all the records but does not open the PDF or the CSV.

I think I am missing something simple, for I have used export a lot and not had this issue. I am using the most current code base. here is my button code, its really straight forward.

       Protected Sub ExportPDF_Click(sender As Object, e As EventArgs) Handles ExportPDF.Click

            RadGrid1.PageSize = RadGrid1.MasterTableView.VirtualItemCount
            RadGrid1.ExportSettings.IgnorePaging = True
            RadGrid1.ExportSettings.OpenInNewWindow = True
            RadGrid1.MasterTableView.ExportToPdf()
        End Sub



What is going on?


Daniel
Telerik team
 answered on 21 Jan 2015
1 answer
85 views
Hey there,

I have a grid with a default filters - a TextBox and a button next to it to choose filter type ("Contains", "GreaterThan", "LessThan" and so on). Now when I press on it with the mouse - the dropdown list slides down from the point where my mouse is, but if I tab on that button and press "Enter" or "Space" - this dropdown slides from the screen possition "0, 0" (very left top of the screen). Is there a way to change default coords  so that the dropdown would slide down from the button instead of top left of the screen?
(attached an image with example how it looks)

Thanks for any thoughts on how to fix that.

BR,
Modestas.
Eyup
Telerik team
 answered on 21 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?