Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views
Hello,
I have a web application (Visual Studio.net, v.2008) that uses the RadGrid control.  The grid works fine when viewing the application from localhost on my desktop development environment.  It also works fine when connected to the server and running it from the web address.  The issue is that if I run it from another pc using the web address, I can not see the grid.  Please help!
Maria Ilieva
Telerik team
 answered on 29 Oct 2012
1 answer
228 views
hi expert,
i am working with telerik file explorer form last 2 weeks can you please suggest the way / possibility
1 ) to show the size uint like (kb ,mb ) beside the the size number in the second pane
2) when we upload the file ,in the upload window when we click on add button we get unlimited select (browse) s
is there any way to restrict to some n number of selects
let me know the possibility for those if possible please suggest me how can we show the unit metric along with file

i hope you understand my issue .

Thanks & Regards,
m.koteswara Rao.
Princy
Top achievements
Rank 2
 answered on 29 Oct 2012
4 answers
152 views
Hi,
I need to remove the rows in radgrid on click of "Del" in keyboard. So I browsed the forum and got a solution to remove the radgrid rows from client side from this link
http://www.telerik.com/community/forums/aspnet-ajax/grid/delete-all-rows-in-a-radgrid-with-javascript.aspx#917286
So i got the below code

 

 

 

 

 

