Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
263 views
Hi ,

I am using Inline template to insert data. There are two command button which is Insert and Update.  To insert appointment, I am trying to call  Insert Appointment method inside RadScheduler1_AppointmentCommand. My code is as below.

Appointment apptForInsert = e.Container.Appointment;
RadScheduler1.InsertAppointment(apptForInsert);
RadScheduler1.Rebind();

By right, it should go to RadScheduler1_AppointmentInsert() method. But it didn't and the inline template form also not closed after all the events fired. Please help me with this issue. 

And there is also another problem I would like to ask. Is there any way to call RadScheduler1_AppointmentCommand from the javascript? I know I can call insertAppointment using javascript. But I am looking for a way to call AppointmentCommand.



Thank you.

Best regards,
Ei Wai

Ei Wai
Top achievements
Rank 1
 answered on 29 Jan 2015
4 answers
971 views
I'm trying to make my RadTextBox labels appear over the input box instead of to the left. Is there any native way to do this? I tried giving the CSS label a display:block, but this didn't work. After looking at the code, I see the label is put in a table cell next to the input box. Is there any property I'm missing that handles this, or is the only way is not to use a label and put them in a table row manually?
Ashley
Top achievements
Rank 1
 answered on 29 Jan 2015
2 answers
710 views
Hi,

I am transitioning an application from Infragistics to Radgrid.  I have a pretty simple grid.  I need to make one of the columns into a hyperlink.  I can't quite figure it out.  For the UltraWebGrid I used this (using VB.net):

UltraWebGrid3.Columns(0).Type = ColumnType.HyperLink

What would the correct syntax be for RadGrid?  I thought it would be something like this:

RadGrid3.MasterTableView.GetColumn("Request ID").ColumnType = gridhyperlink

But that doesn't work.

Thanks in advance for your help.

Julie
Julie
Top achievements
Rank 1
 answered on 28 Jan 2015
1 answer
166 views
I'm looking for a way to change the width of each RadWizardStep button. In the attached screenshot, each button expands evenly based on the parents width. I want to be able to shrink some buttons and widen others. As of yet, I can't find any way to do this.

Thanks,
Jeremy
Boyan Dimitrov
Telerik team
 answered on 28 Jan 2015
1 answer
311 views
Greetings,

In my enterprise we have a WPF application, that runs a RadRichTextbox Editor. At the moment, we are migrating our system to web, refactoring all source to a MVC application.
To achieve the same aspects and features that our RadRichTextbox had, we implemented the Telerik RadEditor in ASP.NET.

The problem is that the old documments made on RadRichTextbox and saved as binary, aren't compatible with  the RadEditor in ASP.NET. 

I tried to convert the binary documments with WPF DLLs docxProvider generating a radflowdocument, and exporting to the editor that same radflowdocument with the HTML provider.  The result is an inevitable error that HTML provider doesn't support the binary that converted by the docxProvider from WPF.

I believe that the formats are completly differents and incompatibles, but we need some backward compatibility solution to display this old documents on our ASP.NET Telerik RadEditor.
 
Here is what we tried to do:


...

var binary = reportResp.Report.File; 
Telerik.Windows.Documents.FormatProviders.OpenXml.Docx docxProvider = new using Telerik.Windows.Documents.FormatProviders.OpenXml.Docx;

RadFlowDocument flowDocument = docxProvider.Import(binary); 
HtmlFormatProvider htmlProvider = new HtmlFormatProvider(); <--- From Telerik.Windows.Documents.Flow.dll
string result = htmlProvider.Export(flowDocument);  <----- error here -  flowDocument format not supported by htmlProvider

...
Petya
Telerik team
 answered on 28 Jan 2015
3 answers
285 views
How I can bind rad scheduler with dataset with out defined DataKeyField, DataSubjectField, DataStartField and DataEndField
actually very first these fields are not required in my case but for schedulefor its required databinding .
please help me how I can solve this problem
Boyan Dimitrov
Telerik team
 answered on 28 Jan 2015
