Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Hello there,

I was wondering if there is any way to determine the rows of a data source that has been filtered out in RadGrid? I notice that when I type in a filter, the MasterTableView no longer has the "Item" in its Items array. Is there a way to identify what's filtered out in terms of an index into the original data source?

As a bit of background - I'm trying to export a table as a CSV file. But if I use ExportAsCsv() then the custom columns (that uses a function to render some HTML) doesn't show up in the output. So I'm trying to see if I can determine the filtered-in/out rows and build the CSV myself using the original data source.

If there is another way to achieve what I'm trying to do that would also be great. Your help is much appreciated.

Thanks,
Ray
Princy
Top achievements
Rank 2
 answered on 05 Jan 2010
3 answers
142 views
I have a RadTabStrip and RadMultipage inside a RadPane like this:

<telerik:RadTabStrip ID="RadTabStripSearchResults" runat="server"  
         SelectedIndex="0" MultiPageID="RadMultiPage1"
</telerik:RadTabStrip> 
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width="100%" Height="100%"
</telerik:RadMultiPage> 

In the code behind I have a search button that will search a database and return a DataTable that I am then passing to this function:

        private void AddSearchPageView(System.Data.DataTable dt) 
        { 
            RadTab resultTab = new RadTab("Search " + Session["searchCount"].ToString() + " (" + dt.Rows.Count.ToString() + ")"); 
             
            RadPageView pageSearch = new RadPageView(); 
            //resultTab.PageViewID = pageSearch.ID = "pageSearch" + Session["searchCount"].ToString(); 
             
            RadGrid gridResults = new RadGrid(); 
            System.Data.DataTable dtResults = new System.Data.DataTable(); 
            dtResults = dt; 
            gridResults.ID = "gridResults" + Session["searchCount"].ToString(); 
            gridResults.DataSource = dtResults; 
            gridResults.DataBind(); 
            pageSearch.Controls.Add(gridResults); 
             
            RadTabStripSearchResults.Tabs.Add(resultTab); 
             
            RadMultiPage1.PageViews.Add(pageSearch); 
            RadTabStripSearchResults.SelectedIndex = RadMultiPage1.SelectedIndex = RadMultiPage1.PageViews.Count - 1; 
        } 

The search is working fine, and the AddSearchPageView() seems to be adding one tab for each set of results, and the associated pageview. The problem I am having is that only the last tab is showing the RadGrid.

1. I would like to create a new tab for each search, and then the user can select the tab to view those search results. 
2. I would also like to know if there is a way to add a close 'x' to the tab that will remove the tab and associated RadPageView

Thank you
Yana
Telerik team
 answered on 05 Jan 2010
1 answer
66 views
Hello,

            I am new to the silverlight.
            I am using silverlight grid in my application, but i dont know how to apply paging & sorting in it.

           Please help me to sort out this query.



Thanks,
Kunal Patel


Vlad
Telerik team
 answered on 05 Jan 2010
2 answers
80 views
Hi telerik team,
I'm experiencing a problem upon drag & drop action of a rad tree view on rad grid. when i drag a node, the respective text is displayed at the right end of my browser screen. Any idea to resove this. I want it to be stick beneath mouse location as tree view demo depicts.
Munir Jawad
Top achievements
Rank 1
 answered on 05 Jan 2010
1 answer
48 views
I have a grouped grid that pops up a detail view in a RadWindow when a row is selected. I would also like to display something when the group footer is selected, but it doesn't appear that Group Footers can be selected. Is there a way to do this?

Thanks, Steve
Shinu
Top achievements
Rank 2
 answered on 05 Jan 2010
2 answers
76 views
<telerik:RadInputManager ID="RadInputManager1" runat="server"> 
    <telerik:TextBoxSetting Validation-IsRequired="true">
                        <TargetControls>
                            <telerik:TargetInput ControlID="tb_user_loginname" />
                            <telerik:TargetInput ControlID="tb_user_pass" />
                            <telerik:TargetInput ControlID="tb_user_name" />
                            <telerik:TargetInput ControlID="tb_group_name" />
                        </TargetControls>
     </telerik:TextBoxSetting>
</telerik:RadInputManager>

I used the upon code for checking the textbox input, but it have problem when entering a space to the textbox.
It will pass the checking. Can i checking with the space ?
silver chan
Top achievements
Rank 1
 answered on 05 Jan 2010
4 answers
200 views
Dear Telerik,

I have this menu in xml file
i need to implement it as XMLDatasource
How i can do this ?
Note : i try several method without solution
it give me this error
DataBinding: 'System.Web.UI.WebControls.XmlHierarchyData' does not contain a property with the name 'NavigateUrl'.

<?

 