function keyPress(sender, eventArgs) {
        // Del button pressed
        if (eventArgs.get_keyCode() == 127) {
            var masterTable = sender.get_masterTableView();
            for (i = 0; i < masterTable.get_selectedItems().length; i++) {
                var it = masterTable.get_selectedItems()[i];
                var element = it.get_element();
                element.deleteRow(element.rowIndex);
            }
        }

After selecting the rows and Del key clicked in keyboard the event is called correctly. But the value of get_selectedItems() is incrementing without the newly selected list of items. Lets say first time if I select 1 row then the value of masterTable.get_selectedItems().length is 1 then Del click removed the row. Next time when i selected 2 rows and checked the value of masterTable.get_selectedItems().length, it is 3.
Why the selected items length is incrementing without being refreshed to 0.
Is my approach correct?

Eyup
Telerik team
 answered on 29 Oct 2012
3 answers
268 views

Hello group,

I'am trying to add a gridview to a radgrid detailtable from code behind. De radgrid is databound from the code behind with datatables. Now i want to add a gridview on the ItemDataBound event of the radgrid. I have the following snippet aspx:

<telerik:GridTableView Name="Sales" AutoGenerateColumns="false" Width="100%" DataKeyNames="DetailCode,DetailSubCode"
                                       ShowHeadersWhenNoRecords="false" HierarchyDefaultExpanded="true" HierarchyLoadMode="ServerOnDemand">
                                       <DetailTables>
                                           <telerik:GridTableView Name="Planning">
                                               <ItemTemplate>
                                               <asp:GridView ID="GridView1" runat="server">
                                                   </asp:GridView>
                                               </ItemTemplate>
                                           </telerik:GridTableView>
                                           <telerik:GridTableView AutoGenerateColumns="false" DataKeyNames="ProdHeaderDossierCode"
                                               HierarchyDefaultExpanded="false" Name="ProdDossier">
                                               <ParentTableRelation>
                                                   <telerik:GridRelationFields DetailKeyField="DetailCode" MasterKeyField="DetailCode" />
                                                   <telerik:GridRelationFields DetailKeyField="DetailSubCode" MasterKeyField="DetailSubCode" />
                                               </ParentTableRelation>
                                               <Columns>
                                                   <telerik:GridBoundColumn DataField="ProdHeaderDossierCode" HeaderText="ProdDossier">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="ProdStatusCode" HeaderText="St.">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="StartDate" HeaderText="Start">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="EndDate" HeaderText="Eind">
                                                   </telerik:GridBoundColumn>
                                               </Columns>
                                               <NoRecordsTemplate>
                                                   <div style="text-align: center;">
                                                       Geen gegevens</div>
                                               </NoRecordsTemplate>
                                               <DetailTables>
                                                   <telerik:GridTableView Name="Oper" AutoGenerateColumns="false" Width="100%" DataKeyNames="ProdHeaderDossierCode"
                                                       ShowHeadersWhenNoRecords="false" HierarchyDefaultExpanded="false" HierarchyLoadMode="ServerOnDemand">
                                                       <ParentTableRelation>
                                                           <telerik:GridRelationFields DetailKeyField="ProdHeaderDossierCode" MasterKeyField="ProdHeaderDossierCode" />
                                                       </ParentTableRelation>
                                                       <Columns>
                                                           <telerik:GridBoundColumn DataField="MachGrpCode" HeaderText="Bew.">
                                                           </telerik:GridBoundColumn>
                                                           <telerik:GridBoundColumn DataField="ProdBooStatusCode" HeaderText="St.">
                                                           </telerik:GridBoundColumn>
                                                           <telerik:GridBoundColumn DataField="MachPlanTime" HeaderText="Bew.PT">
                                                           </telerik:GridBoundColumn>
                                                           <telerik:GridBoundColumn DataField="StartDate" HeaderText="Start">
                                                           </telerik:GridBoundColumn>
                                                           <telerik:GridBoundColumn DataField="EndDate" HeaderText="Eind">
                                                           </telerik:GridBoundColumn>
                                                           <telerik:GridCheckBoxColumn DataField="OperStartedInd" HeaderText="Gestart" ItemStyle-HorizontalAlign="Center">
                                                           </telerik:GridCheckBoxColumn>
                                                           <telerik:GridCheckBoxColumn DataField="OperFinishedInd" HeaderText="Gereed" ItemStyle-HorizontalAlign="Center">
                                                           </telerik:GridCheckBoxColumn>
                                                       </Columns>
                                                       <NoRecordsTemplate>
                                                           <div style="text-align: center;">
                                                               Geen gegevens</div>
                                                       </NoRecordsTemplate>
                                                   </telerik:GridTableView>
                                               </DetailTables>
                                           </telerik:GridTableView>
                                       </DetailTables>




And the code for ItemDataBound:



    Protected Sub RgNav_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RgNav.ItemDataBound
        If e.Item.ItemType = GridItemType.Item Then
            If e.Item.OwnerTableView.Name = "Sales" Then
                Dim DetailCode As String = e.Item.Cells(2).Text
                Dim DetailSubCode As String = e.Item.Cells(3).Text
                For Each Table As GridTableView In e.Item.OwnerTableView.DetailTables
                    If Table.Name = "Planning" Then
                        Dim Gv As GridView = Table.FindControl("GridView1")
                        Gv.DataSource = "Something"
                        Table.Controls.Add(Gv)
                    End If
                Next
            End If
        End If
    End Sub

Any help is welcome.

Thanks in advance,

René

Princy
Top achievements
Rank 2
 answered on 29 Oct 2012
6 answers
313 views
Is there any way to force a the grid to refresh when a treeview node is selected in the RadFileExplorer? On the first selection is appears to load up okay, but after that is seems to use the preloaded data. I need it to refresh each time the folder is selected if possible.
Rohan
Top achievements
Rank 1
 answered on 29 Oct 2012
1 answer
51 views
Kindly see my attach picture.
Kate
Telerik team
 answered on 29 Oct 2012
1 answer
64 views
Hi,

When I right-click twice on an image in the Thumbnail Explorer the "RENAME" and "DELETE" items become greyed-out.

Marc
Dobromir
Telerik team
 answered on 29 Oct 2012
1 answer
104 views
Hello, please help.
I'm working with RadHtmlChart
I'm using the event OnClientSeriesHovered
but now I need the opposite case.
When I remove the cursor from one of the columns ...
Princy
Top achievements
Rank 2
 answered on 29 Oct 2012
1 answer
87 views
HI

in RadGrid_ItemCreated we have a logic to show and Hide controls in RadGrid.
we have button in RadGrid which wil load new data in RadGrid when we Click the button newly added data is shown
but RadGrid_ItemCreated is not firing so all the Controls are Getting Showed 

how to fire RadGrid_ItemCreated  during second   bind.

Qucik responce will be Highly Appriciated.

PL Help!

Thanks, Harin
 
Shinu
Top achievements
Rank 2
 answered on 29 Oct 2012
1 answer
134 views
I am using RadCalendar with special days. how can i check selected Date not equals to special days in asp.net.

Thanks.
Princy
Top achievements
Rank 2
 answered on 29 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?