Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
231 views
Interesting behavior in the radprompt function of the RadWindowManager.  If you submit a callback function name with no argument, like callbackfn it works fine, firing on the button click of the radprompt window, However, if you add an argument to the callback function (like callbackfn(this))  it fires on the radprompt LOAD event, not the callback...  Any ideas on how to fix this?

thanks,
-Daniel
Georgi Tunev
Telerik team
 answered on 16 Sep 2008
1 answer
192 views
I'm trying to use the RadDock control to display dynamic content (i.e. as the user makes selections a RadDock is created, populated with the appropriate controls and added to a RadDockZone.

I have one RadDockLayer, that contains one RadDockZone which is intended to contain zero or more RadDocks. RadDockLayer.EnableViewState and RadDockLayer.StoreLayoutInViewState are both false.

As near as I can tell, I've implemented the online instructions for restoring the RadDock controls on a postback: A DockStates property, LoadDockLayout and SaveDocLayout event handlers -- though I've never seen the SaveDocLayout event handler raised, a Page_Init handler that loads the data from the session state, etc.

However, when a postback occurs, I end up, it appears that the markup contained in a RadZone is generated twiece. If I don't re-initialize the RadDocks in the Page_Init, none show up. If I do, two show up for each one actually in the system.

Any ideas?
Sophy
Telerik team
 answered on 16 Sep 2008
1 answer
96 views

I have Rad Editor set to Preview Mode.
If I highlight the text in the editor, then right click on the highlighted text... then the text is removed from the editor...
Using Internet Explorer 7.

This problem can also be reproduced on the telerik online example of the editor.
http://demos.telerik.com/aspnet/prometheus/Editor/Examples/EditModes/DefaultCS.aspx

Any assistance would be great.
Rumen
Telerik team
 answered on 16 Sep 2008
2 answers
155 views
Hi,I try to do something extremely simple. Write texte of the selectedNode on node change intotextbox field. But, i had no OnSelectedNodeChanged in client-side API.I tried OnNodeClicked, but the result not good if i scroll with keyboardSorry for my bad english...Help me please.$0
Jack
Top achievements
Rank 1
 answered on 16 Sep 2008
4 answers
267 views
I have ten columns in a RadGrid and when I resize a column the grid shrinks on both sides. 

How do I keep the grid at 99% and prevent it from shrinking when I resize a column
?
  <telerik:RadGrid ID="RadGrid1"   
                                          AllowMultiRowSelection="True"   
                                          AllowSorting="True"   
                                          AllowPaging="False"   
                                          AutoGenerateColumns="False"                                                    
                                          AllowAutomaticUpdates="True"   
                                          AlternatingItemStyle-HorizontalAlign="Center"   
                                          BackColor="#ffffff"                                                  
                                          EnableEmbeddedSkins="False"   
                                          GridLines="None"   
                                          GroupingEnabled="True"   
                                          HeaderStyle-Height="20"   
                                          Height="425px"                                                                 
                                          ItemStyle-HorizontalAlign="Center"   
                                          OnSortCommand="RadGrid1_SortCommand"   
                                          OnNeedDataSource="RadGrid1_NeedDataSource"   
                                          OnItemDataBound="RadGrid1_ItemDataBound"   
                                          OnItemCommand="RadGrid1_ItemCommand"   
                                          ShowFooter="True" 
                                          ShowHeader="True"   
                                          ShowGroupPanel="True"   
                                          ShowStatusBar="True"   
                                          Skin="MySkin"    
                                          Width="99%"   
                                          runat="server"> 

<MasterTableView DataKeyNames="ID,NAME" EnableColumnsViewState="True" EditMode="EditForms" AllowMultiColumnSorting="True" Width="100%"> 
Mike
Top achievements
Rank 1
 answered on 16 Sep 2008
3 answers
92 views
Hi there
I'm just using radgrid and it works great but just wondering if there is away to make grid filter in the bottom of grid instead of top !!!
Iana Tsolova
Telerik team
 answered on 16 Sep 2008
3 answers
103 views
hi,

how to display color on Present day in month view.
Simon
Telerik team
 answered on 16 Sep 2008
2 answers
143 views
Hi! My appointment titles (subjects) should be placed in different color squares, based on some property values. How to do that in code behind?
Thanks, Ana
Ana
Top achievements
Rank 1
 answered on 16 Sep 2008
1 answer
160 views
I have a fairly simple ASP.NET page that only uses one Telerik control - RadMenu.  The page is being accessed by a lot of users on IE6, which has some file-compression bugs, and as a result IIS 6.0 does not compress ScriptResources sent to these browsers.  Given the simplicity of the page, I'm guessing that a lot of the script content being sent down is unused.  Is there any way to reduce the ScriptResources sent to the browser?  Looks like it's currently sending about 200k of uncompressed content, mostly Javascript.  I realize that this content will be cached on the client, but it'd be nice to be able to not send unnecessary stuff.  Any thoughts, suggestions?  Thanks,

-Daire 
Daire
Top achievements
Rank 1
 answered on 16 Sep 2008
0 answers
75 views
I'm building up the contents of a RadMenu from database tables.  To improve performance on repeat visits to my page, I'm caching the XML representation of the menu, so that I can build the RadMenu instance from XML and avoid the DB hit on subsequent visits.  However, I'm finding the the RadMenu.GetXml() call is very slow.  According to AQTime profiles, it takes about 0.89 seconds on average.  This is for a relatively small menu, with 6 or 7 items, some of which contain custom attributes.  Is this performance normal and expected?  Any thoughts, suggestions?  Thanks,

-Daire
Daire
Top achievements
Rank 1
 asked on 16 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?