Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
87 views
This same issue was posted for a 2008 version of this control. I have version Asp.Net Ajax Q2 2009 sp1 and this same issue is happening. If I have my empty message set, the 1st character will not fire the itemsrequested event. If I clear the empty message property then everything works okay.
T. Tsonev
Telerik team
 answered on 11 Nov 2009
1 answer
96 views
How/Can you export group footers?  I have a Custom ExcelXML and it exports with all the groupings properly but the footers dont show up.
Princy
Top achievements
Rank 2
 answered on 11 Nov 2009
1 answer
214 views
Hi!

With grid filtering capabilities, is that possible to filter the grid's result set on several values of some column? (This would be similar to "WHERE x IN ..." operation in SQL)

I want to specify the values (e.g. comma-separated) and make the grid show the rows, which contain one of these values. If that's not possible with standard filtering function (GridKnownFunction Enumeration), can I implement my own filtering function?

I need it to display several check boxes in the filter control and then filter the grid on several selected values.

Thanks
Princy
Top achievements
Rank 2
 answered on 11 Nov 2009
0 answers
124 views
Hi 

1)    I am using telerik  following version 2009.1.402.20.I have UI problem in pager style
    I have 1050 records in grid. when i set page size is one and  i want to see the last page the pager style is overlapping in fire fox 
    But IE its Wrapping.I have attached two type of screen with this question 
   
2)

I want to limit the maximum page siz using the following code

protected

 

void RadGrid1_PreRender(object sender, EventArgs e)

 

{

 

 

GridPagerItem pagerItem = (GridPagerItem)RadGrid1.MasterTableView.GetItems(GridItemType.Pager)[1];

 

 

 

RadNumericTextBox textBox = (RadNumericTextBox)pagerItem.FindControl("ChangePageSizeTextBox");

 

textBox.MaxValue = 100;

}

 

the above code is working fine but what my issue is if  i have 80 records in grid  when i am set  page size is 101 and above no chages is happened.but i need its show the 80 records
 
Azees
Top achievements
Rank 1
 asked on 11 Nov 2009
3 answers
216 views
Hi,

Simple grid with one template column and enabled filter. If we input semicolon ';' in the filtertextbox and do filter by "equal" it throws out of bounds exception. This errors occors on the demo grids also.
For example: click on the below link
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx

Input some thing with semicolon on "ShipName" column, example.. Vins; and do a tabout it throws error.

ASPX code:

<

 

telerik:RadGrid ID="myRadGrid" runat="server" OnItemDataBound="myRadGrid_ItemDataBound">

 

 

    <MasterTableView AllowFilteringByColumn="true">

 

 

   <Columns>

 

 

      <telerik:GridTemplateColumn DataField="Name" HeaderText="Name" AutoPostBackOnFilter="true"

 

 

         AllowFiltering="true">

 

 

      </telerik:GridTemplateColumn>

 

 

   </Columns>

 

 

  </MasterTableView>

 

 

</telerik:RadGrid>

cs code:

 

List

 

<string> s = new List<string> {"sreeni","ravi"};

 

myRadGrid.DataSource = s;

myRadGrid.DataBind();


This is kind of a production bug for us. Please let us know the solution as soon as possible.

Thanks
Sreenivas.
KPMG Montvale, NJ

Mira
Telerik team
 answered on 11 Nov 2009
1 answer
120 views
I have a gantt chart, with an overlapping point series to represent "milestones".
The gantt bars have tooltips and the points have their own tooltips - both of which work fine when not overlapping.
However, when the points are rendered on top of the gantt bars, the point tooltips will not show up. We just get the tooltip for the gantt bar, even when hovering directly of the point.
Any ideas?
Thanks,
-jaa

Ves
Telerik team
 answered on 11 Nov 2009
1 answer
105 views
Hi

I have a problem using RADEditor/ImageManager on WSS 3.0.

I have recently created a new web application and for that a site-collection. Then I activated the Rad Editor and created a Announcement list called MyNews. When using ImageManager to select an Image I have an empty ImageManager dialog - no directory to browse in. It is not possible to create a directory -  I get "Could not create". I have tried with various path settings before hitting Create. I am an administrator of this site. Since I have no directory so select and it is not possible to create a directory it's not possible to upload images.

