Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
68 views
Hi Team,
    A scenario like this i have a root folder called FileExplorer/default/documents/  inside the ../documents folder i have some folders called
apple,orange,banana,mango,lime.  In these folders i want to show only apple and lime in Treeview(I think that, Normally which folder is visible in the treeview the same folder and their files only can view in the grid also), and those folders should allow all the properties like Create folder(that is sub folder), delete(sub folders and files) , upload(all the file formats inside the folder) and etc ...
 
Can u please help me how to do like this



Thank you all,
Ramesh
Top achievements
Rank 1
 answered on 13 Dec 2011
1 answer
103 views
Hi Telerik,

please have a look at the attached .jpg image.

the radwindow getting blured in some systems. this is not cooming for all our clients. only some clients it happening.
please let us know what will be the reason for this..


Princy
Top achievements
Rank 2
 answered on 13 Dec 2011
3 answers
101 views
I have RadGrid in my Webpage like as below:

  function GridCreated(sender, args)
     {
        var grid = sender;
        var masterTable = sender.get_masterTableView();
        masterTable.selectAllItems(true);
     }

<
telerik:RadGrid ID ="CandidatesGrid" runat="server" ShowStatusBar="false" AllowPaging="True" AllowSorting="True"
                PageSize="3"  AllowMultiRowSelection="True" GridLines="None" Skin="Outlook" EnableAjaxSkinRendering="true" Width="100%" OnItemCreated="CandidatesGrid_ItemCreated">
                                                             
 <MasterTableView Width="100%" ShowHeader="false" ClientDataKeyNames="ID" GroupLoadMode="Client" AutoGenerateColumns="false" CommandItemDisplay="top">
 <CommandItemTemplate>
  <table>
 <tr>
                                                                <td>
                                                                <label id="lblSelectJobs" runat="server" >Select Jobs</label>
                                                                </td>
                                                                <td>
                                                                <asp:LinkButton ID="lnkSelectAll" runat="server" CommandName="SelectAll" Style="" OnClientClick="SelectRows">Select All</asp:LinkButton>
                                                                </td>
                                                                <td>
                                                                <label id="lblLinkSeparater" runat="server">|</label>
                                                                </td>
                                                                <td>
                                                                <asp:LinkButton ID="lnkDeSelectAll" runat="server" CommandName="DeSelectAll" Style="">DeSelect All</asp:LinkButton>
                                                                </td>
                                                                </tr>
                                                                </table>
                                                            </CommandItemTemplate>
                                                                <Columns>              
                                                                    <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" AutoPostBackOnFilter="true" ItemStyle-VerticalAlign="Top"/>
                                                                   <telerik:GridBoundColumn Visible="False" DataField="ID" UniqueName="ID" ItemStyle-Width="0"  />
                                                                   <telerik:GridBoundColumn HeaderText="JobDetails" DataField="JobDetails" UniqueName="JobDetails" />
                                                                     
                                                                </Columns>
                                                            </MasterTableView>
                                                            <ClientSettings EnableRowHoverStyle="true">
                                                                <Selecting AllowRowSelect="True" />
                                                                <ClientEvents OnRowSelected="GetSelectedNames" OnGridCreated="GridCreated"/>
                                                            </ClientSettings>        
                                                        </telerik:RadGrid>

My aim is to select all Checkbox on Page Load and When click the SelectAll link in the commandItem template and to deselect all checkbox when click deselectall link in commanditem template. I also want to get the index of the individual checkbox when clicking each checkbox.
To implement this I used the javascript property. RadGrid.get_masterTableView().selectAllItems(true)  as referred in the ome of the post in telerik forum.
But the result is a javascript error: object doesnot support this propert or method. I use Telerik 2008 version.
Please reply any solution to select all checkboxes on page load.
Regards,
Tinoy
Shinu
Top achievements
Rank 2
 answered on 13 Dec 2011
1 answer
452 views
I have to a dropdown list ddlAction inside radgrid (radgrid inside updatepanel). I need to select different items  in the dropdown to open different radwindow. In my case, have to open on server side, due to one of the dropdown item does dowload file (response.writefile) so the dropdown have to do full post pack(RegisterPostBackControl(ddlAction));

The problem is when I use Window1.VisibleOnPageLoad = true; like beow, after I did Window2.VisibleOnPageLoad = true; then go back  to Window1.VisibleOnPageLoad = true; both windows opened, how to avoid that? I only need to open one winow at at time, don't understand why when call window1 open after click widow2 open, both of them opened at the same time?


  

switch (PageIndex)
{
  case 1:
   RadWindow Window1;
   Window1 = (RadWindow)Page.Master.FindControl("wndWindow1");
   Window1.VisibleOnPageLoad = true;
   break;
  case 2:
   RadWindow Window2;
   Window2 = (RadWindow)Page.Master.FindControl("wndWindow2");           
   Window2.VisibleOnPageLoad = true;
   break;
}  
Shinu
Top achievements
Rank 2
 answered on 13 Dec 2011
