Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
229 views
i am using a radgrid with 3 level hierarchy. it was working perfectly until a few days ago, but it simply doesn't work now. the hierarchy index should come either as a single digit n or n_m format, but in client and server load modes, i always get 0, regardless of level. serverOnDemand mode returns either 0 or 0_0. thus i can't bind the proper data in the nested grids. can anyone help?

here is aspx and codebehind:

<telerik:RadAjaxPanel> 
<div id="pnlResult" runat="server" visible="true"
                <div class="pageHeader"
                    <asp:Label ID="lblResultLegend" runat="server" Text="Sulama Suyu Raporu"></asp:Label> 
                </div> 
                <telerik:RadGrid ID="gridResult" runat="server" Width="95%" ShowStatusBar="true" 
                    AutoGenerateColumns="False" AllowSorting="True" AllowMultiRowSelection="False" 
                    AllowPaging="true" PageSize="10" Visible="false" OnDetailTableDataBind="gridResult_DetailTableDataBind"
                    <PagerStyle Mode="NumericPages"></PagerStyle> 
                    <MasterTableView ShowHeadersWhenNoRecords="true" Font-Names="Tahoma" DataKeyNames="NO"
                        <DetailTables> 
                            <telerik:GridTableView Name="Summary"
                                <Columns> 
                                    <telerik:GridBoundColumn SortExpression="Ay" HeaderText="Ay" HeaderButtonType="TextButton" 
                                        DataField="Ay"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="B" HeaderText="B" HeaderButtonType="TextButton" 
                                        DataField="B"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="EC" HeaderText="EC" HeaderButtonType="TextButton" 
                                        DataField="EC"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="RSC" HeaderText="RSC" HeaderButtonType="TextButton" 
                                        DataField="RSC"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="RSCGORE" HeaderText="RSC'ye GÖRE" HeaderButtonType="TextButton" 
                                        DataField="RSCGORE"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="SAR" HeaderText="SAR" HeaderButtonType="TextButton" 
                                        DataField="SAR"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="SulamaSuyuSinifi" HeaderText="SSS" HeaderTooltip="Sulama Suyu Sınıfı" 
                                        HeaderButtonType="TextButton" DataField="SulamaSuyuSinifi"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="SulamaSuyuKalite" HeaderText="Kalite Durumu" 
                                        HeaderTooltip="Kalite Durumu" HeaderButtonType="TextButton" DataField="SulamaSuyuKalite"
                                    </telerik:GridBoundColumn> 
                                </Columns> 
                                <DetailTables> 
                                    <telerik:GridTableView Name="Detail"
                                        <Columns> 
                                            <telerik:GridBoundColumn SortExpression="Parametre" HeaderText="Parametre" HeaderButtonType="TextButton" 
                                                DataField="Parametre"
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn SortExpression="Deger" HeaderText="Deger" HeaderButtonType="TextButton" 
                                                DataField="Deger" UniqueName="Deger"
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn SortExpression="Sinif" HeaderText="Sınıf" HeaderButtonType="TextButton" 
                                                DataField="Sinif" UniqueName="Sinif"
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn SortExpression="Birim" HeaderText="Birim" HeaderButtonType="TextButton" 
                                                DataField="Birim" UniqueName="Birim"
                                            </telerik:GridBoundColumn> 
                                        </Columns> 
                                    </telerik:GridTableView> 
                                </DetailTables> 
                            </telerik:GridTableView> 
                        </DetailTables> 
                        <Columns> 
                            <telerik:GridBoundColumn SortExpression="AD" HeaderText="Istasyon Adi" HeaderButtonType="TextButton" 
                                DataField="AD"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn SortExpression="NO" HeaderText="Istasyon No" HeaderButtonType="TextButton" 
                                DataField="NO"
                            </telerik:GridBoundColumn> 
                        </Columns> 
                        <CommandItemTemplate> 
                            <div style="width: 100%; float: left;"
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultBolgeTanim" runat="server" Text="Bölge: " Width="100px"></asp:Label></strong
                                    <asp:Label ID="lblResultBolge" runat="server" Text="" Width="150px"></asp:Label> 
                                </div> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultHavzaTanim" runat="server" Text="Havza: " Width="100px"></asp:Label></strong
                                    <asp:Label ID="lblResultHavza" runat="server" Text="" Width="150px"></asp:Label> 
                                </div> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultAyTanim" runat="server" Text="Ay: " Width="100px"></asp:Label></strong
                                    <asp:Label ID="lblResultAy" runat="server" Text="" Width="150px"></asp:Label> 
                                    <asp:HiddenField ID="hd_ResultAy" runat="server" /> 
                                </div> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultYilTanim" runat="server" Text="Yıl: " Width="100px"></asp:Label></strong
                                    <asp:Label ID="lblResultYil" runat="server" Text="" Width="150px"></asp:Label> 
                                </div> 
                            </div> 
                        </CommandItemTemplate> 
                    </MasterTableView> 
                    <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true" 
                        FileName="SulamaSuyu"
                        <Pdf PageTitle="Sulama Suyu Listesi" PaperSize="A4" Author="DSI" PageWidth="100%" /> 
                    </ExportSettings> 
                </telerik:RadGrid> 
            </div> 
            <%-- SuKalitesi Suyu Result --%> 
        </div> 
    </telerik:RadAjaxPanel> 

