Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
148 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
178 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
152 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
82 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
60 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
1 answer
209 views
Does anyone know how to add HTML to the subject so a user can click on it?

Inserting HTML code in the database and returning it to the scheduler does not do anything other than display the HTML.

What am I missing. Any help or assistance is appreciated.



Sincerely,
David Tenney
http://www.dcasi.com
http://www.pctechworld.com
http://www.pctwusa.com
T. Tsonev
Telerik team
 answered on 25 Mar 2010
1 answer
238 views

I'm using LLBL DataCollections to bind to the grid which always works perfect. Is there a way to get the instance of the row as the data object entity that it holds? The only alternative I see is looping the values. Thanks!

 


void rgSystemSettings_EditCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)      
{     
   ((MyDataEntity)e.Item.DataItem).Save();     
}     
    
      
    
protected void rgSystemSettings_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)      
      
{     
   MyDataCollection col = new MyDataCollection();      
   col.GetMulti(null);      
   rgSystemSettings.DataSource = col;     
    
Pavlina
Telerik team
 answered on 25 Mar 2010
2 answers
596 views
Hi,

I have a RadTextBox on my page.
Using radTextBox.Attributes.Add("Key", "Value") I add some value i need to the control.

I've been looking for a way where i can get that value in the ClientEvent OnTextChanged.
The sender in the OnTextChanged-event (which is the RadTextBox i believe) doesn't have a method like get_attribute.

Is there some other way to access this attribute client-side?

Kind regards,
Roel
Princy
Top achievements
Rank 2
 answered on 25 Mar 2010
1 answer
122 views

Hi,
Here i got the error..
How to solve it??? Need urgently..

Line 20: <system.web>
Line 21: <httpRuntime maxRequestLength="200000" executionTimeout="300"/>
Line 22: <siteMap defaultProvider="MenuXmlSiteMapProvider" enabled="true">
Line 23: <providers>
Line 24: <add name="MenuXmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider" siteMapFile="~/demos_platform-specific/aspnet20/navigation_architecture/web.sitemap" securityTrimmingEnabled="false"/>

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Thanks
Bibi
Pero
Telerik team
 answered on 25 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?