Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
116 views
Hi
I have a radgrid populated with data using a sqldatasource. Whenever I select the radgrid's filter menu, it opens up and moves the whole page down. But the filter works in filtering the data. Pls help me solve this problem.

Here is the aspx code:
   <telerik:RadGrid ID="RadGrid_DutyLog" runat="server" DataSourceID="SqlDataSource_DutyLog" 
        AutoGenerateColumns="False" AllowAutomaticDeletes="True" Skin="Black" AutoGenerateDeleteColumn="True" 
        AutoGenerateEditColumn="True" OnInsertCommand="RadGrid_Duty_InsertCommand" OnUpdateCommand="RadGrid_Duty_UpdateCommand" 
        Width="100%" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" 
        GridLines="None" Height="500px">  
 

Do I have to include any particular style  in css for the filter menu to drop down as it should be?
Amirtha S
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
76 views
We have about 1.5 Million records in  the table. We have enabled Pagination in the grid expecting the system to display the records faster. However we noted that on every page click the grid takes lot of time to load. Can anyone provide some inputs on this...
Vlad
Telerik team
 answered on 25 Mar 2010
5 answers
165 views
I am using ASP.NET AJAX version 2008.2.1001.20. The image manager dialogs is crashing on most PC's. The dialog popups up but just before it renders it crashes. If I click the icon a second time the popup appears ok. 
There are other PC with simlar OS and browser where it works fine all the time.
PCS that crash are running windows XP SP3 and IE 8.0.
Rumen
Telerik team
 answered on 25 Mar 2010
2 answers
226 views
Is there a built-in option to create a hidden field in the editor? If not anyone has a code already created to do a custom dialog for this.

Any help is appreciated.

Thanks
Telerikuser
Top achievements
Rank 1
 answered on 25 Mar 2010
2 answers
197 views
I'm trying to set selected row on Page_Load. The correct Page, total page and row count but no selected row?
I have the following:
// aspx page
...
<telerik:RadGrid
        ID="grdList" runat="server"
        EnableViewState="false"
        Height="328px"
        AllowPaging="true"
        AllowCustomPaging="true"
        AllowSorting="true"
        AllowFilteringByColumn="true"
        AutoGenerateColumns="False"
        PageSize="12"
        Skin="WebBlue">
...
// aspx.cs code behind page called from Page_Load
...
// this.pageSize is 12
// qmd.Count is 172
// this.PageIndex is 9
// rowIndex is 11
grdList.DataSource = qmarkRows;
grdList.VirtualItemCount = qmd.Count;
grdList.PageSize = this.pageSize;
grdList.CurrentPageIndex = qmd.PageIndex;
grdList.DataBind();
grdList.MasterTableView.Items[rowIndex].Selected = true;
...

What am i doing wrong?
Murray
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
144 views

I have a grid that displays a DateTime field.  The user has the ability to filter this DateTime field. I want to make sure the user enters only valid DateTime values (i.e. 1/1/2010).  So, how can I check the filter?  I wrote the following code in the grid ItemCommand event but I don't know how to complete it.  Can someone tell me which property to check so I can make sure that what the user entered is a valid date?

protected void gridMain_ItemCommand(object sender, GridCommandEventArgs e)  
{  
 
  if (e.Item is GridFilteringItem)  
  {  
      GridFilteringItem FilteringItem = e.Item as GridFilteringItem;  
 
      // what do I do now?    
   }  
 
}  
 
 
Foenix
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
146 views
Hi,
     Guys i want to know how many records in radgrid after apply Filtering By Column.
Schlurk
Top achievements
Rank 2
 answered on 25 Mar 2010
3 answers
72 views
Hi

I have a data bound PanelBar that will not collapse.

This is the rendered HTML