protected
 void gridResult_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e) 
        { 
 
 
            string hierarchy = e.DetailTableView.HierarchyIndex; 
            string[] temp = hierarchy.Split('_'); 
            int[] index = new int[temp.Length]; 
            for (int i = 0; i < temp.Length; i++) 
            { 
                index[i] = int.Parse(temp[i]); 
            } 
            DataTable dt = (e.DetailTableView.Name == "Detail") ? ((DataTable[][])Session["SulamaSuyu.detailTable"])[index[0]][index[1]] : 
            ((DataTable[])Session["SulamaSuyu.summaryTable"])[index[0]]; 
            e.DetailTableView.DataSource = dt; 
 
            
        } 

isocum
Top achievements
Rank 1
 answered on 01 Apr 2010
3 answers
173 views
hi,

this is shanker,I am doing one project .I am using hierarchy rad grid in my project my problem is When ever am change page size Am getting this error in itemcommand event  "Object reference not set to an instance of an object".How to find this error please give any solutions.

this is my code

protected void studentinformationGrid_ItemCommand(object source, GridCommandEventArgs e)
        {
           
                if (e.Item.OwnerTableView.Name == "student")
                {

                    if (e.CommandName == "InitInsert")
                    {
                        GetdataStudentinfomation();
                    }
                }
            
        }

 protected void studentinformationGrid_PageSizeChanged(object source, GridPageSizeChangedEventArgs e)
        {
           
                GetdataStudentinfomation();
            
        }

if (e.Item.OwnerTableView.Name == "student") this condition is required here .

how to solve this solution please give me please it's very argent am stooped my project this issues 

Thanks and regards
shanker.B
Pavlina
Telerik team
 answered on 01 Apr 2010
15 answers
198 views
Whatever you did to fix the Q3 2009 bugs in the rad splitter, has caused more issues. Since installing the SP1 version, my nested splitters don't display at all when VisibleDuringInit is set to "False" and they don't size (fill 100% w/h) properly when VisibleDuringInit is set to "True". This is the case in IE as well as Firefox. I have reverted back to the Q3 2009 version and it works, but of course, the previously known bugs with this and other controls are there.
Tsvetie
Telerik team
 answered on 01 Apr 2010
1 answer
137 views
I am working with the rater in a standard AJAX UpdatePanel and there appears to be a rendering issue in FF (PC).  Then panel has a number of hidden DIVs for sub-sections of a large form.  When I show the DIV containing the rater, the rater items are stacked in two rows rather than a single row.  If I click the button to make the DIV visible again, the rendering is corrected.

