Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
1.1K+ views
Hello,

I have a page with a lot of controls doing postbacks.  I thought it would be cleaner to simply have my controls within a RadAjaxPanel rather than deal with all of the controls within a RadAjaxManager.

I would like to display a RadAjaxLoadingPanel when one particular control is causing the postback though.

Is there any way to do this using the RadAjaxPanel, or do I need to use the RadAjaxManager?

Thanks.

Steve
Iana Tsolova
Telerik team
 answered on 24 Aug 2009
1 answer
78 views
I have three tab (implemented by using RADTabStrip and Multipage view). And I've used RadAjaxmanager for navigation between the tabs. Its working well. But the problem is,  in my first tab I've the facility to upload a file. The RadUpload will uploads the file only when the page gets post. But in my case, the file has to be uploaded when I was move to second tab. Can you help me how do I achieve this.

Here is my code
<telerik:RadTabStrip runat="server" ID="tbSpec" SelectedIndex="0" MultiPageID="rdmpSpec" Skin="Hay">
    <Tabs>
        <telerik:RadTab Text="File Upload" Selected="True"></telerik:RadTab>
        <telerik:RadTab Text="Show Content"></telerik:RadTab>
        <telerik:RadTab Text="Validation"></telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage runat="server" ID="rdmpSpec" SelectedIndex="0" Width="100%" >
    <telerik:RadPageView runat="server" ID="page1">
        <telerik:RadUpload ID="chooseFile" runat="server" OverwriteExistingFiles="true" TargetFolder="~/Inbox" ControlObjectsVisibility="None" />
    </telerik:RadPageView>
    <telerik:RadPageView runat="server" ID="page2">
        <telerik:RadGrid ID="grdmapping" runat="server" GridLines="Horizontal">
            <MasterTableView AutoGenerateColumns="true">
            </MasterTableView>
            <ClientSettings>
            </ClientSettings>
        </telerik:RadGrid>
    </telerik:RadPageView>
    <telerik:RadPageView runat="server" ID="page3">
        <telerik:RadGrid ID="grdValid" runat="server" GridLines="Horizontal">
            <MasterTableView AutoGenerateColumns="true">
            </MasterTableView>
            <ClientSettings>
            </ClientSettings>
        </telerik:RadGrid>
    </telerik:RadPageView>
</telerik:RadMultiPage>
<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="cmdNext">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="tbSpec"></telerik:AjaxUpdatedControl>
                <telerik:AjaxUpdatedControl ControlID="rdmpSpec"></telerik:AjaxUpdatedControl>
                <telerik:AjaxUpdatedControl ControlID="grdmapping" LoadingPanelID="RadAjaxLoadingPanel1">
                </telerik:AjaxUpdatedControl>
                <telerik:AjaxUpdatedControl ControlID="grdValid" LoadingPanelID="RadAjaxLoadingPanel1">
                </telerik:AjaxUpdatedControl>
                <telerik:AjaxUpdatedControl ControlID="chooseFile"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Thanks in advance.



Paul
Telerik team
 answered on 24 Aug 2009
1 answer
110 views
The ajax toolkit has a ListSearchExtender control.
Kinda handy when combined with a heavy drop down list.
I'm curious if there is something similar that can work with a radcombo?
Simon
Telerik team
 answered on 24 Aug 2009
1 answer
196 views
Hi

I dont know, if someone else asked this question before.

In my application, I add appointments with another tool than the scheduler to the database. This appointments has the german timeformat (UTC + 1 or UTC + 2)

My question is, is there a solution to disable the saving time in the scheduler?
The scheduler should display the same times like the ones in the database.

I work with version 2009.1.521.35

Example:

Today:
Database                                         Scheduler
2009-08-20 08:00  (UTC + 2)          2009-08-20 06:00
2009-12-24 08:00  (UTC + 1)          2009-12-24 07:00

Goal:
Database                                         Scheduler
2009-08-20 08:00                            2009-08-20 08:00
2009-12-24 08:00                            2009-12-24 08:00


I hope you understand my problem :)

Thanks for helping me
Peter
Telerik team
 answered on 24 Aug 2009
5 answers
435 views
Hi,

I want to control the width of my GridTemplateColumns at runtime. When I am assigning to GridTemplateColumn.ItemStyle.Width, it is not working as expected.

Any suggestions please??


Thanks,
Mahesh
Dimo
Telerik team
 answered on 24 Aug 2009
2 answers
137 views
I have a button on a page.
I have a modal tooltip that's showevent is the button's OnClick.
This combination prohibits the button from posting back.
Is there a way for me to let the postback go thru while still showing the tooltip.
essentially what i'm doing is emulating an ajax postback. the modal shows up and says 'working...'
while a full postback redirects you to another page.

