Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
187 views

if (newgene == "0")
       {
           MainPlaceHolder.Controls.Add(holder);
       }
       else
       {
           MainPlaceHolder.Controls.Add(new LiteralControl("<br>"));
       }
See The Image ,
i want to space between the dropdown .
Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 20 Sep 2012
2 answers
193 views
Hello,
I'm trying to develop a web part for SharePoint 2010 that use the Telerik controls.
I would like to deplay all the Telerik assembly in GAC, but I have a problem. When I run my application I receive this error (in the SharePoint 2010 logs):

System.InvalidOperationException: Telerik.Web.UI.RadFormDecorator with ID='RadFormDecorator1' was unable to find an embedded skin with the name 'Simple'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false. 

I don't use custom skins, but only default skins. If I put the assembly Telerik.Web.UI.Skins.dll in the SharePoint 80\bin directory, the web part works fine. Anyway I don't want to put the skin assembly on the bin folder because I can't support multiple version of the Telerik components and I don't know if the the destination SharePoint have already a Telerik version installed.

How can I fix this problem? Can I load the skin assembly from GAC?

Thanks
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 20 Sep 2012
3 answers
90 views

 

I have one problem will explain it

I have two rad grid
The first grid hierarchy contain classes and class_id is primary key ,when expand one class
will show all the student in this class
The second gride has students the primary key student_id
I want drag and drop student from second grid to students in one class in first grid
Note: the students in first grid expanded from classes
also I want when I dragdrop the student
I want to get in which class_id

  The code below to retrieve student_id from second radgrid

 

Protected Sub RadGrid_Students_RowDrop(sender As Object, e As Telerik.Web.UI.GridDragDropEventArgs) Handles RadGrid_Students.RowDrop
        If e.DraggedItems.Count > 0 Then
            Dim a As String = e.DraggedItems(0).GetDataKeyValue("Client_id")
 
        End If
    End Sub


How retrieve in which class_id from destination radgrid

Tsvetina
Telerik team
 answered on 20 Sep 2012
1 answer
626 views
Hi,
I have to disable some columns in telrik rad grid or set the column as read only.

Thanks & Regards
Anzar.M
Princy
Top achievements
Rank 2
 answered on 20 Sep 2012
2 answers
104 views
Hi,
I have  to block some characters(%,!) when entering filter characters on the filter text box.

Thanks & Regards
Anzar.M
Anzar
Top achievements
Rank 2
 answered on 20 Sep 2012
4 answers
219 views

I am using RadGrid, and I have set all the relevant properties in order to enable scrolling, still it is rendering properly in IE 7 and grid comes in compressed form, where in I can barely see the half header. Interesting thing is, initially grid is visible to its full, but after sometime its height is reduced.

Below is the code.

<

telerik:RadGrid ID="gd" runat="server" AllowPaging="false" AllowSorting="True" GridLines="None"

Skin="Office2007" AutoGenerateColumns="False" OnItemDataBound="gd_ItemDataBound"

Height="99%" Width="99%" AllowMultiRowSelection="true" ShowGroupPanel="true"

EnableViewState="true" AlternatingItemStyle-BackColor="#eeeeee" HorizontalAlign="NotSet">

<

MasterTableView GroupLoadMode="Client" GroupsDefaultExpanded="true" TableLayout="Auto">

<

GroupByExpressions>

<telerik:GridGroupByExpression>

<SelectFields>

<telerik:GridGroupByField FieldName="Desc" HeaderText=" " HeaderValueSeparator=" " />

</SelectFields>

<GroupByFields>

<telerik:GridGroupByField FieldName="Id" SortOrder="Descending" />

</GroupByFields>

</telerik:GridGroupByExpression>

</GroupByExpressions>

<

RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<Columns>

<telerik:GridTemplateColumn HeaderText="Column#" ItemStyle-Width="15%" HeaderStyle-Width="15%"

ItemStyle-VerticalAlign="Top" ShowSortIcon="true" SortAscImageUrl="../MyAircraft/Images/SortAsc.gif"

SortDescImageUrl="../MyAircraft/Images/SortDesc.gif" SortExpression="ColNbr">

<ItemTemplate>

<asp:Label ID="lblColNbr" runat="server"></asp:Label>

</

ItemTemplate>

<ItemStyle VerticalAlign="Top" Width="10%"/>

</telerik:GridTemplateColumn>

</

Columns>

<

EditFormSettings>

<PopUpSettings ScrollBars="None" />

</EditFormSettings>

</MasterTableView>

<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

Font-Underline="False" VerticalAlign="Top" Wrap="True" Height="100%" Width="100%" />

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowKeyboardNavigation="true">

<Selecting AllowRowSelect="True" EnableDragToSelectRows="true" />

<Scrolling AllowScroll="true" UseStaticHeaders="true" />

<Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True"

ClipCellContentOnResize="true"></Resizing>

</ClientSettings>

</telerik:RadGrid>



I am populating the grid at runtime, and values of the lblColnbr is set in gd_ItemDataBound.

There are few more columns with label and text box, as it will increase the size of the text, i am not including those.

Please let me know if I have missed anything here.

Thanks,
Het



Vargis
Top achievements
Rank 1
 answered on 20 Sep 2012
1 answer
78 views

After I use server code to open radwindow,

RadWindow selectAccountWindow = (RadWindow)this.Master.FindControl("wndForceSelectAccount");
          selectAccountWindow.VisibleOnPageLoad = true;

I am not able to trigger OnClientClose client side javascript. Is there anyway I can trigger OnClientClose happen?

Thanks
Princy
Top achievements
Rank 2
 answered on 20 Sep 2012
16 answers
608 views
We want to set the Grid Height automatically according to browser height. When full screen is activated it should acquired the free vertical space maximum and then show data inside scroll if there is more data rows.

There may be other controls along with this grid.

I had visit and go through the link below
http://www.telerik.com/community/code-library/aspnet-ajax/grid/setting-100-height-and-resize-on-container-resize-for-grid-with-scrolling-and-static-headers.aspx

Attached files
and downloaded the zip file but i cant run. Please help me to view that project.

Also I am attaching the sample what we exactly want. Please have a look on the below attached image.
Vargis
Top achievements
Rank 1
 answered on 20 Sep 2012
1 answer
184 views
I have a radtextbox that Im using as a log/console display. Using javascript, how do I add additional text to the text box?
Princy
Top achievements
Rank 2
 answered on 20 Sep 2012
1 answer
90 views
Hello,

I am using a little bit old version of telerik (v 2010.2.929.35).

When I want to change my grid to let user to select single cell, I find that there is no setting "CellSelectionMode". In ClientSetting.Selecting, there are only 3 settings "AllowRowSelect", "EnableDragToSelectRows" and  "UseClientSelectColumnOnly".

Should I use a latest version or there are other method to let user to select a single cell and get the value of the selected cell?

Kev
 
Shinu
Top achievements
Rank 2
 answered on 20 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?