Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
Hello,

if you open that demo, and start clicking Accessing Value under Server-Side API in menu on the left side of the window, after every click the RadMaskedTextBox will blink with red.

How this can be fixed ?

Thank You !
Dimo
Telerik team
 answered on 28 Oct 2009
8 answers
184 views
Hi,

First of all, great product!

I've been using the TreeView for a project as the main navigation control. Everything works fine, only one issue left: saving the state when a node collapses. I've applied the code that was in an example that I found here, which uses the session-object and stores the state when a node expands. 

My problem has been here before and some solutions were given:

  1. Use an AjaxPanel and register the client node collapse event and when that occurs
  2. Use an AjaxPanel and put the TreeView in that panel and set expand mode to server side

None of those solutions gave my a proper result. The first method made the ajax call @ random. The second method worked BUT only on Windows Server 2003. When I deployed my solution on to another test server running Windows Server 2008, I could only expand or collapse once. After I did that, I couldn't expand or collapse any other node.

I also tried to get the state of all the nodes on the client side, node per node, for using an ajax call to send a 2D javascript array with with the ID & Expand state in. But I could not access the nodes of the treeview, AllNodes property returned undefined.

I really would like to save the state (without a page reload) of the treeview in the session after a node collapse, just like it is possible on a node expanding.

Hopefully someone figured this one out, and share it here!

Joris
Yana
Telerik team
 answered on 28 Oct 2009
5 answers
184 views







My grid

  • In master Table there are Many Columns…..all with fixed width
  • a Hierarchy-table(<DetailTables ><telerik:GridTableView >……)
  • fixed the width of the grid
  • enabled scrolling
  • has frozen cols

 

 

 

                                   

On browser  if we scroll to the last Column of the grid the Scroll-bar disappears!!!!..please HELP





---Code---




<telerik:RadGrid ID="grdSecuritySearchResults" Width="750px" runat="server" GridLines="None"
OnNeedDataSource="grdSecuritySearchResults_NeedDataSource"
ondetailtabledatabind="grdSecuritySearchResults_DetailTableDataBind"
AutoGenerateColumns="False" Skin="Office2007">
<MasterTableView Width="100%" ShowHeadersWhenNoRecords="true" AllowFilteringByColumn="True"
AllowMultiColumnSorting="True" AllowSorting="True" BorderColor="#3366FF"
BorderWidth="2px" GridLines="Both">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<DetailTables >
<telerik:GridTableView NoDetailRecordsText="Ashu" runat="server" Name="CashSteps" BorderColor="#00CC99"
BorderWidth="2px" GridLines="Both">
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="ReferenceNo" HeaderText="Reference Number" UniqueName="ReferenceNo">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="FromCashPortfolio" HeaderText="From Cash Portfolio">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ToCashPortfolio" HeaderText="To Cash Portfolio"
SortExpression="ToCashPortfolio">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Currency" HeaderText="Currency" SortExpression="Currency">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Amount" HeaderText="Amount" SortExpression="Amount">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SettlementDate" HeaderText="SettlementDate"
UniqueName="ValueDate">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TransferStatus"
HeaderText="Trasnfer Status" UniqueName="TransferStatus">
</telerik:GridBoundColumn>
</Columns>

<HeaderStyle BackColor="#33CC33" Font-Bold="False" Font-Italic="False"
Font-Overline="False" Font-Strikeout="False" Font-Underline="False"
Wrap="True" />

</telerik:GridTableView>
</DetailTables>

<ExpandCollapseColumn Visible="True">
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="ReferenceNo" HeaderText="Reference Number" UniqueName="ReferenceNo">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Originator" HeaderText="Originator" UniqueName="Originator">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Category" HeaderText="Category" UniqueName="Category">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="OneWayTwoWay" HeaderText="OneWayTwoWay" UniqueName="OneWayTwoWay">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TransferStatus" HeaderText="Transfer Status"
UniqueName="TransferStatus">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn DataField="TradeDate" HeaderText="Trade Date" UniqueName="TradeDate1">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridDateTimeColumn>
<telerik:GridDateTimeColumn DataField="SettlementDate" FilterControlWidth="100px" HeaderText="Settlement Date"
UniqueName="SettlementDate">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />

