Telerik Forums
UI for ASP.NET AJAX Forum
16 answers
652 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
211 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
105 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
65 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
268 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
230 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
1 answer
96 views
Ive run into an issue here, when i try to use the radopen JS function to open an external web page, it takes over the browser.  Please help.

Markup
<telerik:RadWindow ID="radWindowPeopleSoftEdit" runat="server" ShowContentDuringLoad="false"
MinWidth="800" Height="600" VisibleStatusbar="false" AutoSize="false" ReloadOnShow="true"
IconUrl="/global/images/edit.gif" VisibleOnPageLoad="false" Behaviors="Move, Close"
Overlay="true" Modal="true">
</telerik:RadWindow>

string script = "radopen('[External Site]','radWindowPeopleSoftEdit');";
imgPopUpEdit.Attributes.Add("onclick", script);

I have used this method to open windows in the past and it has worked.  All instances of the rad window that are internal pages work fine, it is just for external sites.

Thank you in advance
Chris Salas
Top achievements
Rank 1
 answered on 19 Sep 2012
2 answers
115 views
I had to use radComboxtBox and aspDD on the same page once. I observed that, for the same value of width they had different sizes. I it was pain to find each telerik combobox and make it 305 or sometimes even 308 or 310, to look same as asp:DD having 300 width.

[ all these widths are in px ]

Aarsh
Top achievements
Rank 1
 answered on 19 Sep 2012
4 answers
293 views
I've got a Radgrid with a single child table that is built programmatically on PageInit. I used your demo here as my guide. The master table cannot be edited, but you can insert new values into the child table. One of the columns in my master table is a checkbox column. I would like to pre-populate a child table checkbox when in edit mode depending on whether the master table column is checked or not. I'm looking at doing it in the EditMode_ItemDataBound event but I can't seem to get anything to stick.  Any suggestions?
Josh
Top achievements
Rank 1
 answered on 19 Sep 2012
1 answer
98 views
I have a form like this, and i show it with a radwindows.
  
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">  </telerik:RadAjaxLoadingPanel>
     
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
            
                        <asp:Label CssClass="label" ID="lblSedes" Text="Sede:" runat="server" />
                       <telerik:RadComboBox ID="ddlSedes" AutoPostBack="true" AllowCustomText="true" Filter="Contains" runat="server">
                         </telerik:RadComboBox>
                        <asp:Label CssClass="label" Text="Personal:" ID="lblPersonal" runat="server" />
                        <telerik:RadComboBox ID="ddlPersonal" AllowCustomText="true" Filter="Contains" runat="server">
                        </telerik:RadComboBox>
                        <asp:Label CssClass="label" ID="lblFecha" runat="server" Text=" Fecha:" />
                      <telerik:RadDatePicker runat="server" ID="txtFecha">
                        </telerik:RadDatePicker>
                        
     <asp:Button ID="btnGuardar" CssClass="btnGuardar" runat="server" Text="Guardar" />
<script type="text/javascript">
    function GetRadWindow()     
        {     
            var oWindow = null;     
            if (window.radWindow)
                oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog     
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;//IE (and Moz as well)     
            return oWindow;               
        }     
       function cerrar()     
        {     
              GetRadWindow().Close();
                if (!arg)
                    {
                       parent.refreshGrid();
                    }
                    else
                    {
                       parent.refreshGrid("RebindAndNavigate");
                    }  
        }           
    </script>
   </telerik:RadAjaxPanel>

                  
                 
               And when i try to close it from code behind , the code don't works  
 
ClientScript.RegisterStartupScript(Me.GetType(), "Nombre",  " <script>cerrar();</script>" False)


if I try without the RadAjaxLoadingPanel works well.

help please. i need close this windows
Marcelo
Top achievements
Rank 1
 answered on 19 Sep 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?