Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
119 views
Posting this in case anyone else runs into the problem.

We have a Panel Bar control that uses AjaxManager to update.   The bar is dynamic and created on the fly based upon a tab control.   When opening a panel, a user control is loaded, also created dynamically.

The code to handle this is a bit complex - we found that peroidically the slider and/or treeview controls would corrupt when they drew.   If it happened ALL controls of that type would stay corrupted until the screen was forced to reload.

It's erratic when it does it and we have no way to duplicate it on a consistent basis.  What occured to us was that it seemed to be some sort of cache causing the problem since every control would draw bad even though everytime you opened a different panel the user control was being reloaded and the previous one was being destroyed (Only one panel can be opened at a time).  We tried monitoring the DOM coming in but nothing ever seemed to be different when it did fail.

Our fix: we place an empty panelbar and a one item tree view into a hidden div at the top of the page OUTSIDE of the Ajax calls - basically force Telerik to immediately load the support code for the controls.   We were having the problem 3 or 4 time a day and it now hasn't happened in four days.

Obviously it has something to do with the way the javascript is rendering from the update panel.   I would prefer to submit a ticket but there is no way to build a 'simple' web application that can recreate the problem.   I don't think it even IS a telerik problem.  I think it goes deeper into Ajax when complicated updates are performed.  The slider and tree view are pretty complicated JS - none of the other controls we are using ever exhibited the problem.  In any case, I'm not an Ajax expert so I may be completely off.  I just know this fixed it and that points a finger at the Ajax updates IMHO.

Anyway, hopefully this work around helps someone. 

Regards,
Nick H
Mark Blom
Top achievements
Rank 1
 answered on 25 May 2009
1 answer
101 views
HI,
I got and unknown error when editing a long string in the RadGrid the string is long ~5000 byte in xml format
when selecting edit and then cancel/update I got unexpected error,
what is the max length?
is there any thing else needed to be done?
I use sql server field type nvarchar(MAX)
Please advise,
Mickey


Daniel
Telerik team
 answered on 25 May 2009
1 answer
87 views
Wuuuu, this has possibilites! I've recenty given the users of one of "my" applications access to select from the available skins themselves and so of course immediately follows the request for "can you change this? can you change that?".

Can't wait to get to play with this (the preview is erroring out at the moment but I trust that's a temporary thing as the message state it has been reported). :)

So in keeping with the user being given something great to play with and immediately asking for more ....

I second/third/umpteenth the mentions about how it would be nice to be able to set a "base color" based on hex or RGB etc and have the hues auto-calculated from there to start then adjusted more with the sliders if desired. Something like that would enable us to know that we're matching a particular color to start (such as a prominent logo color or such that the would like the theme to be based on). Monitors display color in such different fashions it would be hard to know that an exact match has been made otherwise.
Alex Gyoshev
Telerik team
 answered on 25 May 2009
1 answer
84 views
Hi,

I have a RadGrid with some bound columns on it. Currently they have a hard-coded header-text. However, is there a way I can specify a resourceKey so that it can be pull out of my localised resource file?

There doesn't appear to be a "ResourceKey" property?

Thanks,

Marcus.
Princy
Top achievements
Rank 2
 answered on 25 May 2009
1 answer
159 views
We are in the process of upgrading all our Q2 2006 controls to Verson 1.4 Q1 2009 ASP.NET Ajax.
During the process we hit with Migrating the Tab Strip control.
Our controls previously were using the Overalpping feature that were available in the old release (-ve margins).
Unfortunately due to the change of the base style sheets of the Tab, this old technique is no longer available.
We checked the documentation, and it mentioned a css class for the Tabs that are before and after the current selected tab.

Well that seems fine!. But what about all other tabs, Previously your tab strip supported overlapping for all its tabs because it used relative positioning, now only overlapping are supported for the before and after (rtsBefore, rtsAfter classes).

Is there a solution for this ?

Alex Gyoshev
Telerik team
 answered on 25 May 2009
1 answer
135 views
Is it possible to change the text on each of the view navigation options?  I'd like to change "Multi-day"...
Princy
Top achievements
Rank 2
 answered on 25 May 2009
1 answer
79 views
I'm having some problems with the RadGrid. I want to display nested data, but the details tables are always left aligned and they don't take all the available width.

