Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
141 views
Hy! I'm experiencing some problems using AJAX RadPanel and AJAX RadManager.

When I open my aspx page and click on a item inside RadListBox (tried using AJAX RadPanel and AJAX RadManager, same behaviour), it executes and after that none of the events work (button click, radlistbox selected index changed, ...) like the whole page is just blocked and it doesn't respond anymore. ASPX page is inside SharePoint context.

When I remove AJAX RadPanel (or AJAX RadManager) everything works smoothly using postbacks.

But the real problem is that it works in testing environment and it doesn't work on production (works without AJAX, doesn't work with AJAX).

Did you experience these problems somewhere and can you tell some of the possible things that could cause these problems?
Tried using IE 7, IE 8, Firefox 3.5 (same behaviour, works in testing environment, doesn't work on production).
Zvonimir Mavretić
Top achievements
Rank 2
 answered on 15 Jul 2009
3 answers
198 views
Hello, i have a problem with this code, no Window will show when i click my button:


 
<asp:UpdatePanel ID="upnl" runat="server"
<ContentTemplate> 
 
 
<script type="text/javascript"
 
        function OnClientClose(oWnd, args) { 
            var arg = args.get_argument(); 
            window.location.href = 'default.aspx'
            window.location="http://www.yourdomain.com/"
                         
            if (arg=="1") { 
                window.location.href = 'default.aspx'
            } 
            else { 
            window.location.href = 'default.aspx'
                return false; 
            } 
             
            function OpenWindow() 
                { 
                    var wnd = window.radopen(null, "RadWindow2");          
                    wnd.setSize(400,400); 
                    return false; 
                }            
    </script> 
     
<telerik:RadWindowManager VisibleOnPageLoad="true" ID="RadWindowManager1"  runat="server" OnClientClose="OnClientClose"
<Windows> 
      
    <telerik:RadWindow ID="RadWindow2" runat="server" Title="Edit" Modal="True" VisibleOnPageLoad="true" 
Skin="Web20" 
        VisibleTitlebar="False" VisibleStatusbar="False" InitialBehavior="None" Height="260" Width="380" /> 
          
      </Windows> 
    </telerik:RadWindowManager> 
 
... 
 



Has someone a solution??
Svetlina Anati
Telerik team
 answered on 15 Jul 2009
7 answers
149 views
Hi

I hope someone can answer fairly quickly.

I have a Rad Scheuler control as a user conrtol I have set up 2 properteries ID and week Number, and create the control programatically based on the number of weeks, the web can display any number of grids from 1 to 12.

This all works well.

What I need to do is fill the grid with each weeks data, this means getting the Scheduler's ID and binding it to my recordset.

This is my error when I try:
Unable to cast object of type 'ASP.JobPlanScheduler' to type 'Telerik.Web.UI.RadScheduler'.

And this is my code to find the scheduler control,

Dim

 

rsJobPlan = CType(Page.Master.FindControl("ctl00$cphContent$JobPlanWeek" & WeekCycle), RadScheduler)

 


and this is the top section of my user contol vb file.

Imports

 

System.Data

 

Imports

 

System.Data.SqlClient

 

Imports

 

Telerik.Web.UI

 


Andy
Peter
Telerik team
 answered on 15 Jul 2009
1 answer
255 views
We are using the latest version of the 2008 Q3 ASP.NET AJAX controls. One of our clients is complaining that when they open the Document Manager in the Rad Editor, they immediately get the following error:

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned form the server was: 12031

Here are the odd things about this error:
  • We cannot duplicate this error.
  • They only get the error when they are on their work network, or connected to their work network through VPN at home.
  • If they are running the application from home without being connected to the work VPN, they do not get the error.
  • They only get the error when editing one "object" in our system. If they edit a different "object", they don't get the error. When they go back in to the trouble "object" it will work if they successfully opened the document manager while looking a different "object".

Any ideas from your side?

Thanks,
Adam
Rumen
Telerik team
 answered on 15 Jul 2009
1 answer
167 views
Dear All,

I am currently evaluating this tool and found it is extremely powerful. Just would like to ask whether does it have a FormView or DetailView feature in the next features release where I am testing the RadGrid feature in my test dev.

Thanks.

Regards,
Wilmos.

Ivo
Telerik team
 answered on 15 Jul 2009
1 answer
123 views
Hi,

My DataSet contains 4 columns namely col1, col2, col3, col4. (col3 and col4 are int)
I am assigning DataGroupColumn as col1 XAxis DataLabelsColumn as col2.
Now when I assign the dataset to Chart Datasource automatically col4 is taken as YAxis. How I can change it to col3? 

Regards,
Jones
Giuseppe
Telerik team
 answered on 15 Jul 2009
1 answer
72 views
I am trying to use the tabstrip and dynamically load user controls similar to the example shown on the website here.

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/dynamicpageview/defaultcs.aspx

Is is possible to handle custom events in my user control using this method.
Yana
Telerik team
 answered on 15 Jul 2009
4 answers
217 views
I rename boolean values in ItemDataBound and is shown correctly in the web browser, but when exporting to Excel boolean values are exported as true/false.
 
  protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        GridDataItem item = e.Item as GridDataItem; 
        if ((item != null) && (e.Item is GridDataItem)) 
        { 
            bool bValue = (bool)DataBinder.Eval(item.DataItem, "myfield"); 
            item["myfield"].Controls.Clear(); 
            item["myfield"].Text = ((bValue) ? "Yes" : "No"); 
 
  .... 

Thanks!
 

Jorge
Top achievements
Rank 1
 answered on 15 Jul 2009
1 answer
201 views
I need to set the 'target' attribute in the link manager to open in a new window. Is there any way to set a default value?

I have looked through the documentation and searched the forums but came up with nothing. 

Thanks
Rumen
Telerik team
 answered on 15 Jul 2009
4 answers
163 views
Hi all,
I'm probably being really thick here...

I have an object-based datasource, which is a List<MyObject>, which I've got displaying nicely in my Grid.

I don't want the user to be able to add new rows to the grid, but I do want to have the Refresh button above the grid.

Is there a setting for the Grid to make it read-only (thus removing the Add new record button), or is it something I need to do with my datasource?

Thanks,

James
James
Top achievements
Rank 1
 answered on 15 Jul 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?