Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
179 views
How can I add user control inside the header template of radpanelitem dynamically (from code behind)?
In my parent page, I'm having a RadPanelBar which contains two RadPanelItems. I want to add user control in header template of the second radpanelitem. When I tried to add user control in header template, the panel header height becomes wider and shows the user control in second line of panel. My user controls contains a small image button icon, which opens a radwindow.
Kate
Telerik team
 answered on 09 Apr 2013
0 answers
111 views
I am trying to move the selected cell in client side code after calling out to a service. On row click, I am setting the cells background color to indicate to the user which cell is selected.  I am then passing that column to a service, which is writing some data to the corresponding field in the database.  On success I am performing a rebind on the client side which updates my radgrid with the new data.  I am also trying to "highlight" the next cell in the row, but have been unsuccessful in my efforts thus far.

Any ideas?
Jimmy
Top achievements
Rank 1
 asked on 09 Apr 2013
2 answers
200 views
dear friends,
I tried blow code but rounded corners does not work. if I use Skin="" parameter it works but this time picker button disappers and "Open the calendar popup" text appears (as expected)
is there a solution ?

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" EnableRoundedCorners="true" />
<div id="jjj">
    <telerik:RadTextBox ID="RadTextBox1" runat="server" Skin=""></telerik:RadTextBox>
    <telerik:RadDatePicker ID="RadDatePicker2" runat="server" Calendar-CultureInfo="en-US">
    </telerik:RadDatePicker>
</div>

thanks.
Tom
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
131 views
Hi,

I have spent hours trying to get RadNumericTextBox to accept something as simple as 1.25. It rounds, or displays an alert. I have reviewed multiple forum posts and the documentation and something this simple seems to be pretty elusive. here is the markup (this is in a RadGrid ItemTemplate that displays in Edit mode). I have tried multiple combinations of the various parameters shown here with no good result. I am only showing the EditItemTemplate for brevity. Any help appreciated. 

 <EditItemTemplate>

                                         <telerik:RadNumericTextBox ID="rtbCMEHours" MaxLength="5" runat="server" Type="Number" MinValue="0.00" MaxValue="100.00" AllowOutOfRangeAutoCorrect="true" ToolTip="Enter the Hours Claimed here." Text='<%#Eval("HoursClaimed") %>' >

                                        <numberformat allowrounding="False" keepnotroundedvalue="False" DecimalDigits="2" ></numberformat>

                                         </telerik:RadNumericTextBox>

                                     </EditItemTemplate>

Angel Petrov
Telerik team
 answered on 09 Apr 2013
1 answer
169 views
I'm getting the following error when trying to run the Grid demo on my local machine:

The database 'C:\PROGRAM FILES (X86)\TELERIK\RADCONTROLS FOR ASP.NET AJAX Q1 2013\LIVE DEMOS\APP_DATA\TELERIK.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported.
Could not open new database 'C:\PROGRAM FILES (X86)\TELERIK\RADCONTROLS FOR ASP.NET AJAX Q1 2013\LIVE DEMOS\APP_DATA\TELERIK.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q1 2013\Live Demos\App_Data\Telerik.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Andrey
Telerik team
 answered on 09 Apr 2013
1 answer
307 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
62 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
95 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
194 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
101 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
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?