Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
137 views
Hi folks,

I'm not able to get the loading panel to display in the following scenario.  Does anyone have any recommendations?

We have a MasterPage with a UserControl on it.  The UserControl contains a RadTreeView.
On a ContentPage, we have another UserControl which contains a custom grid class (which inherits from RadGrid). 

When the user clicks on the RadTreeView.Node in the one UserControl, we want the loading panel to display over the UserControl containing the custom grid class.

Here's how we have it wired up:
MasterPage has RadAjaxManager, RadLoadingPanel and RadScriptManger
UserControl with RadTreeView has RadAjaxManagerProxy
UserControl with Custom Grid Class has RadAjaxManagerProxy

In the Page_Load event on the UserControl with the custom grid class, we have the following code: 

 

 
        void Page_Load(object sender, EventArgs e)  
        {  
              NavTree1 = this.Page.Master.FindControl("NavTree1"as NavigationTree;  
            RadAjaxManagerProxy1.AjaxSettings.AddAjaxSetting(NavTree1, this.CustomGridObject);  
             
        }  
 

 

 

 

 

Ajax is fired properly, but the loading panel will not display.
 

Richard
Top achievements
Rank 2
 answered on 15 May 2009
4 answers
264 views
Hello,

I have about 10 RadTextBoxes on a web page which get populated from database in page load. I have to edit the text in these textboxes and save the updated text back in database.

The problem is: two of the RadTextBoxes do not give me the updated text. I debugged my code and found that they are retaining the values they get in page load.

I replaced those two RadTextBoxes with standard ASP.NET TextBox they worked fine.

All the RadTextBoxes (which work fine and which don't) have same set of properties. I do not understand the reason behind this problem.

Please help me on this issue.

Thank You,
Siva
Siva
Top achievements
Rank 1
 answered on 15 May 2009
4 answers
162 views
I have code to export the grid to pdf, which works fine as long as all the text is well-formed xhtml. In this application, the xhtml is user-supplied, and it's not always well-formed.

I added a try-catch around the export call, but it doesn't seem to catch the exception. When I trace the execution in the debugger, the error doesn't occur until after the code is past the try-catch block.

            try
            {
                switch (exportType)
                {
                    case 1:
                        grid.ExportSettings.ExportOnlyData = true;
                        grid.MasterTableView.ExportToExcel();
                        break;
                    case 2:
                        grid.MasterTableView.ExportToPdf();
                        break;
                    case 3:
                        grid.MasterTableView.ExportToWord();
                        break;
                    default:
                        break;
                }
            }
            catch (Exception ex)
            {
                string errorMessage = "Data export failed. ";
                //display message, etc.
            }
Paul
Top achievements
Rank 1
 answered on 15 May 2009
5 answers
436 views
I have a RadMenu that's populated with a datasource control.

I want to open the page links in new windows. Is this possible with RadMenu?
Atanas Korchev
Telerik team
 answered on 15 May 2009
1 answer
149 views
I'm using the latest telerik version. Developed an application using it. If a request is raised from the client side the application takes about 30 to 40 sec to completely display the requested output. I' v about 5 RadGrid One master page 3Radspliters one Tapstrip , Treeview , some RadTextBox and RadComboBox each and every component are of Rad-Telerik component type and RadAjax in one single page.

Even to display the no record found the request and response are about 30 to 40 sec. I could't figure out why it takes this much time.

In my application if the request is raised, with 15 to 20 sec i'm able to see the output . For about 10 to 15 sec the loading ... is happening . After about 30 to 40 sec only i'm able arise another request.

Please suggest me what should i do to increase the performance. I have found some performance tuning  articles and tried that too from converting the radcomponents to normal asp controls. But, this does not solve my problem .
Chris
Top achievements
Rank 1
 answered on 15 May 2009
5 answers
142 views
IE8
Ive created a custom CMS system for a website im building and have recently upgraded IE to version 8.  Now when I run the application, I get a runtime error (everything was fine under IE7)

Object doesn't support this property or method  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.3.1125.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afd794f69-50b6-4e80-a52c-60fb1a05429c%3a393f5085%3a5edc7ae2%3a34f9d57d%3aa9723048%3a9703c1f0%3aa3f85c94%3a819163f9%3af2a57eb7%3a4b6f7e66%3ac6335cbd%3a665c7bcf%3a39249aa4%3a577694e5%3a6dd34527%3a80ec1d93%3ae9e0cae%3bAjaxControlToolkit%2c+Version%3d3.0.20820.16598%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a707835dd-fa4b-41d1-89e7-6df5d518ffb5%3ae2e86ef9%3a9ea3f0e2%3a9e8e87e9%3a1df13a87%3a9758eba, line 1089 character 1


Can anyone help ? 
Georgi Tunev
Telerik team
 answered on 15 May 2009
5 answers
265 views

I   have created a user control “Mycontrol.ascx”.

In that ascx file I have a rad window with navigate url as “windowPage.aspx”

 

in “windowPage.aspx” I have an asp  button  that button do some server side tasks on clicking well.

 

I am closing the window using onClientClose()  well.

 

But after performing the  serve side actions ,

 

(Now the window is closed using onClientClose()  )

My browser should be redirected to “default.aspx”

 

 

“NB:I have  used Mycontrol.ascx in default.aspx”

Georgi Tunev
Telerik team
 answered on 15 May 2009
1 answer
79 views
Hi,
after I installed Telerik Q2009 1.402,my toolbox with teleriks's components disappeard in VS 2008 (VS with all updates). I made printscreens with my aspx pages:
http://img32.imageshack.us/img32/9489/telerikerror.jpg
http://img32.imageshack.us/img32/2305/telerikerror2.jpg

My project is build under .net 2.0.
I tried add controls manually but with no succes. I get all the time the same error (System.web.extensions).
Could You help me?
Pavlina
Telerik team
 answered on 15 May 2009
1 answer
96 views
Hi,

On the page I implemented with radmenu, the radwindow shows on the position where is behind the radmenu.  What can I have do to get radmenu heavier weight to compare to radwindow?.  Another issue, I open the window from server side by change visibleOnpageload property when button is clicked.  Sometimes, I get window popup prior an action click.  I notice this problem occured when I view the page again while the previous one is till open and obiviously the radwindow is till there.  Another situation that the IE terminates by some reasons.

Cheers,

Nexus Online
Georgi Tunev
Telerik team
 answered on 15 May 2009
1 answer
384 views
im trying to pass a value that i assigned in serverside to the client side so that when i click on the button that activate the radwindow to take me to the correct link but it won't work
if i use
<telerik:RadWindowManager ID="RadWindowManager2" VisibleStatusbar="false" runat="server">   
                                        <Windows>  
                                            <telerik:RadWindow ID="RadWindow2" Modal="false" runat="server" NavigateUrl="report1.aspx"
                                                Skin="WebBlue" Animation="Resize" Width="800px" Height="500px" ></telerik:RadWindow>  
                                        </Windows>  
                                    </telerik:RadWindowManager>

then it works fine but if i do this
<telerik:RadWindowManager ID="RadWindowManager2" VisibleStatusbar="false" runat="server">   
                                        <Windows>  
                                            <telerik:RadWindow ID="RadWindow2" Modal="false" runat="server" NavigateUrl="report1.aspx?rowid=<%=ucr_row_id %>&reportid=<%=report_id %>"
                                                Skin="WebBlue" Animation="Resize" Width="800px" Height="500px" ></telerik:RadWindow>  
                                        </Windows>  
                                    </telerik:RadWindowManager>

then it just wont work. what it does is just give me url as :   "report1.aspx?rowid=<%=......."  but not the actual value of the variables.  so how do i do the second method. the values only get assigned in the server side. please help. thanks.
Georgi Tunev
Telerik team
 answered on 15 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?