I have completely disabled my style sheet and the behavior remains.  Any ideas what could be causing the issue?
Tsvetie
Telerik team
 answered on 01 Apr 2010
2 answers
107 views
I am using radcomboBox that bounds data from the database and according the the selected index changed the grid fill automatically this works fine again i click on the RCB the menu open it with some white space,, tell me why this happend and what is the solution to resolve this issue.
Simon
Telerik team
 answered on 01 Apr 2010
1 answer
64 views
Hello,

When i try to close a modal pop-up window with the following with the following code Chrome just crashes, this function works correctly in IE and FF.

            function CloseWindow() {
                var vWindowManager = window.parent.GetRadWindowManager();
               vWindowManager.closeAll();
            }

What could be causing this issue?
Georgi Tunev
Telerik team
 answered on 01 Apr 2010
3 answers
164 views
I have a page that has several nested RadSplitters. The outer one is vertical so I have left and right panes. The right pane contains another RadSplitter that contains 3 panes separated by 2 RadSplitBars. The top pane (ViewPane) has a fixed height, the middle pane is set to height of 100%, and the bottom pane has a fixed height of 100px. The bottom pane contains several controls, one of which is a radCombo box. The issue I have is that the combo box opens lower than the bottom of the screen. I cannot seem to get the pane to properly size so the combo opens up rather than down. I have attached an image of the problem. I am using RadControls for ASPNET AJAX Q2 2008, Telerik Web UI version 2008.2.1001.35. My page's code is below...

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="radTest.aspx.vb" Inherits="UI.radTest" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
    <head id="Head1" runat="server">  
        <title></title>  
        <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.0)"/><!--Fixes IE Page 'Flicker' --> 
        <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.0)"/><!--Fixes IE Page 'Flicker' --> 
        <link href="StyleSheet.css" type="text/css" rel="STYLESHEET"/>  
        <script type="text/javascript" src="scripts/camobject.js"></script> 
        <script type="text/javascript" src="scripts/swfobject.js"></script> 
        <script type="text/javascript" language="javascript" src="scripts/cookie.js"></script> 
        <script type="text/javascript" src="scripts/Logout.js"></script> 
        <style type="text/css">  
           .style1  
            {   
                width: 133px;  
                  
            }  
            .style2  
            {  
                width: 111px;  
            }  
            .style3  
            {  
                font-family: Verdana;  
            }  
              
        </style> 
    </head> 
    <script language="javascript" type="text/javascript">  
    //removed  
    </script> 
    <body style="margin:0px;height:100%;" scroll="no" bgcolor="#38475a">  
        <form id="form1" runat="server">  
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
              
            <!-- Navigation and Header --> 
            <table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #cccccc;">  
                <tr style="background-color: #636c7b;" id="NavRow" runat="server">  
                    <td><img src="images/navspacer.jpg" border="0" width="250px" height="29px" alt="" /></td>  
                    <td> 
                        <ipc:TabNavigation   
                            ID="MyNavBar" runat="server" ActiveTab="5" BackColor="#636C7B" /> 
                    </td> 
                    <td width="100%" align="right" style="padding-right:4px"><href="logout.aspx" class="ipcLink">Log Out</a><ipc:ChangePasswordWindow runat="server" ID="ipcChangePasswordWindow" NavigateUrl="ChangePassword.aspx" VisibleOnPageLoad="false" ReloadOnShow="true" Modal="true" ShowContentDuringLoad="false" SkinID="WebBlue" Width="400" Height="400" Behaviors="None" VisibleStatusbar="false" ShowDividerBeforeLink="true" VisibleTitlebar="False" Skin="WebBlue" /></td>  
                    <td rowspan="2" width="272px" valign="top">  
                        <ipc:NewsControl ID="myNewsBar" runat="server" BackColor="#636C7B"   
                            Height="58px" Width="272px" /> 
                    </td> 
                </tr> 
                <tr style="background-color: #636c7b;">  
                    <td style="background-image: url(images/g_nav_bg.jpg); background-repeat: repeat-x; height: 29px" width="250px">  
                    </td> 
                    <td id="NavCell" class="NavCell" style="background-image: url(images/g_nav_bg.jpg); background-repeat: repeat-x;  
                        height: 29px"> 
                    </td> 
                    <td style="background-image: url(images/g_nav_bg.jpg); background-repeat: repeat-x;  
                        height: 29px"> 
                    </td> 
                </tr> 
            </table> 
 
            <telerik:RadSplitter ID="RadSplitter1"   
                                 runat="server"   
                                 Width="100%"   
                                 Height="100%"   
                                 HeightOffset="58" 
                                 Skin="WebBlue"   
                                 BorderSize="0"   
                                 PanesBorderSize="0"   
                                 Orientation = "Vertical" 
                                 BorderWidth="0">  
                <telerik:RadPane ID="leftPane"   
                                 runat="server"   
                                 Width="268px"   
                                 Scrolling="None"   
                                 Height=""   
                                 OnClientPaneExpanded="PaneExpanded"   
                                 OnClientPaneCollapsed="PaneCollapsed"   
                                 BorderStyle="None"   
                                 BorderWidth="0px"   
                                 BorderColor="#D1D8E2">  
                    <telerik:RadSplitter ID="RadSplitter2"   
                                         runat="server"   
                                         Width="100%" 
                                         Height="100%" 
                                         Skin="WebBlue" 
                                         BorderSize="0" 
                                         PanesBorderSize="0" 
                                         Orientation="Horizontal" 
                                         BorderWidth="0">  
                        <telerik:RadPane ID="tabPane" 
                                         runat="server" 
                                         Width="100%" 
                                         Scrolling="None" 
                                         Height="28px" 
                                         BorderStyle="None" 
                                         BorderWidth="0px" 
                                         BorderColor="#D1D8E2">  
                            <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#D1D8E2">  
                                <tr> 
                                    <td height="28px" valign="top">  
                                        <href="lpr_search.aspx">  
                                            <img src="images/search_front.jpg" alt="" border="0" width="90" height="28" /> 
                                        </a> 
                                    </td> 
                                    <td id="RTTab" runat="server" height="28px" valign="top">  
                                        <href="lpr_realtime.aspx">  
                                            <img src="images/Real-Time_back.jpg" alt="" border="0" width="89" height="28" /> 
                                        </a> 
                                    </td> 
                                    <td id="WLTab" runat="server" height="28px" valign="top">  
                                        <href="lpr_watchlist.aspx">  
                                            <img src="images/watchlist_back.jpg" alt="" border="0" width="90" height="28" /> 
                                        </a> 
                                    </td> 
                                </tr> 
                            </table> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="RadSplitbar2" runat="server" CollapseMode="None" EnableResize="false"/>  
                        <telerik:RadPane ID="navigationPane" 
                                         runat="server" 
                                         Width="100%" 
                                         Scrolling="None" 
                                         Height="100%" 
                                         BorderStyle="None" 
                                         BorderWidth="0px" 
                                         BorderColor="#D1D8E2">  
                            <telerik:RadTreeView   
                                ID="RadTreeView1"   
                                runat="server" 
                                Width="100%" 
                                Height="100%" 
                                BackColor="#D1D8E2"                                          
                                AutoPostBack="True"   
                                OnClientNodeChecked="AfterCheckHandler"   
                                OnClientNodePopulated="AfterClientToggle" 
                                OnClientNodeExpanded="onClientNodeToggle" 
                                OnClientNodeCollapsed="onClientNodeToggle"   
                                CheckBoxes="true" 
                                MultipleSelect="true" 
                                OnNodeExpand="RadTreeView1_NodeExpand" 
                                LoadingMessage="(loading...)">  
                            </telerik:RadTreeView> 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="RadSplitbar1" runat="server" CollapseMode="Forward" EnableResize="false"/>  
                <telerik:RadPane ID="rightPane"   
                                 runat="server"   
                                 Width="100%"   
                                 Scrolling="None"   
                                 Height="100%"   
                                 BackColor="#232323"   
                                 BorderStyle="None"   
                                 BorderWidth="0px"   
                                 BorderColor="#D1D8E2">  
                    <telerik:RadSplitter ID="RadSplitter3"   
                                 runat="server"   
                                 Width="100%"   
                                 Height="100%" 
                                 Skin="WebBlue"   
                                 BorderSize="0"   
                                 Orientation="Horizontal" 
                                 PanesBorderSize="0"   
                                 BorderWidth="0">  
                        <telerik:RadPane ID="ViewPane"   
                                         runat="server"   
                                         Width="100%"   
                                         Scrolling="None"   
                                         Height="350px"   
                                         BackColor="#232323"   
                                         BorderStyle="None"   
                                         BorderWidth="0px"   
                                         BorderColor="#D1D8E2">  
                            <iframe id="viewFrame" src="lpr_wmplayback.aspx" frameborder="0" width="100%" height="350px" scrolling="no"></iframe>                  
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="RadSplitbar3" runat="server" CollapseMode="None" EnableResize="false"/>  
                        <telerik:RadPane ID="ResultsPane"   
                                         runat="server"   
                                         Width="50%"   
                                         Scrolling="None"   
                                         Height="100%"   
                                         BackColor="#D1D8E2"   
                                         BorderStyle="None"   
                                         BorderWidth="0px"   
                                         BorderColor="#D1D8E2">  
                            <iframe id="gridFrame" src="lpr_radgrid.aspx" frameborder="0" width="100%" height="100%" runat="server" scrolling="no"></iframe> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="RadSplitbar4" runat="server" CollapseMode="Backward" EnableResize="true"/>  
                        <telerik:RadPane ID="CriteriaPane"   
                                         runat="server"   
                                         Width="100%"   
                                         Scrolling="None"   
                                         Height="100px"   
                                         BackColor="#D1D8E2"   
                                         BorderStyle="None"   
                                         BorderWidth="0px"   
                                         BorderColor="#D1D8E2">  
                            <table border="0" id="tblCriteria" cellpadding="1" cellspacing="1" width="100%" class="ArchiveGrid">  
                                <tr> 
                                    <td align="right" nowrap="nowrap">Search Plate Number:</td> 
                                    <td align="left" nowrap="nowrap">  
                                        <telerik:RadTextBox ID="txtPlateNum" runat="server" TextMode="SingleLine" Width="100px">  
                                        </telerik:RadTextBox> 
                                    </td> 
                                    <td align="right" nowrap="nowrap">Accuracy:</td> 
                                    <td align="left" nowrap="nowrap">  
                                        <telerik:RadNumericTextBox ID="txtAccuracy" runat="server" MaxValue="100" MinValue="25" Type="Percent" Width="80px" ShowSpinButtons="True" ClientEvents-OnValueChanged="txtAccuracy_OnValueChanged">  
                                        </telerik:RadNumericTextBox> 
                                    </td> 
                                    <td align="right" nowrap="nowrap">Start Date:</td> 
                                    <td align="left" nowrap="nowrap">  
                                        <telerik:RadDatePicker ID="StartDatePicker" runat="server">  
                                        </telerik:RadDatePicker> 
                                        <asp:RequiredFieldValidator runat="server" ID="rfvStartDate" ControlToValidate="StartDatePicker" ErrorMessage="Valid Date Required" /> 
                                    </td> 
                                    <td align="right" nowrap="nowrap">End Date:</td> 
                                    <td align="left" nowrap="nowrap">  
                                        <telerik:RadDatePicker ID="EndDatePicker" runat="server">  
                                        </telerik:RadDatePicker> 
                                        <asp:RequiredFieldValidator runat="server" ID="rfvEndDate" ControlToValidate="EndDatePicker" ErrorMessage="Valid Date Required" /> 
                                    </td> 
                                    <td align="right" nowrap="nowrap">  
                                        <asp:Button ID="btn_Search" runat="server" BackColor="White" Text="Search"  Width="60px" style="font-weight: bold; margin: 5px; font-size: 8pt; width: 60px; color: #383838; height: 22px; background-color: #a7b7c6;" /> 
                                    </td> 
 
                                </tr> 
                                <tr> 
                                    <td align="right" nowrap="nowrap">Defined Searches:</td> 
                                    <td align="left" colspan="3" nowrap="nowrap">  
                                        <telerik:RadComboBox ID="cboDefinedSearches" runat="server">  
                                        </telerik:RadComboBox> 
                                    </td> 
                                    <td align="right" nowrap="nowrap">Start Time:</td> 
                                    <td align="left" nowrap="nowrap">  
                                        <telerik:RadTimePicker ID="StartTimePicker" runat="server">  
                                        </telerik:RadTimePicker> 
                                        <asp:RequiredFieldValidator runat="server" ID="rfvStartTime" ControlToValidate="StartTimePicker" ErrorMessage="Valid Time Required" /> 
                                    </td> 
                                    <td align="right" nowrap="nowrap">End Time:</td> 
                                    <td align="left" nowrap="nowrap">  
                                        <telerik:RadTimePicker ID="EndTimePicker" runat="server">  
                                        </telerik:RadTimePicker> 
                                        <asp:RequiredFieldValidator runat="server" ID="rfvEndTime" ControlToValidate="EndTimePicker" ErrorMessage="Valid Time Required" /> 
                                    </td> 
                                    <td nowrap="nowrap">&nbsp;</td> 
                                </tr> 
                                <tr> 
                                    <td align="right" nowrap="nowrap">Search Watch List:</td> 
                                    <td align="left" colspan="3" nowrap="nowrap">  
                                        <telerik:RadComboBox ID="cboWatchList" runat="server">  
                                        </telerik:RadComboBox> 
                                    </td> 
                                    <td colspan="2" nowrap="nowrap">&nbsp;</td> 
                                    <td colspan="2" nowrap="nowrap">  
                                        <asp:CompareValidator ID="dcvSearch" runat="server" ControlToValidate="EndDatePicker" ControlToCompare="StartDatePicker" Operator="GreaterThanEqual" Type="Date" ErrorMessage="The end date must be on or after the start date.<br /><br />" /> 
                                    </td> 
                                    <td nowrap="nowrap">&nbsp;</td> 
                                </tr> 
                            </table> 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server">  
                <ConfirmTemplate> 
                    <div class="windowpopup radconfirm">     
                       <div class="dialogtext"> {1} </div>        
                       <div> 
                         <onclick="$find('{0}').callBack(true);" 
                            class="radwindowbutton" 
                            href="javascript:void(0);" > 
                           <span class="outerspan">  
                             <span class="innerspan">##LOC[Yes]##</span> 
                           </span> 
                         </a> 
                         <onclick="$find('{0}').callBack(false);" 
                            class="radwindowbutton" 
                            href="javascript:void(0);">  
                           <span class="outerspan">  
                             <span class="innerspan">##LOC[No]##</span> 
                           </span> 
                         </a> 
                       </div> 
                    </div>    
                </ConfirmTemplate> 
                <Windows> 
                    <telerik:RadWindow ID="RadAddWindow" runat="server" Animation="None" Behavior="Default" Behaviors="Default" InitialBehaviors="None" InitialBehavior="None" Left="" NavigateURL="lpr_addToWL.aspx" VisibleOnPageLoad="false" ReloadOnShow="true" Modal="true" Top="" ShowContentDuringLoad="false" Skin="WebBlue" Width="270" Height="190" VisibleStatusbar="false" VisibleTitlebar="false"></telerik:RadWindow> 
                    <telerik:RadWindow ID="RadVerifyWindow"   
                                        runat="server"   
                                        Animation="None"   
                                        Behavior="Default"   
                                        Behaviors="Default"   
                                        InitialBehaviors="None"   
                                        InitialBehavior="None"   
                                        Left=""   
                                        NavigateURL="lpr_addToWL.aspx"   
                                        VisibleOnPageLoad="false"   
                                        ReloadOnShow="true"   
                                        Modal="true"   
                                        Top=""   
                                        ShowContentDuringLoad="false"   
                                        Skin="WebBlue" Width="460"   
                                        Height="490"   
                                        VisibleStatusbar="false"   
                                        VisibleTitlebar="false"></telerik:RadWindow> 
                    <telerik:RadWindow ID="RadStatsWindow"   
                                        runat="server"   
                                        Animation="None"   
                                        Behavior="Default"   
                                        Behaviors="Default"   
                                        InitialBehaviors="None"   
                                        InitialBehavior="None"   
                                        Left=""   
                                        NavigateURL="lpr_visitchart.aspx"   
                                        VisibleOnPageLoad="false"   
                                        ReloadOnShow="true"   
                                        Modal="true"   
                                        Top=""   
                                        ShowContentDuringLoad="false"   
                                        Skin="WebBlue"   
                                        Width="640"   
                                        Height="710"   
                                        VisibleStatusbar="false"   
                                        VisibleTitlebar="true"></telerik:RadWindow> 
                </Windows> 
            </telerik:RadWindowManager> 
        </form> 
    </body> 
