Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 views
I have an Ad Rotator and the File contents are coming from a table column, the problem is sometime the File columns contents are image, sometimes text file or the column is empty. My question is how do I display a static image when there are no attachment images or the attachment is there but it's not an image, its a .txt file or .doc file.

<telerik:RadRotator ID="rrotAttachmentImages" runat="server"                                                      
  RotatorType="CoverFlowButtons"
Height="250px" Width="700px"
    ItemHeight="225px" ItemWidth="700px"                                                   
 ScrollDuration="100" >
 <ItemTemplate>
      &nbsp;&nbsp;&nbsp;&nbsp;                                                  
 <asp:CheckBox ID="chkImageDefault" runat="server" 
  Text="Default Image" Visible='<%# Eval("Default").ToString() == "1" %>'></asp:CheckBox>                                                  
 <asp:Label ID="lblImages_Comments" runat="server" Text="Comments:"></asp:Label>
<telerik:RadTextBox ID="rtxtImageComments" runat="server" Width="300px" Text='<%# Eval("Comments") %>' Enabled="false" ></telerik:RadTextBox>
<asp:Image runat="server" ID="Image" ImageUrl='<%# Eval("File") %>' AlternateText="Image"></asp:Image>   </ItemTemplate>  </telerik:RadRotator>
c# code:
 //get file attachments                     
  IQueryable<TableName> IqryAttachments = DAL.GetFileAttachments(recordid, "somepagename");
                    rrotAttachmentImages.DataSource = IqryAttachments;
                    rrotAttachmentImages.DataBind(); 
Farooq
Top achievements
Rank 1
 answered on 16 Nov 2012
3 answers
149 views

I have a bar chart that displays correctly in IE9, but not IE8 and IE7. In IE8 and IE7 there is also a JavaScript error message: "Error: Unable to get value of the property 'clone': object is null or undefined". The JavaScript error however does not appear if a chart title is specified.
The chart displays correctly in IE8 and IE7 if either: 1. the chart border is removed, or 2. a chart height is speciifed. The error can be reproduced with the following chart. Again, the chart displays correctly in IE9, but not IE8 and IE7.

<
telerik:RadHtmlChart runat="server" ID="chart" BorderColor="Black" BorderStyle="Solid" BorderWidth="1">

  <PlotArea>

    <Series>

      <telerik:BarSeries Name="2009">

        <Items>

          <telerik:SeriesItem YValue="116" />

          <telerik:SeriesItem YValue="332" />

          <telerik:SeriesItem YValue="213" />

        </Items>

      </telerik:BarSeries>

    </Series>

  </PlotArea>

</telerik:RadHtmlChart>

 
Is the HtmlChart compatible with IE7 and IE8? If so, is there a limitation that I'm not aware of, or is this a bug?
Thanks...

Daniel
Top achievements
Rank 1
Iron
 answered on 16 Nov 2012
1 answer
118 views
Hi all, 

Just wondering if anyone has any thoughts on this:

We have an order system where order records are presented in a radgrid for paging, sorting etc.
Some orders may be flagged as urgent (or overdue etc) and I'd like these to always show on the top of the first page irrespective of how the grid is sorted (i.e. by order number or status etc).
Paging away from the first page is not an issue.

Can anyone offer suggestions on the best way to do this?

Cheers
Rich
Elliott
Top achievements
Rank 2
 answered on 16 Nov 2012
1 answer
128 views
Hi,

Error Sitefinity:
"

Could not load file or assembly 'Telerik.Web.UI, Version=2012.2.607.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

"

How it to correct?

Thanks,
Vlad
Владислав
Top achievements
Rank 1
 answered on 16 Nov 2012
17 answers
818 views
Hi, 

   we have a requirement of using Configuration Panel in our  project. Can you please give me the source code for configuration panel which we can use in our Csharp Project.


Thanking you
mathieu cupryk
Top achievements
Rank 1
 answered on 16 Nov 2012
5 answers
283 views
I recently upgraded to the latest version (RadControls for ASP.NET AJAX Q2 2012 SP1) and once I did that I started getting the error below when trying to launch the image manager outside of an editor (this was working fine before).

Anyone have any ideas on how to debug this?

ASPX:
<telerik:dialogopener runat="server" id="DialogOpener1"  AdditionalQueryString="" HandlerUrl="~/Telerik.Web.UI.DialogHandler.aspx" style="display: none;" />

Javascript that launched the editor:
var dialogOpener = $find('<%= DialogOpener1.ClientID %>');
dialogOpener.open('ImageManager', { CssClasses: [] });

There is some manipulation done to the manager control in the code behind in terms of setting parameters, etc.

Thanks,
Kevin

1) Exception Information

*********************************************

Exception Type: System.NullReferenceException

Message: Object reference not set to an instance of an object.

Data: System.Collections.ListDictionaryInternal

TargetSite: Void OnLoad(System.EventArgs)

HelpLink: NULL

Source: Telerik.Web.UI

StackTrace Information

*********************************************

   at Telerik.Web.UI.Editor.DialogControls.ImageManagerDialog.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Raphael
Top achievements
Rank 1
 answered on 16 Nov 2012
3 answers
61 views
 Hi, i am having an issue on Radwindow when using IE 8 browser.  I have an RadDatepicker within the window, Everytime the page loaded within the radwindow, the calendar will become blank but i could still pick the date from calendar. I also tried the on different browser (firefox, chrome..) the rest work pretty well. So is this an issue on IE 8 ? and anything i could  do to avoid this ? thank you
Marin Bratanov
Telerik team
 answered on 16 Nov 2012
10 answers
284 views
  Context menu getting cropped with Iframe. Is there any way to set the context menu position with iframe?

Please see the attached file for more info
Kate
Telerik team
 answered on 16 Nov 2012
1 answer
114 views
Hi,
I am using the AutoCompleteBox oggetot, I set the options but when I open the aspx page and on the AutoCompleteBox I press the backspace button, I get this error: "Run-time error of Microsoft JScript: Can not get value of property 'TrimStart ': Object invalid or not defined "

My code to asp is:

<telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" Runat="server"

DataSourceID="SqlDataSource1" DataTextField="Descrizione"

 

DataValueField="Id" InputType="Text" Width="330px" Delimiter=""

 

DropDownHeight="150px" DropDownWidth="330px">

 

</telerik:RadAutoCompleteBox>

Thanks


Nencho
Telerik team
 answered on 16 Nov 2012
3 answers
170 views
Hi,

I have some issues with Radgrid Pager, when I give it some specific height, pages is acting like a crazy, override my button view when it opens.
So is it possible when I click over radgrid pager dropdown, to open "UP" , not down? So it won't override my button below it.

Eyup
Telerik team
 answered on 16 Nov 2012
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?