Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
Hi, You have a few samples on your site that purport to do load on demand, but from what I can tell, they do not provide what I need which is

In radgrid edit mode, a combobox appears and when a few letters of text are typed, we ajax request names that are like the text that is typed at which point you can select one of the items.

The demos I can find populate the combobox with a datatable, but there is no load on demand. The application I am working on provides access to over 10k of names, so loading all of them will result in horrible performance.

If this can be achieved, please let me know.

Dimitar Terziev
Telerik team
 answered on 03 Oct 2011
1 answer
95 views
Hi,
    I'm using telerik radeditor 5.8.11 version. I added a sentence and three words under it. When I added a bullet to the first word it worked fine and then I added bullet to the sentence then it messed up the format. Attached are the images illustating this issue.
Rumen
Telerik team
 answered on 03 Oct 2011
2 answers
279 views
I have a programmatically created RadGrid@

1) when it's rebound (Rebind() method is called) on Page_Init() event and added to a place holder on the page.

below features work fine:
  • Normal load
  • nested tables
  • Export to excel feature - the properties e.g. ExportDataOnly

Below feature doesn't work:
  • RadGrid Paging

2) When Rebind() is called on the RadGrid_PreRender event

The below features work fine:
  • Normal load
  • nested tables
  • RadGrid Paging

the below feature doesn't work:
  • Export to excel feature - the properties e.g. ExportDataOnly

************
Basically, at which event the RadGrid Rebind() method should be called so that all the above features of the RadGrid work?!

I tried these: RadGrid_Load, RadGrid_Init, Page_PreInit, etc but couldn't any location using which all these features work.

Please advise.

Thanks
Pooya
Top achievements
Rank 1
 answered on 03 Oct 2011
1 answer
42 views
Rad Editor is not working in Firefox 6. the details about Rad Editor is Given Below

Name :- RadEditor.Net2

Version :- 7.2.1.0

I also  attached Screenshot in it.
Rumen
Telerik team
 answered on 03 Oct 2011
1 answer
17 views
What's the benefit of using the Google spellchecker as the provider vs the internal one?
Rumen
Telerik team
 answered on 03 Oct 2011
1 answer
55 views
Wasn't sure where to post this question, so if it needs to be moved... feel free.

My problem is this:

I have a RadTabStrip that I use for navigation. If I then click on a link outside of the radtab strip... and then press the back button to get back to my page with the tabstrip, the webpage expires and I have to manually refresh the page. This is only a problem in Internet Explorer. Firefox let's me return to the previous page with no problems.... however the client likes to use IE. Any ideas?

I've investigated caching but so far have been unable to fix this problem.
Dimitar Terziev
Telerik team
 answered on 03 Oct 2011
1 answer
71 views
I can not find the problem out.
Hierarchical Grid, autogenerated column, datasource from my business object.
Here is the code
<telerik:RadGrid    ID="RadGridTableau"
                           runat="server"
                           GridLines="Vertical"
                           AllowPaging="true"
                           allowsorting="true"
                           Skin="Simple"
                           AllowFilteringByColumn="False"
                           AutoGenerateColumns="True"                                   
                           PageSize="10"
                           Width="1500"                                                                      
                           >
                                                                    
       <MasterTableView    NoMasterRecordsText="Nessun Tableau presente."
                           GridLines="Vertical"
                           AllowPaging="true"
                           AllowFilteringByColumn="False"
                           TableLayout="Fixed"
                           Name="TableauMain"
                           DataKeyNames="idTypology"
                           >
 
 
            <DetailTables>
               <telerik:GridTableView DataKeyNames="idRisorsa" Name="TableauDetail" AutoGenerateColumns="true">
                   <Columns>
                                                        
                   </Columns>
               </telerik:GridTableView>
           </DetailTables>
              
           <Columns>
             </Columns>
                                                               
       </MasterTableView>
        
       <ClientSettings enablePostBackOnRowClick="true" >
           <ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents>
           <Selecting AllowRowSelect="True" />
       </ClientSettings>
            
   </telerik:RadGrid>   