<div id="ctl00_Main_nav1_RadPanelBar2" class="RadPanelBar RadPanelBar_mresource" style="height:300px;"
    <ul class="rpRootGroup"
        <li class="rpItem rpFirst"><href="./" class="rpLink"><span class="rpOut"><span class="rpText">Home</span></span></a></li
        <li class="rpItem"><href="reporting/" class="rpLink"><span class="rpOut"><span class="rpText">Dashboard</span></span></a></li
        <li class="rpItem"><href="#" class="rpLink rpExpandable rpExpanded"><span class="rpOut"><span class="rpText">Reporting</span></span></a><div class="rpSlide" style="display:block;"
            <ul class="rpGroup rpLevel1 " style="display:block;"
                <li class="rpItem rpFirst"><href="pages/c.aspx" class="rpLink"><span class="rpOut"><span class="rpText">SMS Applicants</span></span></a></li
                <li class="rpItem"><href="reporting/conversion/" class="rpLink"><span class="rpOut"><span class="rpText">Conversion Rate</span></span></a></li
                <li class="rpItem"><href="reporting/source/" class="rpLink"><span class="rpOut"><span class="rpText">Candidate Source</span></span></a></li
                <li class="rpItem"><href="reporting/livesms/" class="rpLink"><span class="rpOut"><span class="rpText">Live SMS</span></span></a></li
                <li class="rpItem"><href="reporting/poll/" class="rpLink"><span class="rpOut"><span class="rpText">Poll Results</span></span></a></li
                <li class="rpItem rpLast"><href="reporting/mapping/" class="rpLink"><span class="rpOut"><span class="rpText">Mapping</span></span></a></li
 
            </ul> 
        </div></li><li class="rpItem rpLast"><href="#" class="rpLink rpExpandable rpExpanded"><span class="rpOut"><span class="rpText">Campaign Tools</span></span></a><div class="rpSlide" style="display:block;"
            <ul class="rpGroup rpLevel1 " style="display:block;"
                <li class="rpItem rpFirst rpLast"><href="pages/v.aspx" class="rpLink"><span class="rpOut"><span class="rpText">Visitors</span></span></a></li
            </ul> 
        </div></li
    </ul><input id="ctl00_Main_nav1_RadPanelBar2_ClientState" name="ctl00_Main_nav1_RadPanelBar2_ClientState" type="hidden" /> 
</div> 

And this is the code that created it

<telerik:RadPanelBar runat="server" ID="RadPanelBar2" Height="300px"  EnableEmbeddedSkins="false" Skin="mresource" 
         DataFieldID="MenuItemId" DataFieldParentID="ParentID"  > 
        <DataBindings> 
        <telerik:RadPanelItemBinding Depth="0"  TextField="Text"  NavigateUrlField="NavigateURL" ExpandedField="Expanded" /> 
        <telerik:RadPanelItemBinding Depth="1" TextField="Text" NavigateUrlField="NavigateURL"  /> 
        
        </DataBindings> 
        </telerik:RadPanelBar> 
 
I have created a version of the PanelBar manually entering the items and the rendered html is the same, but the expanded items collapase.

The difference that I can see is that in the databound version I pass in a NULL as the NavigateURL for the items I want to collapse where as on the static version I do not use the NavigateURL attribute at all.

Thanks

Mark

Veselin Vasilev
Telerik team
 answered on 25 Mar 2010
7 answers
245 views
Hi

We have a simple page which is displayed in a rad window containing a two column html table and a command button.  The rad window is set to autosize.

When we add a Form Decorator to the page the window resizes incorrectly and adds scroll bars.

Is there something we have overlooked?

Below is a simple example of the two pages we have.

Default.aspx
<html xmlns="http://www.w3.org/1999/xhtml">  
    <head runat="server">  
        <title></title>  
    </head> 
      
    <body> 
        <form id="form1" runat="server">  
          
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
            </telerik:RadScriptManager> 
 
            <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="Default2.aspx" AutoSize="true" VisibleOnPageLoad="true">  
            </telerik:RadWindow> 
          
        </form> 
    </body> 
</html> 
 

Default2.aspx
<html xmlns="http://www.w3.org/1999/xhtml">  
    <head runat="server">  
        <title></title>  
    </head> 
 
 
    <body> 
        <form id="form1" runat="server">  
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>   
            <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" /> 
              
            <asp:Button ID="Button2" runat="server" Text="Button" /> 
            <table> 
                <tr> 
                    <td><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>  
                    <td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>  
                </tr>   
                <tr> 
                    <td><asp:Label ID="Label2" runat="server" Text="Label"></asp:Label></td>  
                    <td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>  
                </tr> 
                <tr> 
                    <td><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></td>  
                    <td><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>  
                </tr> 
            </table> 
        </form> 
    </body> 
</html> 

Thanks in advance.

Eric Klein
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
89 views
can anyone tell me is there any way to get the radgrid control currently selected cell or activecell value
Schlurk
Top achievements
Rank 2
 answered on 25 Mar 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?