Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views
Hi,
     Guys i want to know how many records in radgrid after apply Filtering By Column.
Schlurk
Top achievements
Rank 2
 answered on 25 Mar 2010
3 answers
90 views
Hi

I have a data bound PanelBar that will not collapse.

This is the rendered HTML

<div id="ctl00_Main_nav1_RadPanelBar2" class="RadPanelBar RadPanelBar_mresource" style="height:300px;"> 
    <ul class="rpRootGroup"> 
        <li class="rpItem rpFirst"><a href="./" class="rpLink"><span class="rpOut"><span class="rpText">Home</span></span></a></li> 
        <li class="rpItem"><a href="reporting/" class="rpLink"><span class="rpOut"><span class="rpText">Dashboard</span></span></a></li> 
        <li class="rpItem"><a href="#" class="rpLink rpExpandable rpExpanded"><span class="rpOut"><span class="rpText">Reporting</span></span></a><div class="rpSlide" style="display:block;"> 
            <ul class="rpGroup rpLevel1 " style="display:block;"> 
                <li class="rpItem rpFirst"><a href="pages/c.aspx" class="rpLink"><span class="rpOut"><span class="rpText">SMS Applicants</span></span></a></li> 
                <li class="rpItem"><a href="reporting/conversion/" class="rpLink"><span class="rpOut"><span class="rpText">Conversion Rate</span></span></a></li> 
                <li class="rpItem"><a href="reporting/source/" class="rpLink"><span class="rpOut"><span class="rpText">Candidate Source</span></span></a></li> 
                <li class="rpItem"><a href="reporting/livesms/" class="rpLink"><span class="rpOut"><span class="rpText">Live SMS</span></span></a></li> 
                <li class="rpItem"><a href="reporting/poll/" class="rpLink"><span class="rpOut"><span class="rpText">Poll Results</span></span></a></li> 
                <li class="rpItem rpLast"><a href="reporting/mapping/" class="rpLink"><span class="rpOut"><span class="rpText">Mapping</span></span></a></li> 
 
            </ul> 
        </div></li><li class="rpItem rpLast"><a href="#" class="rpLink rpExpandable rpExpanded"><span class="rpOut"><span class="rpText">Campaign Tools</span></span></a><div class="rpSlide" style="display:block;"> 
            <ul class="rpGroup rpLevel1 " style="display:block;"> 
                <li class="rpItem rpFirst rpLast"><a href="pages/v.aspx" class="rpLink"><span class="rpOut"><span class="rpText">Visitors</span></span></a></li> 
            </ul> 
        </div></li> 
    </ul><input id="ctl00_Main_nav1_RadPanelBar2_ClientState" name="ctl00_Main_nav1_RadPanelBar2_ClientState" type="hidden" /> 
</div> 

And this is the code that created it

<telerik:RadPanelBar runat="server" ID="RadPanelBar2" Height="300px"  EnableEmbeddedSkins="false" Skin="mresource" 
         DataFieldID="MenuItemId" DataFieldParentID="ParentID"  > 
        <DataBindings> 
        <telerik:RadPanelItemBinding Depth="0"  TextField="Text"  NavigateUrlField="NavigateURL" ExpandedField="Expanded" /> 
        <telerik:RadPanelItemBinding Depth="1" TextField="Text" NavigateUrlField="NavigateURL"  /> 
        
        </DataBindings> 
        </telerik:RadPanelBar> 
 
I have created a version of the PanelBar manually entering the items and the rendered html is the same, but the expanded items collapase.

The difference that I can see is that in the databound version I pass in a NULL as the NavigateURL for the items I want to collapse where as on the static version I do not use the NavigateURL attribute at all.

Thanks

Mark

Veselin Vasilev
Telerik team
 answered on 25 Mar 2010
7 answers
254 views
Hi

We have a simple page which is displayed in a rad window containing a two column html table and a command button.  The rad window is set to autosize.

When we add a Form Decorator to the page the window resizes incorrectly and adds scroll bars.

Is there something we have overlooked?

Below is a simple example of the two pages we have.

Default.aspx
<html xmlns="http://www.w3.org/1999/xhtml">  
    <head runat="server">  
        <title></title>  
    </head> 
      
    <body> 
        <form id="form1" runat="server">  
          
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
            </telerik:RadScriptManager> 
 
            <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="Default2.aspx" AutoSize="true" VisibleOnPageLoad="true">  
            </telerik:RadWindow> 
          
        </form> 
    </body> 
</html> 
 

Default2.aspx
<html xmlns="http://www.w3.org/1999/xhtml">  
    <head runat="server">  
        <title></title>  
    </head> 
 
 
    <body> 
        <form id="form1" runat="server">  
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>   
            <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" /> 
              
            <asp:Button ID="Button2" runat="server" Text="Button" /> 
            <table> 
                <tr> 
                    <td><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>  
                    <td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>  
                </tr>   
                <tr> 
                    <td><asp:Label ID="Label2" runat="server" Text="Label"></asp:Label></td>  
                    <td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>  
                </tr> 
                <tr> 
                    <td><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></td>  
                    <td><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>  
                </tr> 
            </table> 
        </form> 
    </body> 
</html> 

Thanks in advance.

Eric Klein
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
94 views
can anyone tell me is there any way to get the radgrid control currently selected cell or activecell value
Schlurk
Top achievements
Rank 2
 answered on 25 Mar 2010
3 answers
153 views
Hey at Telerik

I would like too know if there is a way to set the tooltip text for the expandcolumn on detailTables?

