Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
88 views
Hi guys,

i followed the instructions from "Implementing filtering for template/custom columns".
I created a VB file named MyCustomFilteringColumn.vb, then add the tag
<%@ Register TagPrefix="custom" Namespace="<MyApplicationNamespace>" Assembly="<MyApplicationAssembly>" %>
in my aspx page.
Unfortunately, the intellisense doesn't show me the new column named "custom" like <custom:MyCustomFilteringColumn
After one week tries, i gave up.
Can someone please tell me why?
When i create a new ASP.NET Application Project, it does work. But it doesn't work in my current application.
NB: we are replacing old Grids with RadGrids in a big project, that's why i can't just create a new one and copy again the whole stuff.
I hope there is better solution or another alternative to deal with the custom column.

Here some properties of my application: LINK
And the declaration in the aspx: LINK

Thank you
Yavor
Telerik team
 answered on 06 May 2010
3 answers
103 views
When selecting/highlighting all text then bold / change font  etc. the entire text is quite rightly wraped with start and end tags.
What i want to do is wrap each line with the text change.
Reason being i am treating each carriage return or new line as an entry. If user selects the lot i need each line tagged not the lot.
Can i stop users from selecting the whole text can select one line only.


Rumen
Telerik team
 answered on 06 May 2010
2 answers
147 views
hi my dear firends ...
how can i force My RadAlert To Appear on face of my RadMenu?
my page header became large and my RadMenu(under header) Position Is About Center Of My Page...
when radalert appears i can not see some of it's body because it is appeared under my menu...

======================================================================================

after that how can i change my radalerp position in page(i mean DEFAULT x and y)?

regards...



Majid Darab
Top achievements
Rank 1
 answered on 06 May 2010
3 answers
207 views
hi,
Can you please tell me that we can use the RadGrid to create an interface like a spreadsheet?

or any other telerik control for doing the same.

Samee Javaid    
Yavor
Telerik team
 answered on 06 May 2010
1 answer
258 views
how can i select the root path as my ViewPath in RadFileExplorer. ie i want to set the path so i can view all my local drives and have access to all folders on my pc from RadFileExplorer. i need something similar to folderbrowserdialog control (in winform application) on my asp.net using RadFileExplorer. is this possible?
Princy
Top achievements
Rank 2
 answered on 06 May 2010
1 answer
46 views
I have almost exactly the same problem as this thread but I do NOT have the key piece of knowledge to connect an entity data source.
http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-and-edit-form-with-2-different-datasources.aspx

After reading above:

I am missing the boat on this one. I have my data access via Entity Framework and bind an entity data object to the datagrid no problem. I want my second datasource to bind to the NestedView BUT the only option I have is DataSourceID which is expecting a string value that represents, for example, a SQLDataSource object.....but I don't need one I already have my data so how do I get the entity data bound to the nested view...yes I could circumvent the entity and make it work but that would defeat using the entity???

What am I missing?
Yavor
Telerik team
 answered on 06 May 2010
12 answers
419 views
Hai Everyone,

First of all thanking for the great support from the Telerik team.


I need to fire the detail table databind event of the rad grid on
the selected index changed of the radcombo Box.
Please give the solution.


Regards
Unni.


Rahul Barpha
Top achievements
Rank 1
 answered on 06 May 2010
1 answer
202 views

I am trying to fine tune telerik .net application and need some expert help.

I used dot trace and yourkit profiler tools to come up with below page load stats. dot trace profiler gives method name, percent of time, actual time and number of calls per GUI event. At this point I am not sure how to read yourkit stats.

I have a transaction screen with 2 drop downs, two buttons and a blank(always) grid that is not attached to any database. Each button displays Ajax grid on click events.

All my grids are populated via database views and handle DML via stored procedures. Hence at any given point they are not attached/bounded to database table. I am not sure if they are bounded via db view or not. I hope not.

Also attached screen shot of web page.

Question
1) DO you see any unwanted methods called in page load event?
2) How to improve page load performance? Any basic things to look at?

IF REQUIRED I CAN GIVE LIVE APPLICATION ACCESS TO INTERESTED CANDIDATES.


STATS FROM DOT TRACE PROFILER TOOL

