Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
148 views

Hi, my name is Pablo Rodriguez and I've been having issues with ajaxified controls using load on demand and RadAjaxManager. I had to make most of my ajax requests by means of javascript callings to ajaxmanager.ajaxrequest() because after updating a load-on-demand combobox in the grid or a server-side- callback node in the treeview, when I perform any ajaxified postback  managed by ajaxmanager, it  would throw a javascript error and break the state of the page.  

My current scenario is: nested RadSplitters with RadPanes, a treeview on the left, a RadGrid on the right that holds related load-on-demand comboboxes in each row, a collapsible RadPane on the bottom and some buttons below that. You can see it on the screenshot:



Link to the picture

 

For example, if I work with the comboboxes and then click on any of the buttons on the bottom or any of the arrows on the vertical splitter and then try to expand a node in the tree or request items in any of the combos, I’ll be presented the loading message and nothing else will happen, no matter how many times I click on the tree node or the combobox.

The usual workflow is to select files in the tree and drop them to the grid (file queue) and then fill the comboboxes, select the files (fill the metadata of each file) and send them to the server using the “send” button.

I’m not using any ajax panel, all ajax requests are managed by RadAjaxManager or by the controls themselves. I’m using RadControls for ASP.NET AJAX 2008_1_415_dev

What would be the best combination of controls in this scenario? I don’t want to lose performance and I would like to have a stable page state anytime I make ajax requests to the server.





 

Iana Tsolova
Telerik team
 answered on 26 May 2009
5 answers
156 views
hey all i dont know the cause of my problem but whenever i run my project then my grid apears it apears in the full screen as i wanted ibut the columns start very small and suddenly get larger in order to fit..i have all my widthes in percenteges of the total width  what can cause this issue?? thanks in advance guys
Dimo
Telerik team
 answered on 26 May 2009
1 answer
135 views
Hi,

i have a radgrid in which i want when i click update button it won't go to Readonly mode but keep in Editable Mode until i press cancel button
Princy
Top achievements
Rank 2
 answered on 26 May 2009
1 answer
118 views
Being >30 years old, I like to set my screen resolution to 1024x768. At this resolution, the RadGrid Smart Tag fills the vertical space, making the last item, "Edit Templates", inaccessible except by tabbing into the blindspot and pressing Enter. Is there a better way to manage this problem? I'm afraid that a higher resolution might ruin these old eyes.

ASP.NET version: 3.5
OS: XP/SP3
exact browser version: IE7
exact version of the Telerik product: RadControls for ASPNET AJAX Q1 2009
preferred programming language: C#
Dimo
Telerik team
 answered on 26 May 2009
5 answers
153 views
Hello.

I have a masterpage with a RadAjaxManager where I have among other things a virtual scrolling grid like this: http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpaging/defaultcs.aspx

Works perfectly.

Then I have a content page with a WindowManager. The user can open two windows and add some data. When the windows close, I want to use an ajaxRequest to update the grid. I had this working perfectly before, but once I added the AjaxManager to the masterPage I had to remove it from the content page.

So I am now trying to contact the master page ajaxManager from the content page on windowClose:
    function ClientClose() { 
        $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("ClientCloseLeagues"); 
    }  

Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As ObjectByVal e As AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest 
    RadAjaxManager1.Alert("AjaxRequest raised from the " + e.Argument) ' works for "LoadMoreRecords" but not "ClientCloseLeagues" 
    If e.Argument = "LoadMoreRecords" Then 
        RadGrid2.PageSize = 15 + RadGrid2.PageSize 
        RadGrid2.Rebind() 
    ElseIf e.Argument = "ClientCloseLeagues" Then 
        Dim RadGrid1 As RadGrid = Me.Page.FindControl("RadGrid1"
        RadGrid1.DataSource = Nothing 
        RadGrid1.Rebind() 
    End If 
End Sub 

What actually happens when the ClientClose function gets executed is that RadGrid2 (in the master page) is refreshed, while I am desperately trying to refresh RadGrid1 in the content page.

I've been reading the documentation: http://www.telerik.com/help/aspnet-ajax/ajxajaxmasterpage.html
(The link to the code snippet doesn't work: http://www.Telerik.com/asp-net-community/forums/forum-thread.aspx?b311D=ebgbb)

I'm really unsure what steps I need to take to get this working. The worst thing is I have a deadline today, so pretty please with sugar on top, somebody help me :)

Regards,
-DJ-
Iana Tsolova
Telerik team
 answered on 26 May 2009
2 answers
38 views
Hi

Using IE 8 when I open a raddock with the scheduler on screen the scheduler appointments and the navigation bar for the scheduler show above the raddock. Has anyone seen this before or have a solution?

Cheers
Jon
Jonathan Levy
Top achievements
Rank 1
 answered on 26 May 2009
4 answers
149 views
In my radtoolbar I have graphics being pulled in for clicked, disabled, hovered, and image urls.  I don't know if it's because of Q1 2009 install or what, but now I'm getting spacing between my graphic buttons in the toolbar.

I have tried playing with the skin, and setting the skin="".  I have also played with plugging in cssclass with different values for padding, margins, and such but I can't resolve it.

I have no widths defined for the graphics, or the toolbaritems, or the toolbar itself.

What am I missing?

Thx

Alex Gyoshev
Telerik team
 answered on 26 May 2009
1 answer
104 views
Hi All,
          Can any one pls let me know how can i bind the TelerikTab to the Grid uisng code behind.

Its very urgent.

Pls let me know how to do that.

Thnx
Asra.
Yavor
Telerik team
 answered on 26 May 2009
4 answers
293 views
Hi
I would like to modify the hierarchy with templates demo for the radgrid but I am having a few problems understandinging it.

Here's the link

Firstly in the NestedViewTemplate there is this label inside the one of the pageviews of the multipageview control
          <asp:Label ID="Label1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("EmployeeID") %>'
                                    Visible="false" runat="server" />


I don't understand what is going on here: Text='<%# Eval("EmployeeID")

Is the data from the current row in the master table also being bound to the NestedViewTemplate? I suppose it must be otherwise this label wouldn't have the correct value. Can you explain to me how/why the data is being bound to the NestedViewTemplate.

I have a second question. In the demo there is a grid inside the nested view template which is bound declaratively using an SQL data source. I would like to have a grid inside the template but i want to bind it programmatically and i don't know how. Is this possible and where do i do it? I presume in some data binding event for the nestedviewtemplate I have to find the grid from the controls collection of the nestedviewtemplate. But i don't know - I'm guessing. Any help would be much appreciated.

Many thanks
andrea
Sebastian
Telerik team
 answered on 26 May 2009
3 answers
100 views
Is it possible to configure RadUpload to retrieve an image located on another server:

example: http://www.mysite.com/images/somekindofimage.gif

We need to be able to copy the shortcut to an image location, paste it into RadUpload and have it retrieve and upload the file to our server.
Veselin Vasilev
Telerik team
 answered on 26 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?