Protected Sub RadGridTableau_DetailTableDataBind(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles RadGridTableau.DetailTableDataBind
        Try
 
            Dim dataItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem)
            Dim idTypology As String = dataItem.GetDataKeyValue("idTypology").ToString()
            Dim d1 As Date = RadDatePicker_From.SelectedDate
           Dim d2 As Date = RadDatePicker_To.SelectedDate
 
            Dim polInterface As New POL_Manager.CPolInterface(myConn)
            Dim myDatasource As DataSet = polInterface.StateResources(idTypology, d1, d2, AvailableState)
 
            LogManager.WriteToDebugLog("c:\log\aa\", "RadGridTableau_DetailTableDataBind myDatasource.Tables(0).Columns.Count " & myDatasource.Tables(0).Columns.Count)
 
            e.DetailTableView.DataSource = myDatasource
            'e.DetailTableView.ShowHeader = False 
 
        Catch ex As Exception
            Call LogManager.WriteToErrorLog(errorPath, ClassName, System.Reflection.MethodBase.GetCurrentMethod.Name.ToString(), ex, Err())
        End Try
    End Sub


I have a simple button too, it is used to rebind grid with different values for the business object datasource (polInterface.StateResources(idTypology, d1, d2, AvailableState) ) d1 and d2 are here different then first time
<asp:Button ID="btnRebind" runat="server" Text="Reload" />
Protected Sub btnRebind_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRebind.Click
        Try
            RadGridTableau.Rebind()
 
            For Each item As GridDataItem In RadGridTableau.MasterTableView.Items
                For Each innerView As GridTableView In item.ChildItem.NestedTableViews
                    innerView.DataSource = Nothing
                    innerView.Rebind()
                Next
            Next
        Catch ex As Exception
            Call LogManager.WriteToErrorLog(errorPath, ClassName, System.Reflection.MethodBase.GetCurrentMethod.Name.ToString(), ex, Err)
        End Try
    End Sub


For example:
at the beginning d1=today d2=dateadd("m",1,today) everything ok
I change d1 and d2, press reload button. RadGridTableau_DetailTableDataBind is invoked.
Mastertableaview is correct, show colums and data for the changed period, innerviews still shows old data BUT
 myDatasource.Tables(0).Columns.Count)
tells me they are bound to the correct datasource (gives back coloumn count of new period).

So I first thought to an ajax problem. I removed all the ajax still does not work

Iana Tsolova
Telerik team
 answered on 03 Oct 2011
1 answer
80 views
hi people
I have a problem with  autogenerated  hierarchy grid.grid show expand icon for all rows .i want only show for rows which have child.
in picture shown
please help to me
Shinu
Top achievements
Rank 2
 answered on 03 Oct 2011
1 answer
199 views
Hello,

I have 2 RadSplitter with 1 RadPane inside each.
The first RadPane is loading a page which contains a RadTabStrip.
The second RadPane is loading an URL.

Is it possible to refresh the second RadPane or RadSplitter when I modifi the tab on the RadTabStrip?

Thank you for your help.


Donatien
Dobromir
Telerik team
 answered on 03 Oct 2011
0 answers
104 views
Hi,

I am using RadGrid with MasterTableView and ExpandCollapseColumn.

My problem is, when I expand a row, and select any rows below the expanded row, the checkbox against the previous row got selected.
I am calling SelectRow as:

ClientGrid.MasterTableView.SelectRow(ClientGrid.MasterTableView.Rows[rowIndex].Control,

true);

 


Please suggest.

Regards,
Jeevan

My grid HTML looks like this:

<

 

radG:RadGrid AllowFilteringByColumn="false" Skin="Windows" SkinsPath="~/radcontrols/Grid/skins"

 

 

ID="RadGrid1" CssClass="bg-AdS-000110" runat="server" CellPadding="4" CellSpacing="1"

 

 

