Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
257 views
Some of newer Telerik ASP.NET AJAX upgrade caused change in RadTextBox behavior. Ajax request called from onKeyPress (eg. after press Enter) sends to server empty string (textbox's .Text property is empty). It worked before but suddenly (adter some components upgrade I think) stopped. This issue can be demonstrated in your own demo :)
http://demos.telerik.com/aspnet-ajax/webmail/
You must press twice Enter in "Search Inbox" RadTextBox to launch search. First press calls ajax function, but server will get empty search string. Second Enter press sends last value.

What changed? And how can I fix this problem?

Thank you!
Zdenek

Zdeněk
Top achievements
Rank 1
 answered on 20 Nov 2012
1 answer
88 views
Hi,

I have a radsplitter on my page. In the top side of the splitter there is a multipage control (and a tabstrip which is not provided in the code below). I would like to load another splitter to this multipage control using ajax. Here is my code:

aspx:

<form id="form1" runat="server">
 
       <telerik:RadScriptManager ID="ScriptManager" runat="server" />
       <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
           <AjaxSettings>
               <telerik:AjaxSetting AjaxControlID="Button1">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                   </UpdatedControls>
               </telerik:AjaxSetting>
           </AjaxSettings>
       </telerik:RadAjaxManager>
 
       <asp:Button runat="server" ID="Button1" Text="Button" />
 
       <telerik:RadSplitter runat="server" ID="splitter" Orientation="Horizontal" Width="100%" Height="100%" Skin="WebBlue" VisibleDuringInit="false" LiveResize="true">
           <telerik:RadPane runat="server" ID="RadPane1">
               <telerik:RadMultiPage runat="server" ID="RadMultiPage1" OnPageViewCreated="RadMultiPage1_PageViewCreated"/>
           </telerik:RadPane>
           <telerik:RadSplitBar runat="server" ID="RadSplitBar1" />
           <telerik:RadPane runat="server" ID="RadPane2">
               RadPane2
           </telerik:RadPane>
       </telerik:RadSplitter>
   </form>

cs:

protected override void RaisePostBackEvent( IPostBackEventHandler sourceControl, string eventArgument )
{
    RadMultiPage1.PageViews.Add( new RadPageView() );
    base.RaisePostBackEvent( sourceControl, eventArgument );
}
 
protected void RadMultiPage1_PageViewCreated( Object sender, RadMultiPageEventArgs e )
{
    RadSplitter splitter = new RadSplitter();
    splitter.ResizeWithParentPane = true;
    splitter.Items.Add( new RadPane() );
    splitter.Items.Add( new RadSplitBar() );
    splitter.Items.Add( new RadPane() );
 
    e.PageView.Controls.Add( splitter );
    e.PageView.Selected = true;
}

Everything works fine except the ResizeWithParentPane property. If I resize the outer splitter, the inner (dynamically created) splitter won't get the desired size. Am I missing something?

Vessy
Telerik team
 answered on 20 Nov 2012
1 answer
69 views
Hi,
I have a RadGridView contains GridViewCaluculatorCoulumn, i want to know the FormatString to display the number separated by commas for example 1234567.89 to appear as 1,234,567.89
What is the FormatString to do this??

Thanks in advance.
Fadi
Top achievements
Rank 1
 answered on 20 Nov 2012
5 answers
279 views
Hi,

I have 3 radgrids in a form- 2 of them works fine but the last one - and it's also the bigger one causes a problem - whenever I run the mouse cursor over a row, all of the rows starting to like vibrate- move a bit (meaning it's not like the grid is moving anywhere but the rows starts jiggle..
Is there anything I can do to stop that??

thanx.
Maria Ilieva
Telerik team
 answered on 20 Nov 2012
3 answers
96 views
Hi,
I have a Masterpage.
Inside this Masterpage is a Contentpage which has a Radajaxmanager and a Tabstrip + MultipageView.
For each Multipage a Webusercontrol which has Radgrid is loaded dynamically (onclick of Tabstrip).

What i want to achieve is, that if a particular Button in the Radgrid (which resides in the Webusercontrol) is clicked,
the Tab changes and shows the Grid of another Webusercontrol.

Until now, everything works fine. Except that the Tab is not changing. (The Multipage changes, and the other Grid is shown, but the selected tab remains).

If i set enableajax of Ragajaxmanager to false, it works as expected.

Here is some of my Code:
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"
    Skin="Default">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"  EnableAJAX="true" >
    <AjaxSettings>
       <telerik:AjaxSetting AjaxControlID="rtsGostTab">
            <UpdatedControls>
                  
                <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="rtsGostTab" />
            </UpdatedControls>
        </telerik:AjaxSetting>
     <telerik:AjaxSetting AjaxControlID="RadMultiPage1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
 
 <telerik:RadTabStrip ID="rtsGostTab" SelectedIndex="0" CssClass="tabStrip"
                 runat="server" MultiPageID="RadMultiPage1" Skin="Office2010Blue" OnTabClick="RadTabStrip1_TabClick" Orientation="HorizontalTop">
             </telerik:RadTabStrip>
             <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" CssClass="multiPage">
             </telerik:RadMultiPage>

As I said, in the Webusercontrol is a simple Grid, so i tried following in the Code behind.
void GostGrid_ItemCreated(object sender, GridItemEventArgs e)
{
    if ((e.Item) is GridDataItem)
    {
        GridDataItem item = (GridDataItem)e.Item;
        LinkButton btn = (LinkButton)item["Perspective"].FindControl("lbtnPerspective");
        RadAjaxManager AjaxManager = RadAjaxManager.GetCurrent(Page);
        AjaxManager.AjaxSettings.AddAjaxSetting(btn, this.Page.Master.FindControl("MainContentPlaceHolder").FindControl("rtsGostTab"), null);
    }
}

I expected, that if I click on the Linkbutton, the Tabstrip updates too (as it does if i set enableajax to false).

Has anybody an advise?
Maria Ilieva
Telerik team
 answered on 20 Nov 2012
3 answers
51 views
Wondering whether anyone has suggestions about best practices for speeding up publishing.

The developers on my project regularly update websites using the VS 2010 Publish Website wizard and FTP. The site files are generally less than 5mb, and then there are the 35mb of Telerik DLL and XML files. Files are precompiled, so no raw code is placed on the remote server.

These applications often change; a new report is added, a form is modified, etc., and changes are posted as they are requested and completed. The publish wizard replaces the whole site structure, uploading 40mb of files of which at least 35mb haven't changed.

Is there a reliable way to publish only the changed files, and exclude the Telerik files?

TIA for any suggestions.
Andrey
Telerik team
 answered on 20 Nov 2012
1 answer
395 views
Hai,
    
     How can I change the font size of the raddatepicker. thanks in advance.

Allen
Princy
Top achievements
Rank 2
 answered on 20 Nov 2012
1 answer
80 views
Hi
How can I hide the 'more' link of the appointments in the radscheduler??

thanks
RT
Princy
Top achievements
Rank 2
 answered on 20 Nov 2012
1 answer
94 views
Hi there
How can I remove the refresh button from my grid.

thanks
RT
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2012
1 answer
90 views
Hi,
     I want to access controls placed in norecordtemplate from code behind. Can anybody help me do this. thanks
Savyo
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?