Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
120 views
I want to display, with a scrollbar JUST for the data rows (not for the entire control) so the header and footer stay where they are (no scrolling).

There seems to be no way to set the scrolling area height if one sets EnableScrolling to true (the default setting). So the web part has scroll bars and the user has to scroll down to get to the paging controls. Looks lame.

Grid Height (%) doesn't have any good effect if it's not set to 0 and EnableScrolling is true. One would expect 100% to show the entire page of the grid, but it just collapses the control to only 4-5 pixels or so. Looks lame.

I can't even set the default page size from 30 to 10. This is REALLY lame - why is this property not available?

Help! I simply want to show a sharepoint list, with paging, with header and footer always displayed, and fitting on the web page without scrolling the web page or the grid.

This is with the product downloaded last week, version 2013.1.220.35.

Marin
Telerik team
 answered on 01 Oct 2013
2 answers
2.2K+ views
Hello Team,

1.I have situation  like these I want bind The "Header Text"  of  All Column to "rad List-box" .. after The Need Data Source  is Binded .

How to get Column Name server side which event is Better for that to write the code.. can Help heir to get the "Column Name " Of  "rad Grid".



Thanks & Regards,
Sairam Pamidi
Sairam
Top achievements
Rank 1
 answered on 01 Oct 2013
1 answer
120 views
Hi -- Is there a way to print a ReportBook without pagebreaks?  Is there some setting that can be set (unset) to disable page breaks?

Thanks, Raka
Peter
Telerik team
 answered on 01 Oct 2013
1 answer
185 views
I have 3 radtextboxes on a page. I want to enable spell check without using the check button. After the user enter text in first textbox and move to next one, i want to automaticaly spell check the first one and like that for the other two. Please help.

Freddy
Shinu
Top achievements
Rank 2
 answered on 01 Oct 2013
11 answers
947 views
i have a radgrid but i cant get the textbox texto on update, so i will put the code that i'm using , what am i missing here.