On my other site collections I have no problem to create directory and to add/select images.

Any suggestions on what I can do?
Stanimir
Telerik team
 answered on 11 Nov 2009
2 answers
177 views
<rad:GridEditCommandColumn ButtonType="ImageButton" EditImageUrl="../Images/editItem.gif">
                                        <HeaderStyle Font-Bold="True" Wrap="False" />
                                        <ItemStyle Wrap="true" />
                                    </rad:GridEditCommandColumn> 


<EditFormSettings UserControlName="../UserControls/EndCustomerOrderEntry.ascx" EditFormType="WebUserControl">
                                    <EditColumn UniqueName="EditCommandColumn" >
                                    </EditColumn>
                                </EditFormSettings>


Like in above code block, a user control being called for editing the rows in grid.
I need to call a similar user control for another action called RECREATE with edit option which has the grid button columns as below:





<rad:GridButtonColumn ButtonType="ImageButton" ImageUrl="../Images/Recreate.GIF" UniqueName="RecreateColumn"
                                         CommandName="Recreate">
                                        <HeaderStyle Font-Bold="True" Wrap="False"/>
                                        <ItemStyle Wrap="true" />
                                    </rad:GridButtonColumn> 


Thanks,
Awadh



Awadh .
Top achievements
Rank 1
 answered on 11 Nov 2009
1 answer
99 views
Hello:

I have in EditItemTemplate a DropDownList,
but this give a error, because in add new row this try to do bind("field_name")

Can you help me?
Princy
Top achievements
Rank 2
 answered on 11 Nov 2009
1 answer
85 views
Hello all...

I would like to use the following JavaScript to print the contents of a details table.
  function PrintRadGrid()  
        {  
            var previewWnd = window.open('about:blank', '', '', false);  
            var sh = '<%= ClientScript.GetWebResourceUrl(radGrid1.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",radGrid1.Skin)) %>';  
            var styleStr = "<html><head><link href = '" + sh + "' rel='stylesheet' type='text/css'></link></head>";  
            var detailTable = $find('<%= radGrid1.ClientID %>').get_detailTables()[0];  
            var htmlcontent = styleStr + "<body><div class='RadGrid RadGrid_Simple'>" + detailTable.get_element().outerHTML + "</div></body></html>";  
            previewWnd.document.open();  
            previewWnd.document.write(htmlcontent);  
            previewWnd.document.close();  
            previewWnd.print();  
        } 
 This works just fine for the first details results.

I would like to change this to the following.
  function PrintRadGrid(detailsID)  
        {  
            var previewWnd = window.open('about:blank', '', '', false);  
            var sh = '<%= ClientScript.GetWebResourceUrl(radGrid1.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",radGrid1.Skin)) %>';  
            var styleStr = "<html><head><link href = '" + sh + "' rel='stylesheet' type='text/css'></link></head>";  
            var detailTable = $find('<%= radGrid1.ClientID %>').get_detailTables()[detailsID];  
            var htmlcontent = styleStr + "<body><div class='RadGrid RadGrid_Simple'>" + detailTable.get_element().outerHTML + "</div></body></html>";  
            previewWnd.document.open();  
            previewWnd.document.write(htmlcontent);  
            previewWnd.document.close();  
            previewWnd.print();  
        } 
 And in the serverside code the following
Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound  
        If TypeOf e.Item Is GridDataItem Then  
 
            Dim dataItem As GridDataItem = DirectCast(e.Item, GridDataItem)  
 
            If Not (e.Item.OwnerTableView.DataSourceID = "SqlDataSource2") Then  
 
dim detailsID as integer = ??? 'How do I get the details id?  
 
                 
Dim ImagePrintButton As ImageButton = DirectCast(dataItem("ImagePrintCol").FindControl("ImagePrint"), ImageButton)  
        ImagePrintButton.Attributes.Add("onclick", "PrintRadGrid('" & detailsID & "'");return false;")  
 
             
            End If  
 
        End If  
 
    End Sub 
How do I get the detailTable ID so I can add it to the print button? Thanks.
Princy
Top achievements
Rank 2
 answered on 11 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?