1 answer
69 views
Most grid events have a Changed event (Index, Sort, PageSize, etc.) but Groups only have a Changing event..??

Shinu
Top achievements
Rank 2
 answered on 13 Dec 2011
1 answer
163 views
Is there are way to drag and drop items that are within a datalist.  See code below, i want to be able to drag and drop rows "Make, Model,....  Thanks.

Here is some sample code:
<telerik:RadGrid ID="RadGrid1" AllowFilteringByColumn="true" runat="server" GridLines="None" AllowPaging="true" AllowSorting="true" PageSize="6">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView TableLayout="Fixed">
            <ItemTemplate>
                <%# (((GridItem)Container).ItemIndex != 0)? "</td></tr></table>" : "" %>
                <asp:Panel ID="ItemContainer" CssClass='<%# (((GridItem)Container).ItemType == GridItemType.Item)? "item" : "alternatingItem" %>' runat="server">
                    <b>Make:</b>
                    <%# Eval("Make")%>
                    <br />
                    <b>Model:</b>
                    <%# Eval("Model")%>
                    <br />
                    <b>Year:</b>
                    <%# Eval("Year")%>
                    <br />
                </asp:Panel>
            </ItemTemplate>
        </MasterTableView>
        <GroupingSettings CaseSensitive="false" />
        <ClientSettings AllowDragToGroup="true" AllowRowsDragDrop="true">
            <Selecting AllowRowSelect="true" />
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
        </ClientSettings>
    </telerik:RadGrid>
</asp:Content>

Shinu
Top achievements
Rank 2
 answered on 13 Dec 2011
1 answer
91 views
Hi All,

I have a RadComboBox that I need to cancel events on the client-side blur event. There are no javascript errors in Firefox. However, in IE I receive the following error:

Line: 498
Error: Object doesn't support property or method 'set_cancel'

The Java Script :

function onBlur(sender, eventArgs) {
        eventArgs.set_cancel(true);
}

And the control:
<telerik:RadComboBox runat="server" ID="RadComboBox1" ToolTip="RadComboBox"  Width="100px" DataSource="<%# Model.TestData%>" DataTextField="TestText"    DataValueField="TestID" Skin="SampleSkin" EnableEmbeddedSkins="false" OnDataBound="RadComboBox1_DataBound"  OnClientBlur="onBlur">
</telerik:RadComboBox>

Please assist.

Thanks,
Betty
Princy
Top achievements
Rank 2
 answered on 13 Dec 2011
1 answer
325 views
Hello,

I currently have a RadGrid that is configured for exporting PDF and Excel files.  An Excel and PDF icon automatically appear in the upper right of the grid.

How can I change it so that the PDF and Excel buttons appear at the Bottom Right of the RadGrid (and also Bottom Left)...

Thanks,
Jai
Shinu
Top achievements
Rank 2
 answered on 13 Dec 2011
3 answers
99 views
I have a rad grid with a grid template column of checkboxes. Some are checked and some aren't, I do that in the code behind on the item data bound event. I have a button to export to excel but I need to export only the rows that aren't checked. I really don't even know where to start to do this. What would be the best way to go about this? Here's how I'm exporting right now.

Protected Sub export_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles export.Click
     RadGrid1.ExportSettings.OpenInNewWindow = True
     RadGrid1.ExportSettings.ExportOnlyData = True
     RadGrid1.ExportSettings.IgnorePaging = True
     RadGrid1.MasterTableView.ExportToExcel()
 End Sub
Web Services
Top achievements
Rank 2
 answered on 12 Dec 2011
4 answers
75 views
Hi,

I'm currently evaluating the ASP.NET AJAX Telerik components for use in a Daily Employee Scheduler web app I'll be making.  I've looked at both the RadScheduler and RadGrid however I don't think either fully meets our needs and I'm wondering what you would suggest I use (if any).

The app will generate a schedule that consists of which area the employee will be working for a given day (time ranges etc don't matter).  I also want to be able to drag and drop a work area between two employees and have their value swap, or click to modify on an assigned area to easily change it.  If we think of this as a grid, employee names would be the row header, the date would be the column header and the work area would be the cell value.

The RadScheduler component is attractive (easily able to move around appointments and create new ones), but looks like it's hard coded to have times along the left hand column, ideally I'd like to have employee's names there and the date on the top column but I don't know if that is possible.

The RadGrid component is also attractive, but there doesn't seem to be support for dragging and dropping cells in it, only entire rows.

Any input would be appreciated.  Thanks!
Travis
Top achievements
Rank 1
 answered on 12 Dec 2011
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?