Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
192 views

Hi,

 I have a RadScheduler set up to use web service binding. Everything works okay, except when navigating to another page before the scheduler has finished retrieving the appointments (either clicking away or hitting F5 can do this), an alert will be thrown with the message 'The server method 'GetAppointments' failed' or 'The server method 'GetResources' failed. I don't want to prevent the user navigating away, so I need to be able to handle/suppress this error message. Is there any way to do this?

 You can reproduce the same thing on the demo page at http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx, hit F5 after the scheduler appears but before the appointments have been populated. I have so far only reproduced this in Firefox. The timing is quite tricky to get it on the demo, but if the scheduler were using a slower data provider it would be easier to replicate.

Bozhidar
Telerik team
 answered on 23 Jun 2015
4 answers
156 views
Hi
I have a navigator control that it's nodes (RadLinkButton ) have  load on demand tooltip to display some extra info
sometimes when I'm working and clicking on navigator nodes ( when the tooltip has not been loaded completely) I get this error :

RadToolTipManager response error :
Exception=Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.
The status code returnde from the server was:0

how can I prevent this message to be displayed
Thanks for your feedbacks
Marin Bratanov
Telerik team
 answered on 23 Jun 2015
1 answer
229 views

Hi,

I need to do validation of all steps in a radwizard when I click on a button outside wizard.

Any suggestions on how to do this?

 

Thanks,

Anil

Plamen
Telerik team
 answered on 23 Jun 2015
2 answers
175 views

I have this column in my RadGrid:

<telerik:GridTemplateColumn DataField="Data" HeaderText="Image" UniqueName="Upload">
   <ItemTemplate>
     <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Data") %>'
                                            AutoAdjustImageControlSize="false" Height="126px" Width="180px" ToolTip='<%#Eval("Name", "Photo of {0}") %>'
                                            AlternateText='<%#Eval("Name", "Photo of {0}") %>'></telerik:RadBinaryImage>
      </ItemTemplate>
  <EditItemTemplate>
 <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientFileUploaded="OnClientFileUploaded"
                                            AllowedFileExtensions="jpg,jpeg,png,gif" MaxFileSize="1048576" onvalidatingfile="RadAsyncUpload1_ValidatingFile">
  </telerik:RadAsyncUpload>
 </EditItemTemplate>
</telerik:GridTemplateColumn>

and I am battling to export the content of the grid to pdf since the result I get does not show the pictures.

These are my export settings:

 <ExportSettings ExportOnlyData="True" FileName="InventoryWilton" IgnorePaging="True">
                            <Pdf PageWidth="21cm" PageHeight="19cm" PaperSize="A4">
                            </Pdf>
                            <Csv EncloseDataWithQuotes="False" />
                        </ExportSettings>
 

How can I export the grid to pdf including the binary images?

Thanks for helping

 

 

 

Felice
Top achievements
Rank 1
 answered on 23 Jun 2015
1 answer
173 views

when I create a dynamically control within RadWizard, for example:

// Code Behind

Label mylabel = new Label ();             

myetiqueta.ID = "lbl" + step.UniqueID; // step is a variable type RadWizardStep             

etiqueta.Text = "Any Value"             

step.Controls.Add (label); // Add control

if I want to access control in the code behind, for example

RadWizard.WizardSteps [0] .Controls [0];
I do not have access to control, is there any solution?

Plamen
Telerik team
 answered on 23 Jun 2015
1 answer
297 views

I know I can do this with code, but is there no way to populate a Datasource InsertParameter from a control?  In this case I want to update the datasource of a second grid with a value in the selected row of the first grid.

<asp:SqlDataSource ID="dsCommodities" runat="server" ConnectionString="<%$ ConnectionStrings:Market_Directory.My.MySettings.dbConnStr %>" DeleteCommand="DELETE FROM [Commodity] WHERE [CommodityID] = @CommodityID" InsertCommand="INSERT INTO [Commodity] ([CommodityName], [SortOrder], [Published], [MaterialID]) VALUES (@CommodityName, @SortOrder, @Published, @MaterialID)" SelectCommand="SELECT [CommodityID], [CommodityName], [SortOrder], [Published], [MaterialID] FROM [Commodity] WHERE ([MaterialID] = @MaterialID) ORDER BY [SortOrder]" UpdateCommand="UPDATE [Commodity] SET [CommodityName] = @CommodityName, [SortOrder] = @SortOrder, [Published] = @Published, [MaterialID] = @MaterialID WHERE [CommodityID] = @CommodityID">
    <DeleteParameters>
        <asp:Parameter Name="CommodityID" Type="Int32" />
    </DeleteParameters>
    <InsertParameters>
        <asp:Parameter Name="CommodityName" Type="String" />
        <asp:Parameter Name="SortOrder" Type="Int32" />
        <asp:Parameter Name="Published" Type="Boolean" />
        <asp:ControlParameter ControlID="grdMaterials" DefaultValue="-1" Name="MaterialID" PropertyName="SelectedValue" Type="Int32" />
    </InsertParameters>
    <SelectParameters>
        <asp:ControlParameter ControlID="grdMaterials" DefaultValue="-1" Name="MaterialID" PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
    <UpdateParameters>
        <asp:Parameter Name="CommodityName" Type="String" />
        <asp:Parameter Name="SortOrder" Type="Int32" />
        <asp:Parameter Name="Published" Type="Boolean" />
        <asp:Parameter Name="MaterialID" Type="Int32" />
        <asp:Parameter Name="CommodityID" Type="Int32" />
    </UpdateParameters>
</asp:SqlDataSource>

 

Viktor Tachev
Telerik team
 answered on 23 Jun 2015
3 answers
71 views

I've implemented StripFormattingOptions and StripFormattingOnPaste (set to AllExceptNewLines) to strip formatting and OnClientPasteHTML to display an alert to the user that the formatting is being stripped from the pasted text. This works fine in IE and Firefox, but in Chrome and Safari the OnClientPasteHTML also fires when the user hits the Enter key while in the Rad Editor.

 

Has anybody else seen this behavior and what can I do to resolve it (other than removing the alert)?

Ianko
Telerik team
 answered on 23 Jun 2015
1 answer
129 views

From what I can tell OnBatchEditCellValueChanged triggers on blur of the field. Am I correct in this assumption? 

Konstantin Dikov
Telerik team
 answered on 23 Jun 2015
1 answer
155 views

I am using the following code in my template to show social share buttons for FB, Twitter and LinkedIn.  A peculiar thing I am noticing is that the FB button doesn't always show and I am not observing any pattern for when it appears or hides.

<telerik:RadSocialShare ID="SocialShare" runat="server">
    <MainButtons>
        <telerik:RadFacebookButton />       
        <telerik:RadTwitterButton />
      <telerik:RadLinkedInButton />
    </MainButtons>
</telerik:RadSocialShare>

Has anyone else noticed this behaviour and found a solution?

Danail Vasilev
Telerik team
 answered on 23 Jun 2015
3 answers
289 views

The open sub menu function only works when the >
image is selected, not anywhere in the item (as would be expected)

But when going back the user can select any area in
the menu item and it will go back correctly (as you would expected)

 

It has been like this for some years or am I doing something wrong? 

James Shelton Agar
Top achievements
Rank 2
 answered on 23 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?