</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn DataField="SecurityIdentifier" HeaderText="Security Identifier"
UniqueName="SecurityIdentifier">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ParAmountQuantity" HeaderText="Par Amount /Quantity"
UniqueName="ParAmountQuantity">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BookPrice" HeaderText="Book Price" UniqueName="BookPrice">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BookValue" HeaderText="Book Value" UniqueName="BookValue">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="MarketPrice" HeaderText="Market Price" UniqueName="MarketPrice">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="MarketValue" HeaderText="Market Value" UniqueName="MarketValue">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="AccruedInterest" HeaderText="Accrued Interest"
UniqueName="AccruedInterest">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TotalProceeds" HeaderText="TotalProceeds" UniqueName="TotalProceeds">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Currency" HeaderText="Currency" UniqueName="Currency">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SellPortfolio" HeaderText="Sell Portfolio" UniqueName="SellPortfolio">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SellLegalID" HeaderText="Sell Legal ID" UniqueName="SellLegalID">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SellSegmentCode" HeaderText="Sell Segment Code"
UniqueName="SellSegmentCode">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SellSettlementCode" HeaderText="Sell Settlement Code"
UniqueName="SellSettlementCode">

<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BuyPortfolio" HeaderText="Buy Portfolio" UniqueName="BuyPortfolio">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BuyLegalID" HeaderText="Buy Legal ID" UniqueName="BuyLegalID">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BuySegmentCode" HeaderText="Buy Segment Code"
UniqueName="BuySegmentCode">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BuySettlementCode" HeaderText="Buy Settlement Code"
UniqueName="BuySettlementCode">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TradingPhilosophyCGAAPFrom" HeaderText="Trading Philosophy CGAAP From"
UniqueName="TradingPhilosophyCGAAPFrom">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TradingPhilosophyCGAAPTo" HeaderText="Trading Philosophy CGAAP To "
UniqueName="TradingPhilosophyCGAAPTo">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TradingPhilosophyUSGAAPFrom" HeaderText="Trading Philosophy USGAAP From"
UniqueName="TradingPhilosophyUSGAAPFrom">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TradingPhilosophyUSGAAPTo" HeaderText="Trading Philosophy USGAAP To"
UniqueName="TradingPhilosophyUSGAAPTo">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Priority" HeaderText="Priority" UniqueName="Priority">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="InvestmentDesk" HeaderText="Investment Desk"
UniqueName="InvestmentDesk">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />

</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Portfolio Manager" HeaderText="Portfolio Manager"
UniqueName="PortfolioManager">
<HeaderStyle Width="120px" />
<ItemStyle Width="120px" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>

<ClientSettings>
<Scrolling AllowScroll="True" FrozenColumnsCount="1" UseStaticHeaders="True" />
</ClientSettings>
</telerik:RadGrid>
Veli
Telerik team
 answered on 28 Oct 2009