GridLines="none" AutoGenerateColumns="false" AllowSorting="true" AllowPaging="true"

 

 

AllowCustomPaging="true" AllowMultiRowSelection="true" OnSortCommand="RadGrid1_SortCommand"

 

 

OnNeedDataSource="RadGrid1_NeedDataSource" OnDetailTableDataBind="RadGrid1_DetailTableDataBind"

 

 

OnItemDataBound="RadGrid1_ItemDataBound" OnItemCommand="RadGrid1_ItemCommand">

 

 

<AlternatingItemStyle CssClass="bg-AdS-001000" HorizontalAlign="left"></AlternatingItemStyle>

 

 

<ItemStyle CssClass="bg-AdS-001011" HorizontalAlign="left"></ItemStyle>

 

 

<HeaderStyle CssClass="bg-AdS-000111" HorizontalAlign="left" />

 

 

<ClientSettings ColumnsReorderMethod="Reorder" AllowExpandCollapse="true" AllowColumnsReorder="true"

 

 

ReorderColumnsOnClient="false">

 

 

<Selecting AllowRowSelect="true" EnableDragToSelectRows="false" />

 

<ClientEvents OnRowSelecting="RowSelecting" OnRowDeselected="RowDeselected" OnRowSelected="RowSelected"

 

 

OnGridCreated="GridCreated" />

 

 

</ClientSettings>

 

 

<MasterTableView AllowMultiColumnSorting="false" AllowCustomSorting="true" DataMember="master"

 

 

Name="masterName" HierarchyLoadMode="ServerOnDemand" DataKeyNames="x,y,z"

 

 

Width="100%" CellPadding="0" CellSpacing="0" GridLines="None" BorderWidth="0">

 

 

<ExpandCollapseColumn CommandName="ExpandCollapse" UniqueName="expandC">

 

 

<HeaderStyle BackColor="#E0E0E0" CssClass="DashboardHeader" />

 

 

<ItemStyle Width="1" />

 

 

</ExpandCollapseColumn>

 

 

<DetailTables>

 

 

<radG:GridTableView AllowFilteringByColumn="false" runat="server" GridLines="None"

 

 

CellPadding="0" CellSpacing="0" HierarchyLoadMode="Client" HierarchyDefaultExpanded="true"

 

 

Width="100%" DataMember="details" Name="detailsName" ShowHeader="false">

 

 

<Columns>

 

 

<radG:GridTemplateColumn AllowFiltering="false">

 

 

<ItemTemplate>

 

 

<uc1:ItemDetails runat="server" ID="IDetails"></uc1:ItemDetails>

 

 

</ItemTemplate>

 

 

<ItemStyle BackColor="#FFFFFF" BorderWidth="0" />

 

 

</radG:GridTemplateColumn>

 

 

</Columns>

 

 

</radG:GridTableView>

 

 

</DetailTables>

 

 

<Columns>

 

 

<radG:GridClientSelectColumn UniqueName="CS" Reorderable="false">

 

 

<HeaderStyle Width="20" />

 

 

</radG:GridClientSelectColumn>

 

 

<radG:GridTemplateColumn HeaderStyle-HorizontalAlign="left" Reorderable="false">

 

 

<ItemStyle Wrap="False"></ItemStyle>

 

 

<ItemTemplate>

 

 

&nbsp;

 

 

<asp:ImageButton ID="IB_Notes" onMouseout="hideddrivetip()" runat="server" ImageUrl="~/Images/add_note.gif"

 

 

OnClick="NotesView_Click"></asp:ImageButton>

 

 

<asp:Image ID="IMG_Notes" Visible="false" onMouseout="hideddrivetip()" runat="server"

 

 

ImageUrl="~/images/add_note.gif" />

 

 

<asp:Image ID="IB_Error" Visible="false" onMouseout="hideddrivetip()" runat="server"

 

 