xml version="1.0" encoding="utf-16"?>

 

<

 

Menu Skin="Red" EnableEmbeddedSkins="False" Style="left: 0px">

 

<

 

Group>

 

<

 

Item Text="Incoming">

 

<

 

Group>

 

<

 

Item Text="Incoming" NavigateUrl="Incoming/Income.aspx" />

 

</

 

Group>

 

</

 

Item>

 

<

 

Item Text="Outgoing">

 

<

 

Group>

 

<

 

Item Text="Outgoing" NavigateUrl="Outgoing/Outgoing.aspx" />

 

</

 

Group>

 

</

 

Item>

 

<

 

Item Text="Setup">

 

<

 

Group>

 

<

 

Item Text="Departments" NavigateUrl="Setup/Departments.aspx" />

 

<

 

Item Text="Managments" NavigateUrl="Setup/Managements.aspx" />

 

<

 

Item Text="Sections" NavigateUrl="Setup/Sections.aspx" />

 

<

 

Item Text="Subjects" NavigateUrl="Setup/Subjects.aspx" />

 

<

 

Item Text="Main Groups" NavigateUrl="Setup/MainGroups.aspx" />

 

<

 

Item Text="Branch Groups" NavigateUrl="Setup/BranchGroupsMain.aspx" />

 

<

 

Item Text="Incoming and Outgoing Method" NavigateUrl="Setup/InOutMethod.aspx" />

 

</

 

Group>

 

</

 

Item>

 

<

 

Item Text="Reports">

 

<

 

Group>

 

<

 

Item Text="Report Incoming And Outgoing" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ImportsReports_En&amp;rs:Command=Render" />

 

<

 

Item Text="Report Incoming and Outgoing Canceled" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ReportInOutCanceled_En&amp;rs:Command" />

 

<

 

Item Text="Report Outgoing With Incoming" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ReportOutWithIn_En&amp;rs:Command=Render" />

 

<

 

Item Text="Report Incoming With Outgoing" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ReportInWithOut_En&amp;rs:Command=Render" />

 

<

 

Item Text="Report Incoming Without Outgoing" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ReportInWithoutOut_En&amp;rs:Command=Render" />

 

<

 

Item Text="Report Outgoing Without Incoming" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ReportOutWithoutIn_En&amp;rs:Command=Render" />

 

<

 

Item Text="Report Internal Outgoing" NavigateUrl="http://galaxyserver/ReportServer/Pages/Report.aspx?/ArchiveReportProject/ReportInternalOut_En&amp;rs:Command=Render" />

 

</

 

Group>

 

</

 

Item>

 

</

 

Group>

 

</

 

Menu>


Best Regards,
Ahmad

 

nick b-w
Top achievements
Rank 1
 answered on 05 Jan 2010
2 answers
99 views
Hi all,

  I am developing a site that uses XmlHttpPanel to display the product information.  The XmlHttpPanel is load using the Telerik rotator a product menu in the left hand side navigation.  This works great.

  Yesterday I develop a third tool to display all the images for the product in a jquery jCarouselLite carousel.  On page load the page displays perfect with a working carousel.  If I select another product the XmlHttpPanel refreshes with the new product content info, however the carousel does not.

  What is the best way to reload the function for jquery carousel? Maybe in the Service call in the code behind for the XmlHttpPanel?

David
David
Top achievements
Rank 1
 answered on 05 Jan 2010
1 answer
113 views

I have a radgrid with editmode = inplace.  I just need to hide a radcombobox within an 

 

EditItemTemplate

 

during editmode, but not insert.
I tried doing a findcontrol("RadComboBox") during the ItemCommand event for 

 

RadGrid

 

.EditCommandName, but it just came back as null.

Any ideas?

Daniel
Telerik team
 answered on 04 Jan 2010
6 answers
295 views

Hello,

I am trying to figure out how to disable the ability to click a root item in the RadMenu control or at least stop the selected style from applying to it.  The radmenu is populated via a sitemap file and the root nodes do not have a URL defined for them.  I have tried to set all root items with the postback of false via the code below:

    Protected Sub rmMainMenu_DataBound(ByVal sender As ObjectByVal e As System.EventArgs) _  
        Handles rmMainMenu.DataBound  
 
        For Each rootItem As RadMenuItem In sender.Items  
            rootItem.PostBack = False 
        Next 
 
    End Sub 
 

However, this doesn't do anything and I can still click the node and when I do, the clicked style will still apply.  The only time I want the clicked selected style to apply to the root node is if a child node has been selected.  Any assistance would be greatly appreciated.

Thanks,
Ron
Ron
Top achievements
Rank 2
 answered on 04 Jan 2010
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?