</html> 
 

Any help or insight would be apprecitated.

--Frank Prevatt
Tsvetie
Telerik team
 answered on 01 Apr 2010
3 answers
79 views
Hi all,

in short:

- the Grid is built completeley in Codebehind, because some columns are added dynamically - no problem that works fine.
- one Column contains an imagebutton, which is used also as an indicator with different colors - works fine
- Rowclick opens a popup window - where data can be entered, changed and deleted - works fine
- Clicking the Savebutton in the popup window, the data is saved in the database and the js closes the window - works fine
- on the initial Page the refreshGrid fires - works fine
- in the AJAX-Eventhandler in Codebehind, the fired event arrives and there a rebind is initiated - works fine
- the Grid is built new, all data is inserted and it runs also through the decision in which color the Imagebutton has to appear - works fine
- the page appears in the browser... the new imagebutton does NOT appear

It's the same code in the same order as if the page is entered the first time (where all is working as expected)

When the entire Page is refreshed by hitting F5 or get the page new from menu, all appears as expected - just not after a refreshGrid...

Anyone an idea, what could be the reason and what I can do to resolve this problem? Thanks in advance!


Regards
Franco

Yavor
Telerik team
 answered on 01 Apr 2010
10 answers
237 views
Hi guys,

I'm doing custom filtering and need to know what item the user has selected as the filtering option (StartsWith, EndsWith, Contains, etc.)

I can get a reference to the value in the filter textbox like this:

 fbox = CType((CType(e.Item, GridFilteringItem))("Description").Controls(0), TextBox) 

How do I get a reference to the adjacent Combobox and its selected item?

Thanks,

Ken
Daniel
Telerik team
 answered on 01 Apr 2010
4 answers
104 views
Hi,

i have been working with radgrid for over a year and never came across this problem.
i have a custom query which i run and get a datatable and assign this as a data source to the grid.
it loads fine for the first time, but when i try to get different data on

SelectedIndexChanged event for a drop down, it doesnt trigger the postback event.
i have made sure the autopostback property is set to true on the drop down and i also made sure i am not loading the dropdown on postbacks.

i have a published page which works fine but when i try to run it on localhost it doesnt postback.

i have been trying to find a fix for two days and couldnt figure it out. can you kindly help me with this. its important i fix this soon.

thank you,

Murali

Mira
Telerik team
 answered on 01 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?