Any thoughts?
Chris
Top achievements
Rank 1
 answered on 24 Aug 2009
3 answers
159 views
Hello,

I have created a small webapp to test a modal tooltip. In the Modality Tooltip demo the browser window is faded out and only the tooltip can be accessed by the user. With my code below however the browser window isn't faded out and the textbox for example can still be accessed.

Is there some property i forgot to set or can somebody see what i did wrong?

Thanks!


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        <Scripts> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
    </telerik:RadAjaxManager> 
   
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Office2007">  
    </telerik:RadSkinManager> 
    <div> 
        <telerik:RadToolTipManager ID="mng1" runat="server" OnAjaxUpdate="mng1_OnAjaxUpdate" HideEvent="ManualClose" Modal="true" > 
            <TargetControls> 
                <telerik:ToolTipTargetControl TargetControlID="target" /> 
            </TargetControls> 
        </telerik:RadToolTipManager> 
        <asp:HyperLink ID="target" runat="server" Text="Target Control" NavigateUrl="#"></asp:HyperLink>       
        <telerik:RadTextBox ID="RadTextBox1" runat="server">  
        </telerik:RadTextBox>         
    </div> 
    </form> 
</body> 
</html> 
 
Svetlina Anati
Telerik team
 answered on 24 Aug 2009
8 answers
229 views
If you have say 150 records and are displaying 25 records per page there will be 6 pages.  Now if you select grouping on a field and it spans say 3 pages.

How can you get it when you collapse the group to start showing the next group instead of showing 2 pages of nothing....
Rosen
Telerik team
 answered on 24 Aug 2009
5 answers
502 views
When I try to use the following code for a pop-up edit template I get the above error.

<tr>
Line 462:                                <td align="right" colspan="2">
Line 463:                                    <asp:Button ID="Button3" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
Line 464:                                        runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
Line 465:                                    </asp:Button>&nbsp;


I took this code from the pop-up example

regards

Daniel
Sebastian
Telerik team
 answered on 24 Aug 2009
3 answers
276 views
Hi,

i have a problem, inserting new items into my radgrid. The Button didn't appear on the grid.

Couldn't find a solution on this forum so far. Could anybody help?
What is missing?

Thanks in advance!

Lars

<telerik:RadGrid ID="RadGrid1" runat="server" width="500px" GridLines="None"   
                     AllowAutomaticInserts="True" AllowAutomaticUpdates="True"   
                     AutoGenerateColumns="False" AutoGenerateEditColumn="True"   
                     ShowFooter="True" ShowStatusBar="True" AllowPaging="True" PageSize="5"   
                     Skin="Telerik">     
        <mastertableview editmode="EditForms"   
                         enableheadercontextmenu="True"   
                         insertitempageindexaction="ShowItemOnFirstPage"   
                         ShowGroupFooter="True" InsertItemDisplay="Bottom" 
                         DataKeyNames="UID">  
            <Columns> 
                <telerik:GridBoundColumn   
                    DataField="UID" ReadOnly="True"   
                    HeaderText="UID" UniqueName="UID" Visible="false">  
                </telerik:GridBoundColumn>      
                <telerik:GridBoundColumn DataField="DCId" ReadOnly="True"   
                        HeaderText="DCId" UniqueName="DCId">  
                    <ItemStyle Width="100" /> 
                </telerik:GridBoundColumn>              
                <telerik:GridBoundColumn DataField="MRDR_NR" HeaderText="MRDR_NR" UniqueName="MRDR_NR">  
                    <ItemStyle Width="100" /> 
                </telerik:GridBoundColumn> 
            </Columns>                                                          
        </mastertableview>      
    </telerik:RadGrid> 

The data was bind manually
private void WSDataBind()  
{  
        WholesalerBM oWholeSalerBM = new WholesalerBM();  
        WholesalerFilter oWholesalerFilter = new WholesalerFilter();  
        oWholesalerFilter.WholesalerUID = new Guid ("36C68452-36BF-4FF2-8E32-39DAB8490839");  
 
        WholesalerDataSet oWholesalerDataSet = oWholeSalerBM.SelectWholesalerWithRelations(oWholesalerFilter, true);  
        Session[_strWholesalerDataSet] = oWholesalerDataSet;  
 
        RadGrid1.DataSource = oWholesalerDataSet.WholesalerMRDR;  
        RadGrid1.DataBind();  




Princy
Top achievements
Rank 2
 answered on 24 Aug 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?