Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
529 views
Hello,

I'm having trouble getting a RadListBox to transfer correctly.  The source radlistbox loads as expected but the destination radlistbox does not seem to have data to bind to.  After the transfer, empty rows appear in the destination radlistbox.  Can anyone offer advice as to what I'm missing?

On Load  (if(!IsPostBack)...

DataSet ds = new DataSet(); 
 
ds.ReadXml(Server.MapPath("~/_sample_data/CustomersAndDogs.xml")); 
 
SourceRadListBox.DataSource = ds; 
SourceRadListBox.DataBind(); 

The aspx code is as follows:

<div style="width: 600px;"
        <telerik:radlistbox  
            id="SourceRadListBox"  
            runat="server"  
            skin="WebBlue"  
            allowtransfer="True" 
            transfermode="Copy"  
            transfertoid="DestinationRadListBox"  
            height="200px"  
            width="250px" 
            datasortfield="DogName" 
            SelectionMode="Multiple"             
            > 
            <EmptyMessageTemplate> 
                No dogs found</EmptyMessageTemplate> 
            <ItemTemplate> 
                <div style="width: 100%;"
                     
                    <div style="width: 50%; float: left;"
                        <%# Eval("DogName") %></div
                    <div style="width: 50%; float: left;"
                        <%# Eval("OwnerFullName") %></div
                </div> 
            </ItemTemplate> 
            <Items> 
            </Items> 
        </telerik:radlistbox> 
        <telerik:radlistbox id="DestinationRadListBox" runat="server" width="250px" height="200px"
            <EmptyMessageTemplate> 
                No dogs selected</EmptyMessageTemplate> 
            <ItemTemplate> 
                <div style="width: 100%;"
                    <div style="width: 50%; float: left;"
                        <%# Eval("DogName") %></div
                    <div style="width: 50%; float: left;"
                        <img src='<%# Eval("DogThumbNailImageUrl") %>' height="40px" width="40px" alt="" /></div
                </div>                 
            </ItemTemplate> 
        </telerik:radlistbox> 
        </div> 

Thanks,
James
Genady Sergeev
Telerik team
 answered on 13 Nov 2012
3 answers
139 views
I have the folloing code for a RadTimePicker but for some reason in my page behind when I submit a query to the database with tpEndTime formatted as a string it is inputting the date and time in to the database column, not just the time. The db table column that has the issue is set to nvarchar and there are no formatting calls on the field before the insert.

Dim dEndTime As String = tpEndTime.SelectedDate

So instead of 18:00 my database is showing 8/22/2011 18:00:00 PM

<telerik:RadTimePicker ID="tpEndTime" runat="server" Skin="Vista">
                <DateInput DateFormat="HH:mm" DisplayDateFormat="HH:mm" runat="server"></DateInput>
                <TimeView ShowHeader="true" HeaderText="End Time" Interval="00:15:00" Columns="4" StartTime="08:00:00" EndTime="20:00:00" TimeFormat="HH:mm" runat="server"></TimeView>
</telerik:RadTimePicker>

I am using the latest version of the ASP.net AJAX controls
Maria Ilieva
Telerik team
 answered on 13 Nov 2012
3 answers
259 views
I'm working on a project that requires a user to click on an appointment to trigger an event. I'm using the OnAppointmentClick to accomplish this, but I need to disable the click event for certain appointments displayed.

I'd prefer the event not even fire for those appointments, but can't find any way to accomplish this on a appointment by appointment level.

Thanks for any help and suggestions you may have.
Chris
Plamen
Telerik team
 answered on 13 Nov 2012
5 answers
83 views
Hello

Our Clients started using IPad. Before on IE when we had  breaks in teh document there was not formatting problem but now We are having issues with new line or break in radeditor using Safari.
Is this issue resolved. The Radeditor version i am using is 7.3.5

Please let us know 

Please Anyone who was able to resolve this issue. or else we are forced to use some other editor. And we have been using Radeditor for most of our appliaction. 

Help

Thank you 
Kavya 
Apo
Telerik team
 answered on 13 Nov 2012
3 answers
71 views
Hello everyone.

I have downloaded the 2012.3.1016.40 version of telerik asp.net and now I'm having a problem with tabstrip (I did not have this problem before).

My tabstrip have 3 tabs, but, when I click on the second, there are no changes on the screen! If I click on the third, no problem, but, if I click on the second after the third, I have no changes again.

ps: I have postback when I change between tabs.

What is the bug?

Regards.
Dimitar Terziev
Telerik team
 answered on 13 Nov 2012
1 answer
255 views
Hello,
 My requirment is change profile picture like ('face book' profile pic change) so i choose RadAsynUpload Control (http://demos.telerik.com/aspnet-ajax/asyncupload/examples/ajaxprocessing/defaultcs.aspx) and implemented in my app ,its working in Firefox but not working in chrome. could you please help me out.

Sourcode:

<div class="border" id="D1" onmouseover="ShowIcon('Div1','true');" onmouseout="ShowIcon('Div1','false');"
                        style="height: 110px;">
                        <a href="#" title="Famili Account Setup + Edit">
                            <telerik:RadBinaryImage runat="server" ID="Thumbnail" ResizeMode="Crop" Width="100"
                                Height="115" ImageUrl="~/Images/image-1.png" CssClass="binary-image" />
                        </a>
                        <div id="Div1" style="position: relative; top: -50px; left: 0px; z-index: 10000;
                            display: block;">                           
                            <div class="qsf-demo-canvas upload-panel">                          
                                <div class="upload">
                                    <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MaxFileInputsCount="1" OnClientFileUploaded="fileUploaded"
                                        OnFileUploaded="AsyncUpload1_FileUploaded" AllowedFileExtensions="jpeg,jpg,gif,png,bmp"
                                        OnClientValidationFailed="validationFailed" CssClass="ru Browse" Style="display: block" OnClientFileUploadFailed ="fileUploadedFailed">
                                        <Localization Select="Edit" />
                                    </telerik:RadAsyncUpload>
                                </div>
                                <hr class="qsf-clear-float" style="display: none" />
                                <div class="invalid">
                                </div>
                            </div>
                           </div>
                    </div>

Javascript for mouse over and out :


<script type="text/javascript">
       function ShowIcon(arg1, arg2) {
             
           var img1 = document.getElementById(arg1);
           if (arg2 == 'true') {
               if (img1 != null) {
                   img1.style.display = "block";
               }
           }
           else {
               img1.style.display = "none";
           }
 
 
       }
   </script>
Plamen
Telerik team
 answered on 13 Nov 2012
3 answers
130 views
Hi,
I am trying to define a RadDatePicker as shown below:

Vasil
Telerik team
 answered on 13 Nov 2012
1 answer
159 views
I don't want to show the upload control at all.

Instead, when the user clicks the "Upload File" menu item I've created, I would like to show the normal file browser, let the user select a file from their local drive, and when they click Open, immediately start the upload.

Is this even possible?

-Dave
Plamen
Telerik team
 answered on 13 Nov 2012
7 answers
206 views
Hi,

My RadGrid has three layers of nested grids. I'm using EditForms with templates throughout.
I want not more than one edit/insert form being shown in the whole grid at the same time. How can I achieve that?

I tried several ways, but the behaviour is never really how I want it. E.g. when the insert form is displayed in the the MasterTableView, it will stay open no matter which insert/edit button I click.

If an edit form is displayed in the MasterTableView, and I click any other insert or edit button, the form is not shown, but nonetheless the Item stays in edit mode.
Maybe I need to rebind the Grid at some point?

Does anybody know the best practise?

Thank for your help,
Jens
Johan
Top achievements
Rank 1
 answered on 13 Nov 2012
2 answers
226 views
Hi,

 i have used scrolling in Bar chart.
i got an loading panel image in regions.
Find the Attachment for image and give me the solution. it's urgent.

Theo
Top achievements
Rank 1
 answered on 13 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?