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.
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
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:
How can I export the grid to pdf including the binary images?
Thanks for helping
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?
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
>
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)?
From what I can tell OnBatchEditCellValueChanged triggers on blur of the field. Am I correct in this assumption?
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?
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?