Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
Hello,

Is is possible to have a Rotator that displays its items in a format and order similar to the following:


_______________________________________________
|                        |                       |                    |                       |
|       Item 1       |       Item 3       |      Item 5     |      Item 7       |
|                        |                       |                    |                       |
_______________________________________________
|                        |                       |                    |                       |
|      Item 2        |       Item 4       |       Item 6    |      Item 8       |
|                        |                       |                    |                       |
_______________________________________________


I've tried setting my item width and height to 1/2 of the rotator width and height and using only pixel units (no percentages) but to no avail. The closest I get to the intended output is actually by having at least 8 or more items bound and by using a percentage for item width (17%) and having fixed pixel widths for rotator height, width and item height (1/2 of rotator height).

Any ideas as to how I can reproduce this effect even if I have less that 8 items bound.

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 02 Jan 2012
1 answer
97 views
Hi,
Below is my design code...just want to find the seltected text of Radcombo which has been placed inside Radlistview....

<tr>
<td>
<asp:Panel runat="server" ID="uxJumpPanel">
<telerik:RadListView ID="feeldChoices" runat="server" OnItemDataBound = "feeldChoices_ItemDataBound">
<ItemTemplate>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<telerik:RadTextBox runat="server" Text='<%# Eval("Text") %>' onkeyup="SyncListToCheckbox(this)"
ID="uxItemText" Width="260">
</telerik:RadTextBox>
 <telerik:RadComboBox runat="server" ID="uxSelectPage1" ></telerik:RadComboBox>
</td>


<td>
<img id="imageAdd" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,add|' + this.id + ',' + selectedDockId); SetUnsaved();"
alt="Add field choice" border="0" src="Images/Add.png" />
</td>
<td>
<img id="imageDelete" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,remove|' + this.id + ',' + selectedDockId); SetUnsaved();"
alt="Delete field choice" border="0" src="Images/Delete.png" />
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadListView>
</asp:Panel>
</td>
</tr>



//Thanks
Princy
Top achievements
Rank 2
 answered on 02 Jan 2012
2 answers
143 views
I am using server side code to populate the combobox. and enabled "EnableLoadOnDemand"
The combobox doesnt seem working correctly. When the page first opens, click into the combobox nothing hapens and it is not populated. When I type in something or delete what i typed in then it populates. I tried to change the code to as simple as assigning a datatable to the combobox datasource still no luck..
why? what I do?
Princy
Top achievements
Rank 2
 answered on 02 Jan 2012
1 answer
530 views
Hi all,
i am working on implementing Select/Insert/Update/Delete functionality using RADGrid, i dont  want to use sqlDatasource i want to bind grid throught code behind data such data comes from view state table and when user perform any operations that efect on view state table not actual data which is stored in sqlserver.how can i do this  can any one send me a sample of code;
Shinu
Top achievements
Rank 2
 answered on 02 Jan 2012
1 answer
69 views
When using these addon's to your browser of choice, how can you peer into a control e.g. RADCOMBOBOX and see all of it's methods like get_text in the DOM??? I am having a hard time locating this method in the DOM while inspecting using Firebug or IE Dev toolbar.
Princy
Top achievements
Rank 2
 answered on 02 Jan 2012
1 answer
171 views
Hi !

I would like to create a RibbonBar dynamically, so I don't know the required width in advance.

Is it possible to set an automatic width for the RadRibbonBar and how ?

Fred
Princy
Top achievements
Rank 2
 answered on 02 Jan 2012
2 answers
126 views
i want to format the excel while export from the rad grid the for mat as follows :
Lines(Rows in Excel).

Lines 1 and 2: the lines must be there as blank lines

Line3: date with format dd.mm.yyyy in first cell (Column A)

Line 4 and 5:  the lines must be there as blank lines

Line 6: i have display the Data of Rad grid.

Can you please help me out .

Thanks And Regards,
Guru Kiran.P 

Shinu
Top achievements
Rank 2
 answered on 02 Jan 2012
4 answers
173 views
Hi,
I am trying to put 2 words one under the other. I have an image as well. I need the icon to be to the left and the 2 words to be exactly one under the other.

10x
Naisha
Top achievements
Rank 1
 answered on 01 Jan 2012
1 answer
192 views
I am a newbie to the Telerik controls. I have a Grid and I have successfully implemented a filter but what I want to do is to let the user decided which columns to show or hide.
My first reaction was, since I already have an "Apply filter" button in a RadToolBar, was to add a RadToolBarDropDown next to it. This means having to populate the Buttons in the DropDown dynamically. But there appears to be now way to FIND the RadToolBar control. Referencing its name doesn't appear to work. I;e., the ID is RadToolBar1 but when I type this in the .cs file it's not found by the intellisense.

So I thought I must be barking up the wrong tree so I tried alternative approaches but I can't find a solution. But I find it hard to believe I am the first person to try and let the user dynamically show and hide columns. So I suspect there is a far simpler method that I am missing.

Any help pointing me in the right direction would be much appreciated.
Martin
Top achievements
Rank 1
 answered on 31 Dec 2011
6 answers
719 views
I'm using the RadBinaryImage control in a RadRotator controls like so:

<telerik:RadRotator ID="rtPropertyImages" runat="server" ScrollDirection="Left" ItemWidth="203px" 
                            ItemHeight="136px" Height="136px" Width="203px" RotatorType="FromCode" ScrollDuration="2000"> 
                            <ItemTemplate> 
                                <a href="Property-Floor-Plan.aspx?id=<%#DataBinder.Eval(Container, "DataItem.Listing_ID")%>"> 
                                    <telerik:RadBinaryImage ID="imgProperty" runat="server" AutoAdjustImageControlSize="false" 
                                        DataValue='<%#Bind("ImageFile") %>' AlternateText='<%# Bind("Description") %>' 
                                        ToolTip='<%# Bind("Description") %>' Height="136px" Width="203px" ResizeMode="Crop" 
                                        BorderStyle="Solid" BorderColor="Black" BorderWidth="1px" /> 
                                </a> 
                            </ItemTemplate> 
                        </telerik:RadRotator> 

I keep getting this error after the page is posted back a couple of times using IE8.

Server Error in '/' Application. 
-------------------------------------------------------------------------------- 
 
Out of memory.  
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.  
 
Exception Details: System.OutOfMemoryException: Out of memory. 
 
Source Error:  
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.   
 
Stack Trace:  
 
 
[OutOfMemoryException: Out of memory.] 
   System.Drawing.Graphics.CheckErrorStatus(Int32 status) +1048473 
   System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) +98 
   Telerik.Web.UI.BinaryImageTransformationFilter.CropImage(Image img, Int32 scaledHeight, Int32 scaledWidth) +227 
   Telerik.Web.UI.BinaryImageTransformationFilter.ProcessImageInternal(Byte[] image) +228 
   Telerik.Web.UI.BinaryImageTransformationFilter.ProcessImage(Byte[] image) +17 
   Telerik.Web.UI.BinaryImageFilterProcessor.ProcessFilters(Byte[] imageData) +62 
   Telerik.Web.UI.RadBinaryImage.ProcessImageData() +50 
   Telerik.Web.UI.RadBinaryImage.OnPreRender(EventArgs e) +20 
   System.Web.UI.Control.PreRenderRecursiveInternal() +80 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 
 
  
 

I've noticed in your internal builds that you fixed an error caused by RadBinaryImage when ResizeMode="Fit". I was wondering if this is the same error, but is being caused by ResizeMode="Crop".

If you could tell me if this is a RadBinaryImage error or is it being caused by something else like my server.

Thanks.

Marco
Top achievements
Rank 2
 answered on 31 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?