Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
144 views
I'll make my example simple for now: I have a master page and in the content page, I want a radcombo to update a radgrid with AJAX.  I have the RadAjaxManager in the master (not even sure if this is necessary??)  and I'm using the proxy in the content. 

The comob ajaxifies the grid just fine.  But what I don't get, is that when I page in the grid, it uses ajax as well.  How is that?  Here's what it looks like:

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" InitialDelayTime="0" MinDisplayTime="1000" Transparency="1" runat="server" Height="75px" 
        Width="75px"> 
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading3.gif") %>' 
            style="border: 0px;" /> 
    </telerik:RadAjaxLoadingPanel>  
  <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rdcboCategories"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl LoadingPanelID="RadAjaxLoadingPanel1" ControlID="rdgrdProducts" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 

Michael
Top achievements
Rank 2
 answered on 28 May 2008
0 answers
66 views

I have a button on my user control on click of which i open a radwindow.
I am getting return values from the radwindow to the calling page to populate in some controls.

I use this function to populate the controls:

function

PopulateValues(sender, returnValue)
{ 
var dataArg = '';
dataArg = dataArg + returnValue.AssignmentID;

dataArg = dataArg +
'|' + returnValue.Staff;
dataArg = dataArg +
'|' + returnValue.DocketNum;
__doPostBack("RadWindowPopup",dataArg);
}

This causes a page flash when the postback happens.

I tried using RadAJAXManagerProxy(I have a AJAXManager on my master page) to set the UpdatedControls but the page flashes even when I specify that.

How can I avoid the page flash?

newbie
Top achievements
Rank 1
 asked on 27 May 2008
3 answers
144 views
Hi,
I have a page with two RadSchedulers. The page should only ever have one of these schedulers visible at a time. The Visible property of the RadScheduler's is changed on a event, e.g RadComboBox SelectedIndexChanged.

The problem I am facing is that only one of the RadSchedulers seems to respect the visible property correctly 100% of the time. This is the one which is visible on the first page load. The second scheduler does not appear when its visible property is set to true, unless another update happens on the page. The first RadScheduler contains to appear and disappear as required.

I got around this problem by enclosing each of the RadSchedulers in a <div runat="server"> tag. I then used the RadAjaxManager to update the div's instead of the RadSchedulers, and setting the div visible property to true/false. (I had to keep both radschedulers visible all the time, even though their respective div's might be visible=false)
It seems to be working fine now, but I'm pretty sure the other method should also work. Can you confirm if this is a bug?

Thanks,
EmpowerIT
Top achievements
Rank 2
 answered on 27 May 2008
2 answers
178 views
Hi there, after i have upgraded to the latest Schedular, javascript gives me wrong time.
even from
http://www.telerik.com/demos/aspnet/prometheus/Scheduler/Examples/RadWindow/DefaultCS.aspx
the popup shows wrong time, in my case, i had to add 1 day more and reverse from Am to pm, pm to AM, i am in New Zealand at moment (GMT +12)
is that anything to do with UTC time? Is that a bug?
Leon
Top achievements
Rank 1
 answered on 27 May 2008
4 answers
203 views
I've added tooltips to my grid using this code

  Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated 
    If (TypeOf e.Item Is GridDataItem) Then 
      Dim gridItem As GridDataItem = CType(e.Item, GridDataItem) 
      Dim ent As OrderTrackingViewEntity = CType(e.Item.DataItem, OrderTrackingViewEntity) 
 
      If Not String.IsNullOrEmpty(ent.WarehouseComments) Then 
        For Each column As GridColumn In RadGrid1.MasterTableView.RenderColumns 
          '    If (TypeOf column Is GridBoundColumn) Then 
          '      gridItem(column.UniqueName).ToolTip = ent.WarehouseComments '(gridItem.OwnerTableView.DataKeyValues(gridItem.ItemIndex)("WarehouseComments").ToString) 
          '    End If 
        Next 
      End If 
    End If 
  End Sub 


If I uncomment the 3 lines in the for each loop I get this error

Object reference not set to an instance of an object

when I click on any rows edit button, it works fine if I live the lines commented out.
Warren
Top achievements
Rank 1
 answered on 27 May 2008
11 answers
354 views
After upgraded in 2008.q1 controls I've a new issue with firefox, the height set to 100% dosen't works in fierfox:

ie:


firefox:


Code:
<Telerik:radsplitter ID="rs2" runat="server" orientation="Horizontal" width="100%" Height="100%" ResizeMode="AdjacentPane" > 
    <Telerik:radpane ID="rp3" runat="server" Height="32" Scrolling="None" CssClass="toolbar" > 
     
    </Telerik:radpane> 
    <Telerik:radpane ID="rp4" runat="server" scrolling="None" > 
 
        <Telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" 
            AllowCustomPaging="true" Width="100%" Height="100%" PageSize="30" 
            AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True" > 
        </Telerik:RadGrid>                      
 
    </Telerik:radpane> 
    <Telerik:RadSplitBar ID="rsb2"  runat="server"></Telerik:RadSplitBar> 
    <Telerik:RadPane runat="server" ID="rp5" Scrolling="None"> 
     
    </Telerik:RadPane> 
