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

Issue is user adds a new record to the RadGrid, uploads an image with the RadAsyncUpload and puts in some text. So they decide to go back in a and edit the record again. The RadAsyncUpload will not let them Update due to the image missing from the loaded files, they shouldn't have to find it and upload it again. I want the image in the RadBinaryImage field to populate the RadAsyncUpload on edit so they COULD remove it if they want to erase the image from the data record. Is this possible? If its not is there a workaround, otherwise the users are handicapped to find the image again, and they could never delete the image. Here is the ASPX code:

<telerik:GridTemplateColumn DataField="Image" HeaderText="Image" UniqueName="UploadImage" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" ItemStyle-Width="100px" ItemStyle-Height="100px">
    <ItemTemplate>                                           
        <telerik:RadBinaryImage runat="server" ID="RadBinaryImage2" DataValue='<%# Eval("Image") %>' AutoAdjustImageControlSize="false" Height="100px" Width="100px" ToolTip='<%#Eval("Name", "Product: {0}") %>' AlternateText='<%#Eval("Name", "{0}") %>' />                                           
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadAsyncUpload runat="server" ID="AsyncUpload2" OnClientFileUploaded="OnClientFileUploadedStore" AllowedFileExtensions="jpg,jpeg,png,gif" MaxFileSize="1048576" OnValidatingFile="RadAsyncUpload1_ValidatingFile" />                                           
        <asp:Label runat="server" CssClass="lblWarning" Text="To make your image appear uniform, make the dimensions squared (ie: 100W x 100H) as PNG transparent."/>
    </EditItemTemplate>
</telerik:GridTemplateColumn>

Thanks
SDI
Andrey
Telerik team
 answered on 29 Feb 2012
2 answers
149 views
Hi, I'm using 'ajaxRequestWithTarget' method of RadAjaxPanel.
And it is asynchronously. Before the request is finished I would like to disable any action on client side.

It seems that update of RadAjaxPanel is performed asynchronously, is it possible to make it synchronous?
So for example I call 'ajaxRequestWithTarget' in the onclick event (client side event) of button. It looks like this event is finished before  ajax request is done completely.

I know that there are events like:
ClientEvents-OnResponseEnd="OnResponseEnd"
ClientEvents-OnRequestStart="OnRequestStart"

So I could use them to disable this button after requestStart and before requestEnd, but this is additional work.
The simple question is: Can 'ajaxRequestWithTarget' be synchronous ?

Hope I described it good.
Regards.
Chris.
Krzysztof
Top achievements
Rank 1
 answered on 29 Feb 2012
1 answer
181 views
I am having a bit of an issue with rad window and calling it from a imagebutton.

My code looks like this:

function openRadWin() {
        radopen("./cvv.jpg", "RadWindow1");
    }
 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server" ShowContentDuringLoad="false" Width="500px"
            Height="260px" Title="CVV" Behaviors="Close" Modal="true" >
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
 
<asp:ImageButton ID="ImageButton1" runat="server"
                OnClientClick="openRadWin();" ImageUrl="~/question.jpg" Height="20px" Width="20px" />

The issue i am having is that, when i click on the button, it causes validation. But if i add CauseValidation=False to my button, the window opens and closes immediately. It does not show the tool-bar at the top and does wait for end user action.
Marin Bratanov
Telerik team
 answered on 29 Feb 2012
3 answers
59 views
I have a grid that gets populated with data after a search button is clicked. The grid has paging enabled, but everytime a new page is selected the grid disappears. Why could this be happening?
Pavlina
Telerik team
 answered on 29 Feb 2012
6 answers
143 views
Hello,

How can i make RadChart multi-thread safe ?
I get the following error "Non unique name for palette in collection." when i try to run it in multi-thread environment the following statemenet  "RadChart chart = new RadChart();"

Thanks,
Tebba
Top achievements
Rank 1
 answered on 29 Feb 2012
1 answer
44 views
i am new to this I would like to help me please I have a RadAsyncUpload and RadBinaryImage when loadinga picture from the photo RadAsyncUpload shown in the image RadBinaryImage but when I choose another image that shows nothing I RadBinaryImage I have this code
                   <telerik: RadAsyncUpload runat = "server" ID = "BtnExmaminarLogo"
                                               MaxFileInputsCount = "1" OnClientFileUploaded = "fileUploaded"
             OnFileUploaded = "BtnExmaminarLogo_FileUploaded" AllowedFileExtensions = "jpeg, jpg, gif, png, bmp"
                                               OnClientValidationFailed = "validationFailed" Width = "100%" Height = "100%">
             Select="Elegir <Localization Logo" Remove="Elegir Otra" Cancel="Cancelar" />
I want that when elgir "Choose Other" in the RadAsyncUpload not show the image the bone RadBinaryImagethis blank that do not know how please help 
Plamen
Telerik team
 answered on 29 Feb 2012
3 answers
385 views
Hello,

I'm working with RadControls Q2 2011 on a project (yes I know I have to update).  It's working fine on one computer but when I open this project on my laptop I've been getting all sorts of errors.  I finally have them all worked out except this one.  The target framework is 3.5.  I've tried adding the AutoID setting to the web.config <pages> section but I kept getting an error that the attribute wasn't allowed (maybe because it's for 4.0?).  Somehow I don't think that's my problem considering this project works fine under my workstation.  I thought it was strange that the version listed in the error for System.Web is 2.0 considering I have no references to 2.0 since I'm using 3.5.  In the properties pages references I see all of my .NET references are to 3.5.  For kicks I tried adding a reference to System.Web 2.0 but received an error that the web site is already referencing the assembly System.Web.  Any ideas?

Error Creating Control - RadGrid1
Could not resolve type System.Web.UI.ClientIDMode in assembly System.Web, Version=2.0.0.0

Thanks for the help!!
-Tim
Andrey
Telerik team
 answered on 29 Feb 2012
1 answer
46 views

I am having a problem with the Web20 skin on the tab strip. In design it looks perfect  but when the project it run, all these little white lines show up. it looks like its where the border of the tabstrip is when not skinned. (in fact, all skins have the same problem)

Please see attached image.
Kate
Telerik team
 answered on 29 Feb 2012
1 answer
62 views
I want to use same tab as provided by skin outlook, but light blue shade on each tab of tabstrip, also on select of a tab for skin outlook i don't want to see yellow on the top of the selected tab. Please let me know how this should be accomplished or Is there any alternate way please let me know whatever can be done.

Thanks,
Arpan
Kate
Telerik team
 answered on 29 Feb 2012
2 answers
73 views
Hi,

I am unable to get the radscheduler to work with ajax in sharepoint.

For example when i click on the navigation arrows in the header it does the normal ajax partial postback but then none of the buttons work, the navigation arrow doesnt do anything, double clicking on the appointment does nothing.
Kalina
Telerik team
 answered on 29 Feb 2012
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?