The RadGrid has HierarchySettings but no such attribute exists on the detailTables or MasterTable, a suggestion to an improvement perhaps.

+ Expand Customer
    + Expand Orders
        + Expand OrderLines

Sincerly

Jan.
Pavlina
Telerik team
 answered on 25 Mar 2010
1 answer
182 views
Hi,
I am developing a composite control with a radgrid in hierarchy.Everything works well for me except the Edit Form. I have created a new FormTemplate which inherits from the ITemplate class and use that as a formTemplate for my grid as
mainGrid.MasterTableView.EditFormSettings.EditFormType =new MyTemplate(); 
But for some reason my Edit Form always appears in the autogenerated mode. Is there something that I am missing?

Below given is the code which I am using:
            
mainGrid.MasterTableView.EditMode =GridEditMode.PopUp;   
mainGrid.MasterTableView.EditFormSettings.CaptionDataField ="UnitNumber";  
mainGrid.MasterTableView.EditFormSettings.InsertCaption ="Add new Reading";  
mainGrid.MasterTableView.EditFormSettings.EditFormType =GridEditFormType.Template;  
mainGrid.MasterTableView.EditFormSettings.PopUpSettings.Modal =true;  
mainGrid.MasterTableView.EditFormSettings.FormTemplate = new MyTemplate(); 

Below is the code how I am intializing the grid and GridViewTable
        
mainGrid = new RadGrid();  
mainGrid.AutoGenerateColumns =false;   
mainGrid.AllowSorting =true;  
mainGrid.AllowMultiRowSelection =false;  
mainGrid.ShowStatusBar =true;   
mainGrid.AllowPaging =true;   
mainGrid.AllowAutomaticUpdates =false;  
mainGrid.GridLines =GridLines.None;  
mainGrid.PagerStyle.Mode =GridPagerMode.NumericPages;  
mainGrid.MasterTableView.AllowMultiColumnSorting =true;  
string[] strDataKey ={"UnitNumber"};  
mainGrid.MasterTableView.DataKeyNames =strDataKey;   
gtview.CommandItemDisplay=GridCommandItemDisplay.Top;  
gtview.CommandItemTemplate = new Template();  
gtview.DataKeyNames =strDataKey;  
mainGrid.MasterTableView.DetailTables.Add(gtview); 
Any help would be appreciated.


Regards,
Rakesh
rakesh menon
Top achievements
Rank 1
 answered on 25 Mar 2010
1 answer
159 views
the check as you type only works for firefox but not ie.
say i typed the word "testsss" in firefox this words will get underline in red to alert you that this is spelled wrong but in ie it doesn't do anything. can you tell me why? the example that you have here is doing the samething http://demos.telerik.com/aspnet-ajax/editor/examples/spellchecker/defaultcs.aspx. please let me know if there's something i have to do. thank you
Schlurk
Top achievements
Rank 2
 answered on 25 Mar 2010
3 answers
89 views
Dear Sir

I am working on Scheduler Control.
I want, when i click on new Appointment then call my customize window.  not your advance form
How can i achieve it. please send me solution.

Thanks
Chandan
Shinu
Top achievements
Rank 2
 answered on 25 Mar 2010
1 answer
66 views
Hello Friends,

 
I maintain the pagging from the code behind..., When i will follow the below step that time pagging will be not displayed on radgrid.
Step 1: Click on Export to PDF than pdf file will be generated.
Step 2: Filter any record that time filteration is working fine  but at a time pagging are not displayed.

If i will follow the same step for Export to Excel than pagging are displayed and working fine.

i used below code for export to pdf.

                        grdUsers.ExportSettings.ExportOnlyData = True
                        grdUsers.ExportSettings.OpenInNewWindow = True
                        grdUsers.ExportSettings.IgnorePaging = True
                        grdUsers.Rebind()
                        grdUsers.MasterTableView.ExportToPdf()
                        grdUsers.MasterTableView.AllowFilteringByColumn = True


Please help me

Thanks & Regards
Jignesh Patel

Pavlina
Telerik team
 answered on 25 Mar 2010
1 answer
55 views
hi ,

I am using Media manager in radeditor.
its inserting the object tag properly but media is not playing at all ??
Am i missing something ?
here is my code

<

 

telerik:RadEditor ID="ReportsEditor" runat="server" Height="300px"

 

 

SkinID="DefaultSetOfTools" Width="100%" AutoResizeHeight=true HasPermission="True" >

 

 

<Modules>

 

 

<telerik:EditorModule Name="RadEditorStatistics" Visible="false" Enabled="true" />

 

 

<telerik:EditorModule Name="RadEditorDomInspector" Visible="false" Enabled="true" />

 

 

<telerik:EditorModule Name="RadEditorNodeInspector" Visible="false" Enabled="true" />

 

 

<telerik:EditorModule Name="RadEditorHtmlInspector" Visible="false" Enabled="true" />

 

 

</Modules>

 

<

 

Content>

 

</

 

Content>

 

 

</telerik:RadEditor>


 

protected

 

void Page_Load(object sender, EventArgs e)

 

{

ReportsEditor.ImageManager.ViewPaths =

new string[] { "~/Images" };

 

ReportsEditor.ImageManager.UploadPaths =

new string[] { "~/Images" };

 

 

ReportsEditor.MediaManager.ViewPaths =

new string[] { "~/Media" };

 

ReportsEditor.MediaManager.UploadPaths =

new string[] { "~/Media/New" };

 

ReportsEditor.MediaManager.MaxUploadFileSize = 2097151;

}

}


Rumen
Telerik team
 answered on 25 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?