Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
197 views
hello,

i am using a MasterPage that has a RadAjaxLoadingPanel under the ContentPlaceHolder. normally this is cool and it works w/ various WebContentForm's RadAjaxPanels that refer to this RadAjaxLoadingPanel by ID.

however, the RadAjaxLoadingPanel doesnt seem to work for the UserControls managed via a RadAjaxManager.

for ex, i use a RadAjaxManager to manage two UserControls (which themselves contain RadGrids, etc) and a Button on a WebContentForm. instead of showing up, the animation is nowhere to be found. this is problematic for long operations.

what could cause a RadAjaxLoadingPanel not to work in somecases, when it works fine in others?

here's where it doesnt show up:

<asp:Content ID="Content1" ContentPlaceHolderID="phContent" runat="server"
 
    <h1>User Manager</h1> 
     
    <Foo:RolesManager ID="ucRolesManager" runat="server" visible="true"/> 
     
    <p><b>Add Users</b></p
    <Foo:AdUserSearch ID="ucAdUserSearch" runat="server" visible="true"/><br /> 
     
    <asp:Button ID="btnAddUsers" Text="Add Users to Role" OnClick="btnAddUsers_Click" Visible="false" runat="server" /> 
     
 
     
     
    <!-- AJAX MANAGER - "ajaxLoadingPanel" is from MasterPage --> 
 
    <Telerik:RadAjaxManager ID="radAjaxManager" runat="server"
        <AjaxSettings> 
            <%-- RolesManager updates itself --%> 
            <Telerik:AjaxSetting AjaxControlID="ucRolesManager"
                <UpdatedControls> 
                    <Telerik:AjaxUpdatedControl ControlID="ucRolesManager" LoadingPanelID="ajaxLoadingPanel" /> 
                </UpdatedControls> 
            </Telerik:AjaxSetting> 
            <%-- UserSearch updates itself and add-user-button --%> 
            <Telerik:AjaxSetting AjaxControlID="ucAdUserSearch"
                <UpdatedControls> 
                    <Telerik:AjaxUpdatedControl ControlID="ucAdUserSearch" LoadingPanelID="ajaxLoadingPanel" /> 
                    <Telerik:AjaxUpdatedControl ControlID="btnAddUsers" LoadingPanelID="ajaxLoadingPanel" /> 
                </UpdatedControls> 
            </Telerik:AjaxSetting> 
            <%-- AddUsers Button updates RolesManager, UserSearch --%> 
            <Telerik:AjaxSetting AjaxControlID="btnAddUsers"
                <UpdatedControls> 
                    <Telerik:AjaxUpdatedControl ControlID="ucRolesManager" LoadingPanelID="ajaxLoadingPanel" /> 
                    <Telerik:AjaxUpdatedControl ControlID="ucAdUserSearch" LoadingPanelID="ajaxLoadingPanel" /> 
                </UpdatedControls> 
            </Telerik:AjaxSetting> 
        </AjaxSettings> 
    </Telerik:RadAjaxManager> 
     
</asp:Content> 


thanks!
matt
Steve Keating
Top achievements
Rank 1
 answered on 09 Jan 2009
3 answers
253 views
I am looking to create a mutli-column ComboBox like the Real Estate Agency ComboBox found in this example: http://demos.telerik.com/aspnet-ajax/Combobox/Examples/Default/DefaultCS.aspx, but I need to create the ComboBox at runtime. The data also needs to be bound to the ComboBox when the ItemsRequested Event is called. I've tried the following:
protected void Lookup_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) 
            combo.ItemTemplate = new LookupComboItemTemplate(table); 
            combo.HeaderTemplate = new LookupComboTemplate(table); 
 
            combo.DataSource = table; 
            combo.DataBind(); 
 
            foreach (RadComboBoxItem item in combo.Items) 
            { 
                item.DataBind(); 
            } 

But no matter what I do with the templates the columns never show up and the row values are always squeezed together. For example three column row values that should read something like "Val1    Val2    Val3" under three columns looks like "Val1Val2Val3".

Is it possible to get an actual working sample where to creating a ComboBox like the one in the example I linked at runtime?