STATS FROM DOT TRACE PROFILER TOOL  
----------------------------------  
99.98 % System.Web.Hosting.ISAPIRuntime.ProcessRequest... - 154.74 ms - 1 call  
  65.01 % ProcessRequest - 100.62 ms - 1 call - ASP.school_fee_transaction_v1_aspx.ProcessRequest(HttpContext)  
    65.01 % System.Web.UI.Page.ProcessRequest... - 100.62 ms - 1 call  
      13.37 % FrameworkInitialize - 20.70 ms - 1 call - ASP.default_master.FrameworkInitialize()  
      12.88 % RenderPageInAjaxMode - 19.94 ms - 1 call - Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter, Control)  
      7.73 % Page_Load - 11.97 ms - 1 call - TelerikComponentsWS.school.fee_transaction_v1.Page_Load(Object, EventArgs)  
      7.02 % OnLoad - 10.87 ms - 3 calls - Telerik.Web.UI.RadGrid.OnLoad(EventArgs)  
      3.11 % Page_Load - 4.82 ms - 1 call - TelerikComponentsWS.Default.Page_Load(Object, EventArgs)  
      1.33 % OnPreRender - 2.06 ms - 9 calls - Telerik.Web.UI.RadWebControl.OnPreRender(EventArgs)  
      0.83 % OnPagePreRender - 1.28 ms - 1 call - Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object, EventArgs)  
      0.65 % SaveViewState - 1.01 ms - 3 calls - Telerik.Web.UI.RadGrid.SaveViewState()  
      0.56 % TrackViewState - 0.87 ms - 3 calls - Telerik.Web.UI.RadGrid.TrackViewState()  
      0.48 % OnPreRender - 0.74 ms - 2 calls - Telerik.Web.UI.RadComboBox.OnPreRender(EventArgs)  
      0.46 % OnInit - 0.70 ms - 3 calls - Telerik.Web.UI.RadGrid.OnInit(EventArgs)  
      0.34 % ControlPreRender - 0.53 ms - 3 calls - Telerik.Web.UI.RadGrid.ControlPreRender()  
      0.26 % SaveViewState - 0.40 ms - 2 calls - Telerik.Web.UI.HierarchicalControlItemContainer.SaveViewState()  
      0.20 % GetScriptReferences - 0.31 ms - 9 calls - Telerik.Web.UI.RadWebControl.GetScriptReferences()   (from System.Web.UI.IScriptControl)  
      0.19 % FrameworkInitialize - 0.30 ms - 1 call - ASP.school_fee_transaction_v1_aspx.FrameworkInitialize()  
      0.08 % OnPreRender - 0.13 ms - 1 call - Telerik.Web.UI.RadAjaxLoadingPanel.OnPreRender(EventArgs)  
      0.08 % OnPreRender - 0.13 ms - 1 call - Telerik.Web.UI.RadPanelBar.OnPreRender(EventArgs)  
      0.08 % OnPreRender - 0.12 ms - 1 call - Telerik.Web.UI.RadTabStrip.OnPreRender(EventArgs)  
      0.08 % GetScriptReferences - 0.12 ms - 3 calls - Telerik.Web.UI.RadGrid.GetScriptReferences()  
      0.07 % OnPreLoad - 0.12 ms - 1 call - TelerikComponentsWS.Common.Screen.OnPreLoad(EventArgs)  
      0.07 % GetScriptReferences - 0.10 ms - 4 calls - Telerik.Web.UI.RadDataBoundControl.GetScriptReferences()   (from System.Web.UI.IScriptControl)  
      0.05 % get_Visible - 0.08 ms - 100 calls - Telerik.Web.UI.ControlItem.get_Visible()  
      0.05 % SaveViewState - 0.08 ms - 2 calls - Telerik.Web.UI.ControlItemContainer.SaveViewState()  
      0.04 % OnPagePreRenderComplete - 0.06 ms - 1 call - Telerik.Web.UI.RadAjaxControl.OnPagePreRenderComplete(Object, EventArgs)  
      0.03 % CreateChildControls - 0.05 ms - 1 call - Telerik.Web.UI.RadWindowManager.CreateChildControls()  
      0.02 % GetScriptReferences - 0.04 ms - 12 calls - Telerik.Web.UI.ProxyScriptControl.GetScriptReferences()  
      0.02 % GetScriptReferences - 0.03 ms - 1 call - Telerik.Web.UI.RadAjaxManager.GetScriptReferences()  
      0.02 % SaveViewState - 0.03 ms - 21 calls - Telerik.Web.UI.RadComboBoxItem.SaveViewState()  
      0.02 % get_Visible - 0.03 ms - 58 calls - Telerik.Web.UI.RadWebControl.get_Visible()  
      0.02 % OnPreRender - 0.02 ms - 12 calls - Telerik.Web.UI.ProxyScriptControl.OnPreRender(EventArgs)  
      0.02 % GetScriptReferences - 0.02 ms - 1 call - Telerik.Web.UI.RadAjaxLoadingPanel.GetScriptReferences()  
      0.01 % CreateChildControls - 0.02 ms - 1 call - Telerik.Web.UI.RadAjaxManager.CreateChildControls()  
  6.40 % Create_ASP_school_fee_transaction_v1_aspx - 9.90 ms - 1 call - __ASP.FastObjectFactory_app_web_4t1y1uv0.Create_ASP_school_fee_transaction_v1_aspx()  
    6.23 % school_fee_transaction_v1_aspx..ctor - 9.64 ms - 1 call - ASP.school_fee_transaction_v1_aspx..ctor()  
      0.17 % ReadStringResource - 0.26 ms - 1 call - System.Web.UI.TemplateControl.ReadStringResource()  
      0.00 % set_AppRelativeVirtualPath - 0.00 ms - 1 call - System.Web.UI.TemplateControl.set_AppRelativeVirtualPath(String)  
      0.00 % fee_transaction_v1..ctor - 0.00 ms - 1 call - TelerikComponentsWS.school.fee_transaction_v1..ctor()  
      0.00 % set_ScriptTimeout - 0.00 ms - 1 call - System.Web.HttpServerUtility.set_ScriptTimeout(Int32)  
      0.00 % get_Server - 0.00 ms - 1 call - System.Web.UI.Page.get_Server()  
      0.00 % GetWrappedFileDependencies - 0.00 ms - 1 call - System.Web.UI.Page.GetWrappedFileDependencies(String [])  
 
