Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
322 views
Hello,

I have an AutoComplete defined like:
<telerik:RadAutoCompleteBox ID="ctrlBox"
               runat="server"
               InputType="Text"
               AllowCustomEntry="false"
               Filter="Contains"
               Delimiter=" "
               Width="400px"
               DropDownWidth="400px"
               OnClientDropDownOpening="openingDropdown"
               OnClientDropDownClosed="closedDropdown"
               OnClientLoad="loadingAutoComplete"
               OnClientRequesting="requesting" >
               <WebServiceSettings Path="Service.svc" Method="Search" />
        </telerik:RadAutoCompleteBox>

The problem is when a value that exceeds 400px is in the box it expands the box to two lines with the second line being blank.

All the text stays on the first line and gets cutoff (which is fine). Is there a way to specify the box only be one line or give it a height? I just want to get rid of that second blank line. Clicking out of the box or pressing "backspace" does not remove the line.

The only way to get rid of the line is to delete the >400px entry and the box will collapse back to one line.
Nencho
Telerik team
 answered on 09 Apr 2013
1 answer
70 views
Hi, 
How to implement multi column reordering in  telerik radgrid with multicolumn headers?.

Thanks & Regards
Anzar.M

Shinu
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
108 views
How do you hide/show a specific contextual tab in the code behind?

Michael
Kate
Telerik team
 answered on 09 Apr 2013
1 answer
212 views
Hi,

Before I begin, I want to say that I searched for this problem in the entire forum and googled it long in order to come up with a solution. But, no luck...

May be the Telerik guys can help me with the problem.

In the AsyncUpload - Binary Images And RadAsyncUpload in Grid demo, when I click on "Add New Record", then "Save" button, the validator for RadAsyncUpload control works. I click "Cancel", and then click on "Add New Record" again, there is no validator for AsyncUpload control anymore (validators for textboxes work OK). I tried that with the latest version 2013 Q1 and came up with the same result.

What I Expected...

I expected the RadAsnycUpload's custom validator to work as any other control validator (For textboxes, for example). No matter if I reload the page, or click Cancel to close the insert form, the error message should have appeared and prevented me closing the insert form.

In my project, I am working on multiple RadAsyncUpload controls in the RadGrid EditTemplate. At least one for video file and another for cover pictures for that video file. When a user upload the video (that takes enough time to get angry if it's needed to be uploaded again) and click OK before uploading the image file, query doesn't work and insert form closes. I thought to prevent that with validator from client side, but as I mentioned, it's not working as I expected. May be that is something nobody thought would be important but in the sake of creating a good application, I would like to know if there is any way to make custom validator for asyncupload control work fine in a RadGrid template.

The js code I used is the same with the demo codes, but I am pasting here anyway.

<telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
    <script type="text/javascript">
        var uploadedFilesCount = 0;
        var isEditMode;
        function validateRadUpload(source, e) {
            // When the RadGrid is in Edit mode the user is not obliged to upload file.
            if (isEditMode == null || isEditMode == undefined) {
                e.IsValid = false;
 
                if (uploadedFilesCount > 0) {
                    e.IsValid = true;
                }
            }
            isEditMode = null;
        }
 
        function OnClientFileUploaded(sender, eventArgs) {
            uploadedFilesCount++;
        }
    </script>
</telerik:RadCodeBlock>

I would appreciate if you lead me to the right way.

Thanks in advance!
Hristo Valyavicharski
Telerik team
 answered on 09 Apr 2013
2 answers
111 views
Dear dude
I want to add verification code to appointment when user want to insert new appointment get verification code and in edit for it should enter verification to allow editing. but when I add verification field to appointment table I got an error:
DataBinding: 'Telerik.Web.UI.Appointment' does not contain a property with the name 'Verification'.
shahab
Top achievements
Rank 1
 answered on 09 Apr 2013
1 answer
141 views
I am wondering if I can have a RadAsyncUpload control in an iframe and a dropzone in the parent document? If so, how should I wire them up?

See attached for detailed illustration.
Bozhidar
Telerik team
 answered on 09 Apr 2013
1 answer
87 views
Hi Telerik,

We have a serious issue after upgrading your Telerik version.
Image Button in the previous version there is no issue while mouse hover. In the new version the image is missing while mouse hover state.
Misho
Telerik team
 answered on 09 Apr 2013
1 answer
155 views
Dear Telerik Support Team,

I am reaching out to you to seek your assistance in regards to RadGridView.

The issue is that I can edit a row after the second trial. When the row is double-clicked for the first time to update, it allows me to use edit-textbox to edit. However, the number in the cell will remain the same. From the second time to try updating, it works. In other words, I can update the cells in RadGridView after double-cliking on a row from the second time.

Simply, I copied the sample code available on your website and pasted it to a .ascx file in a new sharepoint empty project. (the code is available at  http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx )

In ascx, 
The changes I made to the original code is the columns and DataSource that refer to my own data in my DB.
Also I removed the below lines, as one script is only allowed in a page.
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
I also removed  <form id="form1" runat="server"></form>

It would be highly appreciated if you could help me with this issue.

Best regards,

Marin
Telerik team
 answered on 09 Apr 2013
1 answer
124 views
Dear Telerik Support Team,

I am reaching out to you to seek your assistance in regards to RadGridView.

The issue is that I can edit a row after the second trial. When the row is double-clicked for the first time to update, it allows me to use edit-textbox to edit. However, the number in the cell will remain the same. From the second time to try updating, it works. In other words, I can update the cells in RadGridView after double-cliking on a row from the second time.

Simply, I copied the sample code available on your website and pasted it to a .ascx file in a new sharepoint empty project. (the code is available at  http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx )

In ascx, 
The changes I made to the original code is the columns and DataSource that refer to my own data in my DB.
Also I removed the below lines, as one script is only allowed in a page.
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
I also removed  <form id="form1" runat="server"></form>

It would be highly appreciated if you could help me with this issue.

Best regards,

Marin
Telerik team
 answered on 09 Apr 2013
1 answer
124 views
Hi

I am not well versed in java script. From client click of a RadButton, How to delete all the tokens in a Autocompletebox.

Thankyou,
Sameer
Princy
Top achievements
Rank 2
 answered on 09 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?