Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
642 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
108 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
232 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
82 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
616 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
190 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
92 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
1 answer
49 views
Good day,

I have the following drawbacks: I have a RadTreeView check where I put them, but the only ones that should be checked are the last level records. the RadTreeView is populated dynamically, it is not known how many levels you may have.

I wonder how I can determine when performing bone click a node in the event "OnNodeClick" if you are in the last level?
and searches for node propiedas this event but I can only determine who the father but not if you have children.

Thanks for your help
Princy
Top achievements
Rank 2
 answered on 20 Sep 2012
3 answers
249 views
HI,

I am using Rad Tree view where i want to highlight the selected node.
Here is my code.On each rad tree node i have a navigation URL.

 <telerik:RadTreeView ID="TreeMail" runat="server" Skin="Vista" OnNodeClick="TreeMail_NodeClick"  CausesValidation="false" >
                                                <Nodes>
                                                    <telerik:RadTreeNode  Value="_New" AllowEdit="false"  NavigateUrl="../WebsiteManagement/AddRegistration.aspx" ImageUrl="../Images/new.gif"
                                                        Text="New Mail" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode  Value="_Private_Drafts" AllowEdit="false"  NavigateUrl="../MailFolders/Drafts.aspx" ImageUrl="../Images/Drafts.gif"
                                                        Text="Drafts" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode Value="_Private_DeletedItems"  NavigateUrl="../MailFolders/DeletedItems.aspx" ImageUrl="../Images/Deleted Items.gif"
                                                        AllowEdit="false" Text="Deleted Items" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode Value="_Private_Inbox" AllowEdit="false" Text="Inbox"  NavigateUrl="../MailFolders/Inbox.aspx" ImageUrl="../Images/Inbox.gif"
                                                        Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode Value="_Private_SentItems" AllowEdit="false" Text="Sent Items" NavigateUrl="../MailFolders/SentItems.aspx"
                                                        ImageUrl="../Images/Sent Items.gif" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                </Nodes>
                                            </telerik:RadTreeView>
How can i do this? Plz help as early as possible.
Thanks.
Aarsh
Top achievements
Rank 1
 answered on 19 Sep 2012
1 answer
184 views
I am trying to use the radtabstrip/multipage and nothing happens when I click on a tab.  I copied your code from http://www.telerik.com/help/aspnet-ajax/tabstrip-multipage-integrate-with-tabstrip.html with no luck.  Here's the full source of my aspx page.  Any idea what might be happening?  I'm sure it's something that'll make me slap my forehead, but for the life of me I can't find it.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestTabs.aspx.cs" Inherits="TestTabs" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <h2>
            User Settings</h2>
        <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1"
            Skin="Outlook" CssClass="NoBg">
            <Tabs>
                <telerik:RadTab runat="server" Text="Root RadTab1" PageViewID="PageView1">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Root RadTab2" PageViewID="PageView2">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Root RadTab3" PageViewID="PageView3">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Width="400">
            <telerik:RadPageView ID="PageView1" runat="server">
                Name: John Smith<br />
                Birthday: October 20th 1976<br />
                Marital Status: Single
                <br />
            </telerik:RadPageView>
            <telerik:RadPageView ID="PageView2" runat="server">
                ... Content of the Pageview2 ...
            </telerik:RadPageView>
            <telerik:RadPageView ID="PageView3" runat="server" ContentUrl="http://www.telerik.com">
                This text is never shown
            </telerik:RadPageView>
        </telerik:RadMultiPage>
     </div>
    </form>
</body>
</html>

Laurie
Top achievements
Rank 2
 answered on 19 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?