STATS FROM YOURKIT PROFILER TOOL  
----------------------------------  
Method Name Time(ms)    sample  
System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr, Int32)   703 1  
ASP.school_fee_transaction_v1_aspx.ProcessRequest(HttpContext)  703 1  
System.Web.UI.Page.ProcessRequest(HttpContext)  703 1  
Telerik.Web.UI.RadGrid.SaveViewState()  703 1  
Telerik.Web.UI.NestedState.SaveViewState(Object)    703 1  
Telerik.Web.UI.NestedState.GetNestedStateManagerProperties(Object)  703 1 

 

 

shanker bangari
Top achievements
Rank 1
 answered on 06 May 2010
2 answers
225 views
We are having an internal debate as to whether or now we should deploy the Prometheus controls with UseEmbeddedScripts and UseEmbeddedSkins enabled. It would be much faster to deploy with it turned on, because otherwise we would have to go through and change the setting on each of the controls and then move the skins and scripts out to the server. Opponents to the using embbeded resources are claiming the following as concerns:

1. Compressibility of the CSS/JS files,

2. When/how/if things are cached client side. (IF is the operative word?)

3. How a load balancer/load balancing situation would help/hurt

Can you provide any information as to how performance is affected by using embedded resources versus using static resources for the Prometheus controls?

Thanks,
Adam

Basel Nimer
Top achievements
Rank 2
 answered on 06 May 2010
1 answer
107 views
Hi,

I am trying to figure out how to apply a custom sort using the RadListView which is inside a RadAjaxPanel.  Whenever I click on a LinkButton to cause a sort change, all the link buttons disappear.

Here is some code that shows the ascx layout:
    <telerik:RadAjaxLoadingPanel   
        ID="RadAjaxLoadingPanelDiscussion"  
        Transparency="1" 
        Width="100%" 
        Height="100%" 
        runat="server" /> 
    <telerik:RadAjaxPanel  
        ID="RadAjaxPanelDiscussion"  
        LoadingPanelID="RadAjaxLoadingPanelDiscussion" 
        runat="server"  
        > 
        <telerik:RadListView  
            ID="RadListViewDiscussion"  
            DataSourceID="LinqDataSource" 
            ItemPlaceholderID="ProductsHolder" 
            OnItemCommand="RadListViewDiscussion_ItemCommand" 
            runat="server" 
            > 
            <LayoutTemplate> 
                <div id="discussion-sort"
                    <table  cellpadding="0" cellspacing="0" width="100%;" style="clear: both;"
                        <tr> 
                            <td> 
                                Sort by:  
                            </td> 
                            <td> 
                                <asp:LinkButton  
                                    ID="LinkButtonSubject"  
                                    CommandName="Sort" 
                                    CommandArgument="Subject" 
                                    Visible='<%# this.SortSubject %>' 
                                    Font-Bold='<%# this.SelectedSort == DiscussionListWebPart.DefaultSortOption.Subject %>' 
                                    runat="server"  
                                    > 
                                    Subject  
                                    <asp:Image 
                                        ID="ImageSubject" 
                                        Visible='<%# this.SelectedSort == DiscussionListWebPart.DefaultSortOption.Subject %>' 
                                        ImageUrl='<%# this.GetSortDirectionImageUrl() %>' 
                                        runat="server" 
                                        /> 
                                </asp:LinkButton> 
                                <asp:Literal ID="Literal1" 
                                    Text=" | " 
                                    runat="server" 
                                    Visible='<%# this.SortSubject %>' 
                                    > 
                                </asp:Literal> 
                            </td> 
                            <td> 
                                <asp:LinkButton  
                                    ID="LinkButtonBody"  
                                    CommandName="Sort" 
                                    CommandArgument="Body" 
                                    Visible='<%# this.SortBody %>' 
                                    Font-Bold='<%# this.SelectedSort == DiscussionListWebPart.DefaultSortOption.Body %>' 
                                    runat="server"  
                                    > 
                                    Body  
                                    <asp:Image 
                                        ID="ImageBody" 
                                        Visible='<%# this.SelectedSort == DiscussionListWebPart.DefaultSortOption.Body %>' 
                                        ImageUrl='<%# this.GetSortDirectionImageUrl() %>' 
                                        runat="server" 
                                        /> 
                                </asp:LinkButton> 
 
... 

The LinkButton.Visible property does not change, is always true, so that isn't the issue.  It has something to do with the ajax call.  Also, there is a Literal that has a visibility set to the same property.  The Literals don't disappear, but all the LinkButtons that apply sort do.

Is there something else I need to wire up?

Thanks!
Todd
Top achievements
Rank 1
 answered on 06 May 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?