Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
61 views
If I select a TimeSlot in javascript code, get_selectedSlots() does not update correctly.

function TimeSlotContextMenu(sender, eventArgs) {
        var RadScheduler = $find("<%= RadScheduler.ClientID %>");
        // RadScheduler.get_selectedSlots().length = 1
        eventArgs.get_targetSlot().set_selected(true);
        // RadScheduler.get_selectedSlots().length still = 1
}

I'm using 2010.3.1109.40 version.
Jorge
Top achievements
Rank 1
 asked on 05 Apr 2011
5 answers
139 views
I have a Parent RadGrid, you can click on the Rows and the child rad grid will appear. You can then go and add items to the child grid, once a new item is inserted I need to rebind the parent grid but still maintain the originally selected row.

I have the folllowing code, it rebinds the parent gird but i lose my selected row.

Protected Sub rgRiskAssessmentItems_ItemInserted(ByVal source As Object, ByVal e As Telerik.Web.UI.GridInsertedEventArgs) Handles rgRiskAssessmentItems.ItemInserted
        If Not e.Exception Is Nothing Then
            e.ExceptionHandled = True
            e.KeepInInsertMode = True
            SetMessage("Risk Assessment Item cannot be inserted. Reason: " + e.Exception.Message)
        Else
            SetMessage("New Risk Assessment Item has been added!")
            'Make sure we get a submit button in the top grid after adding an item to the lower grid
            rgRiskAssessment.Rebind()
            'rgRiskAssessmentItems.Rebind()
 
        End If
 
    End Sub

Thanks for reading..
Pavlina
Telerik team
 answered on 05 Apr 2011
3 answers
145 views
Hi,
I want to change autocomplete extender from ACT with RadComboBox ( because of loading on demand and virtual scrolling ). Loading and scrolling is working correctly. But I am populating data from WebServis and I need to send additional info to webservis ( like contextKey in autocompleteextender ) -  this value can be set from codebehind and I also need OnClientItemSelectedEvent ( when I hoover over item in combobox I want to show additional info about that item ).

Another thing I dont understand is: in aspx page I set parameter ItemsPerRequest, but how can I get that value in webservis??
In ace it is a parameter for web servis method - method signature ( string prefixText, int count, string contextkey ).

Is there a way how to do this??

Thanks in advance
Dimitar Terziev
Telerik team
 answered on 05 Apr 2011
3 answers
79 views
Using RadMenuTelerik Version 2011.1.315.40 in Internet Explorer 9.

When hovering over a menu Item Group that has a seperator in it:  The menu will dropdown but the first menu item's text will shift 2 or more pixels down (after the seperator).  Is there a fix for this?

This menu item is fine.
<Item IsSeparator="True" />
This menu item's text will display then shift down a few pixels.

Thanks,

Mike
Kate
Telerik team
 answered on 05 Apr 2011
3 answers
134 views
Hi forums,

I have a working rotator (type CarousselButtons) with images (in colors).

I was wondering. Is there any chance (by using the client API or the like), that I can only show the current item index image in colors and the others (not current item index) in say semi transparent...maybe apply the semi transparent-ness at the client side..

Basically my need is to "highlight" the current index and to put the other indexes "away"..

Hope this post is meaningful..

Regards

Henrik
Marin Bratanov
Telerik team
 answered on 05 Apr 2011
1 answer
86 views
Hi,

In my application, on grid pop-up providing document upload feature using Async Upload tool. For the most part when user try to open pop-up stylesheet is not appering for asyncupload and datepicker control.

Attaching screen shot for review. Also I noticed this issue mostly with Internet explorer. Not 100% sure with browser specific but found most of the time with Internet Explorer 7. Let me know the possible combination can cause these? 

I would really appreciate response as early as possible.

Thanks,
Genady Sergeev
Telerik team
 answered on 05 Apr 2011
5 answers
121 views
Order in Html page
RadProgressManager
RadAsyncUpload
RadProgressArea

http://demos.telerik.com/aspnet-ajax/upload/examples/async/monitorprogress/defaultcs.aspx
If you look at the demo the progress is not updating.
Uploaded files: 0% (0) Total files: 1
The same result if i make my own page with the controls

What to do?!??

<telerik:RadProgressManager ID="Radprogressmanager1" runat="server" Skin="Office2007" />
                            <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientValidationFailed="validationFailed"
                                OnClientFileUploadRemoved="fileUploadRemoved" MultipleFileSelection="Automatic"
                                EnableInlineProgress="false" CssClass="RadAsyncUpload">
                                <Localization Cancel="Annuleren" Remove="Verwijderen" Select="Selecteer" />
                            </telerik:RadAsyncUpload>
                            <telerik:RadProgressArea ID="RadProgressArea1" runat="server" Culture="nl-NL" Skin="Office2007"
                                Style="position: absolute; top: 1%; left: 1%; margin: 0 0 0 0px;">
                                <Localization Cancel="Annuleren" ElapsedTime="Verstreken tijd" EstimatedTime="Geschatte tijd"
                                    Total="Totaal voortgang" TotalFiles="Totaal" TransferSpeed="Snelheid" Uploaded="Geüpload"
                                    UploadedFiles="Voortgang" />
                            </telerik:RadProgressArea>
Genady Sergeev
Telerik team
 answered on 05 Apr 2011
1 answer
116 views
I have a dataset that I'd like to take the first 10 rows from, and then bind them to my grid. Here's what I have:



DataTable dt = new DataTable();
for (int i = 0; i < 10; i++)
{
    dt.ImportRow(ds.Tables[0].Rows[i]);
    dt.AcceptChanges();
}
rgPreview.DataSource = dt;



I'm getting a "

Cannot find any bindable properties in an item from the datasource"

 error.

fred williams
Top achievements
Rank 1
 answered on 05 Apr 2011
2 answers
133 views
Hi,

as subject says.

<telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadImageForNavNode" AllowedFileExtensions="jpg,jpeg,png,gif" CssClass="i1nvisible p1ixelWidthHeight"
                   MaxFileSize="5242880" MultipleFileSelection="Disabled" OnFileUploaded="RadAsyncUploadImageForNavNode_FileUploaded" EnableInlineProgress="false" 
                   MaxFileInputsCount="1" OnClientFileUploaded="RadAsyncUploadImageForNavNode_OnClientFileUploaded" Localization-Select="<%$ Resources:PGC, ProjectContentElement_UploadImage %>">
               </telerik:RadAsyncUpload>


I needed only Select button, so this is the css I took somewhere from this forum:

.createContentPageAdditionalOptions .RadUpload input.ruFakeInput
{
    display: none;
}
.createContentPageAdditionalOptions .RadUpload input.ruBrowse
{
    width: 115px;
.createContentPageAdditionalOptions .RadUpload span.ruFileWrap input.ruButtonHover
{
    background-position: 100% -46px;
}
.createContentPageAdditionalOptions .RadUpload input.ruButton
{
    background-position: 0 -46px;
}

Thx!
Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 05 Apr 2011
1 answer
100 views
Drawings and have the same problem.
What should I do?

link:http://www.winterer.co.kr/file/zoom_scroll.png


Rumen
Telerik team
 answered on 05 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?