</Telerik:radsplitter> 

Is there any workaround about this?

Dimo
Telerik team
 answered on 27 May 2008
5 answers
124 views
I have a form within a master page.
It contains a RadtabStrip with Rad-Multi page views assigned.
In one page view i have a webusercontrol.
i ajaxed the tabs to the tabs...and the tabs to the multi-page

all teh tabs work with exception of  the one with the webusercontrol.
the web usercontrol contains a Prometheus upload and prometheus grid.
If i remove the ajax setting from the proxy manager everything works great.but i get a full page post back.

if i add in the ajax settings for the above..i get the contents of that tab ajax'd. how would i go about saying that tab contents is not ajax'd

Joshua
Jen
Top achievements
Rank 1
 answered on 27 May 2008
2 answers
86 views
Hi!
I need to develop an ASP.net page to show a set of data as a pivot or cross table.  Does Telerik have any ASP.NET control for this purpose (Pivot/cross table)?  Thanks.

Cheers,
Al
Al Safavi
Top achievements
Rank 1
 answered on 27 May 2008
1 answer
154 views
I have a problem with the RadSplitter which i am using in my Page. When i click on the RadSplitBar for collapsing it the RadPane dissappears altogether.

Code --

<table cellpadding="0px" cellspacing="0px" border="0px" width="100%">
    <tr>
       <td id="matterPartyPreviewContainer" runat="server">
            <telerik:RadSplitter ID="matterPartySplitter" runat="server" Width="100%" Height="95%"
                SkinsPath="~/RadControls/Splitter/Skins" Skin="Outlook" Orientation="Horizontal">
                <telerik:RadPane ID="matterPartyTreeSplitterPane1" runat="server" Width="100%" Height="49%"
                    Collapsed="False" Scrolling="Y">
                    <telerik:RadTreeView runat="server" ID="matterPartyTreeView" SkinsPath="~/RadControls/TreeView/Skins"
                        Skin="Office2007" Height="98%" Width="100%" OnNodeExpand="matterPartyTreeView_NodeExpand"
                        OnNodeClick="matterPartyTreeView_NodeClick" OnNodeCreated="matterPartyTree_NodeCreated"
                        EnableDragAndDrop="true" OnNodeDrop="matterpartyTreeView_HandleDrop">
                    </telerik:RadTreeView>
                </telerik:RadPane>
                <telerik:RadSplitBar ID="matterPartySplitBar" runat="server" CollapseMode="Backward" Enabled="true" />
                <telerik:RadPane ID="matterPartyPreviewSplitterPanel" runat="server" Width="100%"
                    Visible="true" Height="49%" Collapsed="false" Scrolling="None">
                    <asp:Panel ID="previewContentPanel" runat="server">
                        <ucPreview:MatterPartyPreview ID="matterPartyPreviewID" runat="server"></ucPreview:MatterPartyPreview>
                    </asp:Panel>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </td>
       
        <telerik:RadAjaxManager ID="matterPartyAjaxManager" EnableAJAX="true" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="matterPartyTreeView">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="matterPartyTreeView" LoadingPanelID="matterPartyTreeViewLoadingPanel" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="matterPartyPreviewID">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="matterPartyPreviewID" LoadingPanelID="matterPartyPreviewLoadingPanel" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
       
        <telerik:RadAjaxLoadingPanel ID="matterPartyPreviewLoadingPanel" runat="server" Transparency="30"
            BackColor="#E0E0E0">
            <ucPanel:LoadingPanel ID="PreviewLoadingPanel" runat="server" />
        </telerik:RadAjaxLoadingPanel>
       
        <telerik:RadAjaxLoadingPanel ID="matterPartyTreeViewLoadingPanel" runat="server"
            Transparency="30" BackColor="#E0E0E0">
            <ucPanel:LoadingPanel ID="TreeViewLoadingPanel" runat="server" />
        </telerik:RadAjaxLoadingPanel>
    </tr>
</table>

Any suggestions would be welcome & appreciated.
Svetlina Anati
Telerik team
 answered on 27 May 2008
2 answers
145 views
Hello,

Did the Outlook skin for the RadMenu change dramatically with Prometheus?  It's now very blue, and I think it used to be gray.  If it did change, how can I use the old look for the Outlook skin?

Thanks,

Matt
mjones
Top achievements
Rank 1
 answered on 27 May 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?