1 answer
146 views
Hi,
I am using the Q2 2009 SP1 version of the RadScheduler and am very happy with how the product works. I am looking forward to the upcoming Q3 release.
Anyway my question relates to the predefined styles that are shipped with the product. ie
  • rsCategoryDarkBlue
  • rsCategoryBlue
  • rsCategoryDarkGreen
  • rsCategoryGreen
  • rsCategoryDarkRed
  • rsCategoryOrange
  • rsCategoryPink
  • rsCategoryRed
  • rsCategoryViolet
  • rsCategoryYellow
  • as described here
    http://www.telerik.com/help/aspnet-ajax/appearance-setting-appointment-style.html


    I think that these are a great way of quickly implementing appointment types and being able to differentiate them using the different styles. In my application I am attempting to use them in conjunction with the RadToolTip however. I was hoping that it would in turn have the same set of styles that we could apply to it. Ie the green appointments would have a green tooltip, etc.

    I will probably manually implement each one but wanted to quickly check with both Telerik and the community that someone else hasn't already gone to the trouble.

    Thanks

    Peter
    Telerik team
     answered on 28 Oct 2009
    2 answers
    357 views
    Hi,

    I want to disable/enable RadComboBox on item selection changes of another RadCombobox.

    I am trying to achieve this by using below code snippet, but getting error "Disable()" is not a valid method.

    <rad:RadComboBox id="Combo1" runat="server" OnClientSelectedIndexChanging="LoadCombo2">  
             <Items> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem1"></rad:RadComboBoxItem> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem2"></rad:RadComboBoxItem> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem3"></rad:RadComboBoxItem> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem4"></rad:RadComboBoxItem> 
        </Items> 
             </rad:RadComboBox> 
    <rad:RadComboBox id="Combo2" runat="server" OnClientItemsRequested="SetCombo2">  
    <Items> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem1"></rad:RadComboBoxItem> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem2"></rad:RadComboBoxItem> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem3"></rad:RadComboBoxItem> 
           <rad:RadComboBoxItem runat="server" Text="RadComboBoxItem4"></rad:RadComboBoxItem> 
        </Items> 
    </rad:RadComboBox> 
     
    <script type="text/javascript">  
    var ThisCombo2 = <%= Combo2.ClientID %>;  
     
    function LoadCombo2(item) {  
     ThisCombo2.Disable();  
     ThisCombo2.ClearSelection();  
     ThisCombo2.RequestItems(item.Value, false); }  
     
    function SetCombo2(item) {  
     item.SetText(item.Items[0].Text);  
     item.Enable();  
     if (item.Items.length > 1) { item.ShowDropDown(); } } </script> 
     


    With Regards,
    Babul

    Babul Sahu
    Top achievements
    Rank 1
     answered on 28 Oct 2009
    1 answer
    85 views
    hiya,

    I know that there has been some work done on dynamic data, but will you release a sample (tested) project that makes use of the radGrid instead of the standard asp.net grid. There surely is a great demand for it.

    If so, when will you release it?

    Many thanks,

    yogi
    Sebastian
    Telerik team
     answered on 28 Oct 2009
    6 answers
    287 views
    Hi,
    I have a hard time to compare database fields which are filled through RadEditor.

    Carriage returns are written to the database when saving RadEditor.Html, because of this I cannot compare two text fields.

    Any suggestion how to skip these Carriage Returns? I tried Replace VbCrLf without succes.

    Thanks,
    Marc
    Rumen
    Telerik team
     answered on 28 Oct 2009
    5 answers
    538 views
    Hi,

    Problem in Text alignment in RAD Editor control. Text align left edit mode where HasPermission value is true and view mode where HasPermission value false text align.

    Please help me how to solve this problem

    Rumen
    Telerik team
     answered on 28 Oct 2009
    4 answers
    192 views
    Hi,

    Is there a way to convert the currently displayed scheduler data into an Excel or PDF? Thanks.
    Peter
    Telerik team
     answered on 28 Oct 2009
    0 answers
    71 views
    please have a look at  http://swaggle.syndicut.com/default.aspx in opera 10

    i'm using vista 32bit. not checked in xp.

    i have narrowed the problem down to the formdecorator, if i remove it the gap goes!!

    i even added a reset.css file to set all margin and padding to 0px;

    Has anyone come across this before?

    thanks
    Luke
    Top achievements
    Rank 1
     asked on 28 Oct 2009
    Narrow your results
    Selected tags
    Tags
    +? more
    Top users last month
    Simon
    Top achievements
    Rank 2
    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
    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?