ImageUrl="~/images/icon/ico_error.gif"></asp:Image>

 

 

<asp:ImageButton ID="IB_PreflightChk" Visible="false" runat="server" OnClick="IB_PreflightChk_Click"

 

 

ImageUrl="~/Images/icon_success.gif" />

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridTemplateColumn SortExpression="BuyerSuppliedProductName" HeaderText="xxx"

 

 

HeaderStyle-Wrap="true">

 

 

<ItemStyle Wrap="true"></ItemStyle>

 

 

<ItemTemplate>

 

 

<asp:HyperLink ID="HL_JN" runat="server" NavigateUrl="javascript:;" Text='zzz'></asp:HyperLink>

 

 

<asp:HyperLink ID="HL_JN1" runat="server" NavigateUrl="javascript:;" Text='zzz'></asp:HyperLink>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridBoundColumn SortExpression="ProductName" DataField="ProductName" HeaderText="xxx"

 

 

HeaderStyle-Wrap="true" ItemStyle-HorizontalAlign="left" HeaderStyle-HorizontalAlign="left">

 

 

<ItemStyle Wrap="true" />

 

 

</radG:GridBoundColumn>

 

 

<radG:GridTemplateColumn SortExpression="Cost" HeaderText="xxx"

 

 

HeaderStyle-Wrap="false">

 

 

<HeaderStyle HorizontalAlign="left" />

 

 

<ItemStyle Wrap="False" HorizontalAlign="right"></ItemStyle>

 

 

<ItemTemplate>

 

 

<asp:HyperLink ID="HL_Quote" Target="_blank" runat="server" Text='xxx'></asp:HyperLink>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridTemplateColumn SortExpression="DueDate" HeaderText="xxx"

 

 

HeaderStyle-Wrap="false">

 

 

<ItemStyle Wrap="False"></ItemStyle>

 

 

<ItemTemplate>

 

 

<asp:Label ID="LBL_ItmDD" runat="server" Text='xxx'></asp:Label>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridBoundColumn DataField="CopOrgImp" AllowSorting="false" HeaderText="xxx"

 

 

ItemStyle-HorizontalAlign="right" ItemStyle-Wrap="false" HeaderStyle-HorizontalAlign="left"

 

 

ItemStyle-Width="1">

 

 

<HeaderStyle Wrap="false" />

 

 

</radG:GridBoundColumn>

 

 

<radG:GridTemplateColumn HeaderText="ccc" HeaderStyle-Wrap="false">

 

 

<ItemStyle Wrap="False"></ItemStyle>

 

 

<ItemTemplate>

 

 

<asp:Label ID="LBL_ItmNUP" runat="server" Text='xxx'></asp:Label>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn><radG:GridTemplateColumn SortExpression="OutputName" HeaderText="<%$ String:OperatorView.OutPut %>"

 

 

HeaderStyle-Wrap="false">

 

 

<ItemStyle Wrap="False"></ItemStyle>

 

 

<ItemTemplate>

 

 

<asp:Label ID="LBL_ItmOP" runat="server" Text='aaa'></asp:Label>

 

 

</ItemTemplate>

 

 

</radG:GridTemplateColumn>

 

 

<radG:GridBoundColumn SortExpression="StatusName" DataField="StatusName" HeaderText="vvv"

 

 

HeaderStyle-Wrap="false" ItemStyle-HorizontalAlign="left" HeaderStyle-HorizontalAlign="left">

 

 

</radG:GridBoundColumn>

 

 

<radG:GridBoundColumn SortExpression="OperatorName" DataField="OperatorName" HeaderText="bvb"

 

 

HeaderStyle-Wrap="false" ItemStyle-HorizontalAlign="left" HeaderStyle-HorizontalAlign="left">

 

 

</radG:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Resizing AllowColumnResize="False" />

 

 

</ClientSettings>

 

 

</radG:RadGrid>

 

Jeevan
Top achievements
Rank 1
 asked on 03 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?