44 answers
783 views
I have a RadCombox on my web page and it does not open in IE10.
Works fine in IE7,IE8 and IE9, Chrome.
I am using the latest version of ASP.NET AJAX controls, version 2012.3.1205.35.
The combo box is not ajaxed, although I do have other controls on the page that are ajaxed using RadAjaxManager.
Is there a setting I need to change or is this a known issue?

<telerik:RadComboBox runat="server" OnClientKeyPressing="ClickStartSearch" ID="rcbStatus" AccessKey="E" Width="200px" OnClientSelectedIndexChanged="RestartSearch" AutoPostBack="false" EnableAjaxSkinRendering="false" EnableEmbeddedScripts="false" MarkFirstMatch="false" >
   <Items>
    <telerik:RadComboBoxItem Text="Select Status" Value="" />
    <telerik:RadComboBoxItem Text="Status1" Value="1" />
    <telerik:RadComboBoxItem Text="Status2" Value="2"/>
    <telerik:RadComboBoxItem Text="Status3" Value="3" />
    <telerik:RadComboBoxItem Text="Status4" Value="4"/>
    <telerik:RadComboBoxItem Text="Status5" Value="5" />
    <telerik:RadComboBoxItem Text="Status6" Value="6" />
   </Items>
  </telerik:RadComboBox>
Miguel
Top achievements
Rank 1
 answered on 28 Jan 2015
1 answer
145 views
Hello ,
im Trying to use RadLightBox to show some pictures for different items so on click i need to change hidden field value and rebind the list .
so how can i rebind the light box from client side.

JS Code
function OpenImages(ItemID) {
$('#<%= hdnItemID.ClientID%>').val(ItemID);
//alert(ItemID);

var rlbItemImages = $find('<%= rlbItemImages.ClientID%>');
rlbItemImages.get_items();
//rlbItemImages.DataBind();
rlbItemImages.show();
}


RadLightBox Code
<telerik:RadLightBox ID="rlbItemImages" runat="server" DataSourceID="odsItemImages" ShowLoadingPanel="true"
EnableAjaxSkinRendering="true" RegisterWithScriptManager="true"
DataImageUrlField="ItemPath" DataDescriptionField="ItemPath" DataTitleField="ItemPath">
</telerik:RadLightBox>


Object DataSource Code

<asp:ObjectDataSource ID="odsItemImages" runat="server" SelectMethod="QueryDatabase" TypeName="AdoClass.DBitemsImagesSP" OldValuesParameterFormatString="original_{0}">
<SelectParameters>
<asp:Parameter DefaultValue="1" Name="QueryType" Type="Object" />
<asp:Parameter Name="ID" Type="String" />
<asp:ControlParameter ControlID="hdnItemID" Name="ItemID" PropertyName="Value" Type="String" />
<asp:Parameter DefaultValue="" Name="ItemImage" Type="Object" />
<asp:Parameter Name="ItemPath" Type="String" />
<asp:Parameter DefaultValue="rtvImagesPaths" Name="Operation" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hdnItemID" />

Regards ,

Maria Ilieva
Telerik team
 answered on 28 Jan 2015
1 answer
197 views
I have a RadNumericTextBox defined as follows:

<telerik:RadNumericTextBox ID="txtMaxCost" Runat="server" MaxLength="14" Width="250px"  Type="Currency" SkinID="OverrideRadDefaultSkinWithNonExistantSkin" AutoPostBack="true" Enabled="true" AllowOutOfRangeAutoCorrect="false">
<NumberFormat DecimalDigits="2" KeepNotRoundedValue="False"/>
</telerik:RadNumericTextBox>

When users enter a number that's out of range (e.g., 77777777777777), the text turns red and a yield sign appears in the control when focus is lost.  When the user saves the object, the control's value is set to null and therefore, our validation isn't executed on the code-behind.

I checked out the properties of the control and see there's an .Invalid property, but when I check it's state in the code, it's set to false.

How can I check to see that the control is in an invalid state programmatically?  
Viktor Tachev
Telerik team
 answered on 28 Jan 2015
5 answers
1.3K+ views
How to set the selected date of raddatepicker to asp parameter of an sql data source?
Kostadin
Telerik team
 answered on 28 Jan 2015
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?