This is a screenshot:
click to view image

This is the aspx code:

<

 

telerik:RadGrid ID="RadGrid1" DataSourceID="objectDataSourceGrid" AutoGenerateColumns="false" Skin="Default" ForeColor="#333333" GridLines="Both" ShowHeader="true" AllowPaging="false" runat="server">

 

 

 

<MasterTableView HierarchyDefaultExpanded="false" HierarchyLoadMode="ServerOnDemand" DataKeyNames="ID, ID_PAI, NOME_FORMULARIO" EnableNoRecordsTemplate="true" AllowSorting="false" HorizontalAlign="Right" Width="100%">

 

 

<Columns>
<telerik:GridBoundColumn HeaderText="Nome" DataField="NOME_FORMULARIO">

 

 

 

<HeaderStyle Width="200px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Ano" DataField="ANO" ItemStyle-HorizontalAlign="Center">

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Orc.Interno" DataField="ORCAMENTO_INTERNO" ItemStyle-HorizontalAlign="Right">

 

 

 

<HeaderStyle Width="75px" />

 

 

</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Orc.Terceiros" DataField="ORCAMENTO_TERCEIROS" ItemStyle-HorizontalAlign="Right">

 

 

 

<HeaderStyle Width="75px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Descricao" DataField="DESCRICAO">

 

 

 

<HeaderStyle Width="400px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn UniqueName="ActionButtons" HeaderText="Accoes" ItemStyle-HorizontalAlign="Center">

 

 

 

<ItemTemplate>

 

 

 

<asp:ImageButton ID="btnSelect" CommandName="RecordSelect" ImageUrl="~/images/icons/ver_documentos_16x16.gif" runat="server" />&nbsp;

 

 

 

<asp:ImageButton ID="btnDelete" CommandName="RecordDelete" ImageUrl="~/images/icons/icon_remover.png" runat="server" />

 

 

</ItemTemplate>

 

 

<HeaderStyle Width="60px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridBoundColumn DataField="ID_ORCAMENTO" Visible="false" />

 

 

<telerik:GridBoundColumn DataField="CENTRAL" Visible="false" />

 

 

<telerik:GridBoundColumn DataField="GRUPO" Visible="false" />

 

 

<telerik:GridBoundColumn DataField="LOCAL_INSTALACAO_N1" Visible="false" />

 

 

<telerik:GridBoundColumn DataField="LOCAL_INSTALACAO_N2" Visible="false" />

 

 

<telerik:GridBoundColumn DataField="NIVEL" Visible="false" />

 

 

<telerik:GridBoundColumn DataField="ID" Visible="false" />

 

 

</Columns>

 

 

<DetailTables>

 

 

<telerik:GridTableView HorizontalAlign="Right" Width="100%">

 

 

<DetailTables>

 

 

<telerik:GridTableView HorizontalAlign="Right" Width="100%">

 

 

<DetailTables>

 

 

<telerik:GridTableView HorizontalAlign="Right" Width="100%">

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

 

<SelfHierarchySettings ParentKeyName="ID_PAI" KeyName="ID" />

 

 

<NoRecordsTemplate></NoRecordsTemplate>
</MasterTableView>

Shinu
Top achievements
Rank 2
 answered on 25 May 2009
1 answer
332 views
Hi,

i want to fire the selectedindexchange event handler of radcombo which is inside a radgrid control commandtemplate and edittemplate....

Shinu
Top achievements
Rank 2
 answered on 25 May 2009
1 answer
215 views
For the paging control on my RadGrid I would like to have next, previous and page number links but not page size dropdown.  All of the options that give page number links also seem to include a page size dropdown.  How can I get the links without the dropdown?

(Or alternatively if there was a way to gain access to the dropdown and control the set of options that might also work for me)

Thanks,
Ken
Shinu
Top achievements
Rank 2
 answered on 25 May 2009
3 answers
124 views
on radwindow has a problem to display the radcombox when there selects index.  Can not see items of radcombo only see the background of parent window's radwindow.  I set z index of radwindow is 7001 in order to see it above the rad menu.  Have tried to set index to radcombox "7001" but failed.

Cheers,

Duy
Duy
Top achievements
Rank 1
 answered on 25 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?