Serrin
Top achievements
Rank 1
 answered on 08 Jan 2009
5 answers
188 views
Hello All;

I m happily using Rad panel bar on my project but it behaves strange on google chrome (Telerik.Web.UI 2008.2.826.20). It showing some dropdown box icons on the right of each radpanelitem. I couldnt find a solution . Any help would be great . Thank you
Gokhan
Top achievements
Rank 2
 answered on 08 Jan 2009
1 answer
97 views
Is it possible to put a radupload control inside a radscheduler control?  I have tried a number of different ways and have been unsuccessful.
Atanas Korchev
Telerik team
 answered on 08 Jan 2009
3 answers
317 views
HI
I have declared RadTextbox dynamically. Can anyone please help me how to put required field validations and text validation for the textbox?
Thank you
Daniel
Telerik team
 answered on 08 Jan 2009
2 answers
120 views
I am trying to use the radEditor in a custom control in my control library.  However, since the editor is being added to the control dynamically, the content is being lost on postback.  Is there any way to retrieve the content of the editor?  Its not in the request object, is it?

Thanks,
Matt
Matt
Top achievements
Rank 1
 answered on 08 Jan 2009
1 answer
215 views
We have a pretty simple grid, with a number of rows and a number of columns.  In each cell we display a string.  The first column contains checkboxes, by which the user can select one or more rows.

When the user clicks on a button, we want to do something - server side - with the data in the selected rows.

In the button click code-behind, I have a reference to the grid.  With that reference, I can access SelectedItems.  But for the life of me I can't figure out how to get the text values that are in the cells.

GridItemCollection selectedItems = grid.SelectedItems; 
foreach (GridItem selectedItem in selectedItems) 
   // Then what? 

All of the examples I've been able to find, that pull data from the items, are passed the items in grid event functions.  When the user clicks on our button, it doesn't generate an event on the grid, so we're not being passed the items, we need to get them from the grid object.  The problem is that the grid events pass GridDataItems, and the grid control contains GridItems, so the access methods described for the one don't work for the other.

How can I access the selected GridDataItems from the grid control, other than in a grid event function?

OK, never mind...

RadGrid.SelectedItems contains GridItems.  All I need do is cast them to GridDataItems, and I can access the text values of the items within it.


Daniel
Telerik team
 answered on 08 Jan 2009
3 answers
186 views
Hi,

We are using 
RadTabStrip control in a gridview control (version 2008.2.1001.20)The grid view is ajaxified with radajaxmanager. Sometimes we get the error message below:

Script control 'tabStripControl' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl

Please help,

Atanas Korchev
Telerik team
 answered on 08 Jan 2009
0 answers
78 views
Is there a way to get the name of the resource in javascript for OnClientAppointmentInserting Event for which the timeslot has been clicked? I am using timelineview and resource grouping.
Indranik
Top achievements
Rank 1
 asked on 08 Jan 2009
2 answers
69 views
  Sorry about the incomplete post before.  I meant to send the code with how I attempeted to use the scriptmanagerproxxy, but we sent, the code without it. I am trying to learn about the RadDock. I am usnig the  "Real Estate" example and I am trying to make that page with the three links, "Telerik.com, Google.com and Wikipedia" to work as a child page.
  I think the problem is that I dont fully understand how to use radscriptmanagerproxy, how Radwindow's open ?  Usually, when I have a child page that uses Ajax, and I just use the scriptmanager in the master and take the one out of the child, then everything works.
  I tried to use scriptmanager/scriptmanagerproxy, radscriptmanager/radscriptmanagerproxy.
  I read that RadWindow did not need a radwindowmanager.
  i tried Getcurrent. 
  i read that I should put the radwindowmanager in the master page.
  But, no matter what I tried, the Radwindow did not display in the child page when I clicked on one of the linkbuttons. But it did appear when the page was a standalone with a scriptmanager in it.
  I know I am overlooking something. 
  I there a link or something that is straight forward about working with the Radwindowmanager, radwindow, scriptmanager and scriptmanagerproxy in a masterpage/childpage scenerio ?
  thanks for your time

 

 

 

Georgi Tunev
Telerik team
 answered on 08 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?