Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
723 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
173 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
329 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
310 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
804 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
149 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
211 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
1 answer
98 views
I was trying to access data from AutoCompleteBox from the Private Sub RadAutoCompleteBox1_TextChanged(sender As Object, e As AutoCompleteTextEventArgs) Handles RadAutoCompleteBox1.TextChanged event.
I can get the text but I can't seem to get the DataValueField or any of the Data stored in the template fields (i.e., <%# DataBinder.Eval(Container.DataItem, "EMPTIN")%>)


RadAutoCompleteBox1.DataTextField = "ComboName"
RadAutoCompleteBox1.DataValueField = "EmployerIdnt"

<telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" runat="server" Width="400px" DropDownWidth="400px" EmptyMessage="Enter TIN or Name" TextSettings-SelectionMode="Single" inputtype="Text" >

<DropDownItemTemplate>

<table cellpadding="0" cellspacing="0">
<tr>
<td style="width: 25%">
Name:
</td>
<td style="width: 75%">
<%# DataBinder.Eval(Container.DataItem, "EMPNAME")%>
</td>
</tr>
<tr>
<td>
TIN:
</td>
<td>
<%# DataBinder.Eval(Container.DataItem, "EMPTIN")%>
</td>
</tr>
<tr>
<td>
City:
</td>
<td>
<%# DataBinder.Eval(Container.DataItem, "EMPCITY")%>
</td>
</tr>
<tr><td colspan="2"><hr /></td></tr>
</table>
</DropDownItemTemplate>

</telerik:RadAutoCompleteBox>

Thanks for any help
Henry
Boyan Dimitrov
Telerik team
 answered on 28 Jan 2015
4 answers
125 views
Hello everyone,
I'm configuring the RadEditor and I can't do these two things:
1) Node Inspector: customize the list of CSS classes visible in the dropdown "CLASSNAME" or hide the dropdown "CLASSNAME"
2) Toolbar: create a custom button to change the background color of the text

Thanks
Ianko
Telerik team
 answered on 28 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?