protected void RadGrid1_UpdateCommand(object sender, GridCommandEventArgs e)
   {
 
        checkbox
 
       string values = string.Empty;
 
       if (e.Item is GridEditableItem && e.Item.IsInEditMode)
       {
           GridEditFormItem data = e.Item as GridEditFormItem;
 
          // GridEditableItem data = (GridEditableItem)e.Item as GridEditableItem;
 
          // CheckBoxList checkedItems = (CheckBoxList)data.FindControl("CBLRole");//Accessing the CheckBoxList
           //CheckBoxList checkedItems = data["CBLRole"].Controls[0] as CheckBoxList;
           //for (int i = 0; i < checkedItems.Items.Count; i++)
           //{
 
           //    if (checkedItems.Items[i].Selected)
           //    {
           //        values = values + "," + checkedItems.Items[i].Text.ToString();//Storing the selected values
           //    }
 
           //}
         //  string selectedvalue = values.Trim(',');//To trim off the last ','          
 
           TextBox txt = data.FindControl("txt_email") as TextBox;


i have tried several ways as you can see in comente data line but i always get null. i have the radgrid inside a contenplace holder if that makes any change
Princy
Top achievements
Rank 2
 answered on 01 Oct 2013
1 answer
165 views
I have a tab strip inside of an Ajax Update panel. When I first display the tab strip, the url has querystring parameters (exampleL: EmployeeInformation.aspx?PlantCode=12&DivisionCode=1.

When I click another tab, is there a way to automatically get those querystring parameters passed to the new naviagate url or do I need to remove the NavigateURL parameter and do my navigation in the TabClick event?
Nencho
Telerik team
 answered on 01 Oct 2013
2 answers
124 views
Hello,

Now I am using Telerik RAD Editor of version  2010.3.1215.20 in Visual Studio 2005. I want to upgrade it in Latest version.so i want to know that latest version of Telerik RAD Editor will works on Visual Studio 2005 or not? Please give me answer.


Thank You!


Mohmadraza
Top achievements
Rank 1
 answered on 01 Oct 2013
5 answers
149 views
I have a field in the table that is 'Licensed In State'. A person can be licensed in more than one state. How in the RadFilter do I search for those people that hold licenses in both TX and AZ? Simply ANDing them won't work.
Angel Petrov
Telerik team
 answered on 01 Oct 2013
3 answers
158 views
I'm using solution similar to Demo:  Grid - User Control Edit Form, where RadGrid located in DNN desktopmodule, and Edit form is a separate User Control form. Edit form contains asp controls and 3 telerik controls: RadEditor and two Date pickers. All ASP controls working OK all the time. Status of telerik controls is diffrent. Approximately 50/50 telerik controls are not working properly when Edit form displayed; regardles Edit or Insert mode. Outcome is following: RadEditor is read-only (you can't type), all buttons (including Calendar and RadEditor buttons don't do anything, but jumping to the top of the page). Clicking on any button that create postback, reloads form with unpredictable state: telerik controls may or may not work. There is no pattern, except: when I reducing amount of code related to telerik controls binding, more edit form loadings coming with with working telerik controls, but I never getting 100% success.
I compared dynamically created HTML code for both states: with working and not working telerik controls, but can't see atual difference.
I appreciate any help/suggestions.
Thanks,
Boris  
Maria Ilieva
Telerik team
 answered on 01 Oct 2013
1 answer
86 views
Team,
    I have a requirement like this. Please provide solution for following scenario.
    I am constructing a grid dynamically by adding template columns with check boxes. this grid has GroupByExpressions. Please find the following code snippet for how we are construction radgrid.
<telerik:RadGrid ID="RadGrid1" AutoGenerateColumns="false" runat="server" CellSpacing="0"
           GridLines="None" Width="100%" PagerStyle-AlwaysVisible="true" >
           <%-- AllowSorting="True" PagerStyle-PageSizeControlType="RadDropDownList" AllowPaging="True"--%>
           <ClientSettings>
               <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
           </ClientSettings>
           <MasterTableView AutoGenerateColumns="False" TableLayout="fixed" DataKeyNames="ReportId"
               GroupsDefaultExpanded="True" GroupLoadMode="Client" CommandItemDisplay="None">
               <GroupByExpressions>
                   <telerik:GridGroupByExpression>
                       <SelectFields>
                           <telerik:GridGroupByField FieldName="DomainName" FieldAlias="Domain" FormatString=""
                               HeaderText=" " HeaderValueSeparator=""></telerik:GridGroupByField>
                       </SelectFields>
                       <GroupByFields>
                           <telerik:GridGroupByField SortOrder="Descending" FieldName="DomainName" FormatString=""
                               HeaderText=""></telerik:GridGroupByField>
                       </GroupByFields>
                   </telerik:GridGroupByExpression>
                   <telerik:GridGroupByExpression>
                       <SelectFields>
                           <telerik:GridGroupByField FieldName="SubjectAreaName" FieldAlias="SubjectArea" FormatString=""
                               HeaderText=" " HeaderValueSeparator=""></telerik:GridGroupByField>
                       </SelectFields>
                       <GroupByFields>
                           <telerik:GridGroupByField SortOrder="Descending" FieldName="SubjectAreaName" FormatString=""
                               HeaderText=""></telerik:GridGroupByField>
                       </GroupByFields>
                   </telerik:GridGroupByExpression>
                   <telerik:GridGroupByExpression>
                       <SelectFields>
                           <telerik:GridGroupByField FieldName="GroupName" FieldAlias="Group" FormatString=""
                               HeaderText=" " HeaderValueSeparator=""></telerik:GridGroupByField>
                       </SelectFields>
                       <GroupByFields>
                           <telerik:GridGroupByField SortOrder="Descending" FieldName="GroupName" FormatString=""
                               HeaderText=""></telerik:GridGroupByField>
                       </GroupByFields>
                   </telerik:GridGroupByExpression>
               </GroupByExpressions>
               <Columns>
               </Columns>
           </MasterTableView>
       </telerik:RadGrid>

I am adding code snippet :-

private void AddGridTemplateColumnsToSmartReportGrid(ref DataTable dt)
    {
        entities obj = new entities();
 
        var SRActions = (from col in obj.SecurityParameters select new { SRPermissionId = col.SecurityParameterID, SRPermissionName = col.SecurityParameterName }).ToList();
 
        List<string> cols = (from col in SRActions
                   select col.SRPermissionName).ToList<string>();
 
        dtSRActions = SRActions.GetDataTable();
        Session["dtSRActions"] = dtSRActions;
 
        for (int i = 0; i < cols.Count; i++)
        {
            GridTemplateColumn tempcol = new GridTemplateColumn();
            tempcol.ItemTemplate = new MyCheckbox(i);
            tempcol.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
            tempcol.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
            tempcol.ItemStyle.Width = Unit.Pixel(60);
            tempcol.HeaderStyle.Width = Unit.Pixel(60);
            tempcol.HeaderText = cols[i];
            RadGrid1.MasterTableView.Columns.Add(tempcol);
            dt.Columns.Add(cols[i],typeof(string));
        }
         
    }
My requirement is, How to add check box in group header for each column. Please find attached screen shot for my requirement.
Konstantin Dikov
Telerik team
 answered on 01 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?