Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
449 views
I posted a ticket about this problem on 4/10, Thursday night.  I haven't received a response yet, so I thought I pose the same question to the general community to see if any other users out there might have some ideas.

I'm having a bit of trouble with a RadWindow in conjunction with radconfirm.  Here's my scenario:

  1. I have a page with a RadAjaxManager, a RadWindowManager, and 2 buttons.
  2. There's an AjaxSetting to update the RadWindowManager when the first button is pushed.  In the code-behind for the button click event, a RadWindow is created and added to the RadWindowManager and the VisibleOnPageLoad property for the RadWindowManager is set to true.  In effect, this allows me to open a window via server-side code; something I need to do because I must first save a database record before I open the window.
  3. The second button has an OnClientClick action defined that calls radconfirm.

Here's the problem:

  1. If I press button1 after the page loads, it works fine.
  2. If I press button2 after the page loads, it works fine.
  3. If I first press button1, close the window, and then press button2, I get the following javascript error "Microsoft JScript runtime error: 'this._windows.length' is null or not an object".
  4. If I disable Ajax, everything works fine.  I can press button1 or button2.  I can first press button1 and then button2.  All works fine.

If I comment out the code in the button1 code-behind, the problem still exists.  From what I can tell, the problem is not caused by the code in the button1 OnClick handler, but rather by the fact that button1 Ajax updates the RadWindowManager.

Any ideas?

Jeff
Top achievements
Rank 1
 answered on 15 Apr 2008
0 answers
387 views

RadCalendar for ASP.NET AJAX is the successor of RadCalendar for ASP.NET. The next generation of RadControls is built entirely on top of ASP.NET AJAX, utilizing its common client-side framework and programming model. RadControls for ASP.NET AJAX introduce a number of new features and performance optimizations, which are hard or impossible to implement in the regular ASP.NET suite. The integration and API models of the controls are also better, due to the common framework they share (RadControls for ASP.NET AJAX are shipped as a single assembly - Telerik.Web.UI.dll.) It is important to note that this new generation of RadControls will work only on ASP.NET 2.0 and 3.5 because of the underlying ASP.NET AJAX framework.

Although there are a lot of new features in RadCalendar for ASP.NET AJAX some of the functionality from the “classic” ASP.NET version is still the same.  The forum threads in the RadCalendar for ASP.NET forum are still relevant if they are in the following areas:

  •  DesignTime work with the control
  • Server-side event model - Event handling, as well as events remain the same.  

We hope this is helpful. If you need any assistance in the upgrade process or you have any other questions, please contact us.

Best Regards,
Telerik Team

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 15 Apr 2008
0 answers
292 views

RadInput for ASP.NET AJAX is the successor of RadInput for ASP.NET. The next generation of RadControls is built entirely on top of ASP.NET AJAX, utilizing its common client-side framework and programming model. RadControls for ASP.NET AJAX introduce a number of new features and performance optimizations, which are hard or impossible to implement in the regular ASP.NET suite. The integration and API models of the controls are also better, due to the common framework they share (RadControls for ASP.NET AJAX are shipped as a single assembly - Telerik.Web.UI.dll.) It is important to note that this new generation of RadControls will work only on ASP.NET 2.0 and 3.5 because of the underlying ASP.NET AJAX framework.

Although there are a lot of new features in RadInput for ASP.NET AJAX some of the functionality from the “classic” ASP.NET version is still the same.  The forum threads in the RadInput for ASP.NET forum are still relevant if they are in the following areas:

  •  DesignTime work with the control
  • Server-side event model - Event handling, as well as events remain the same.  

We hope this information is helpful. If you need any assistance in the upgrade process or you have any other questions, please contact us.

Best Regards,
Telerik Team

 

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 15 Apr 2008
1 answer
152 views
Hi,
I am using RadEditorMOSS 4.5.2 version to replace the default editor in my sharepoint site. If I use the Rad Editor Webpart, then it is working fine, but when I am useing the Editor for ListItem, then the default editor does not getting affected. Can anybody help me out.
Thanks in advanced.

George
Telerik team
 answered on 15 Apr 2008
1 answer
128 views
I'm doing a multi-word search-type interface with a textbox, search button, and Radgrid.  They are tied into RadAjaxManager and the grid correctly displays search results through the manager when the user enters words and clicks the search button.  However, if the user "presses Enter" I hear the "DING" sound and nothing happens.  The behavior I want is to "do the search button".  I've tried catching various events but I'm unable to intercept the "Enter Pressed" so that I can "click the search button".  I'm trying to prevent postbacks, if possible.  I thought that linking the textbox into the manager would do the trick but that hasn't worked either.  Any suggested strategies?

Thanks,

Victor.  
Steve
Telerik team
 answered on 15 Apr 2008
3 answers
577 views
The "OnClientSelectedIndexChanged" event does not appear to fire when the selected item is changed using the keyboard (e.g. the user tabs into the combobox then uses the arrow keys to select a new item).

Is there some other event that I can use? Or some way to make this event work?

Thanks.
Rosi
Telerik team
 answered on 15 Apr 2008
1 answer
91 views

Hello,

We have an application with Rad Prometheus controls and main error page, but some of the exceptions are handled in the controls itself and displayed as a javascript popup screen.  I would like to check if there is a way to propagate the exception to the main error page or at least to display a generic message instead of the original exception message.

Thanks,

Ivo

Vlad
Telerik team
 answered on 15 Apr 2008
2 answers
157 views
Hello,

I use RadGrid Prometheus "Futures" release, but the problem can be also reproduced on 2007 Q3 version.
I have the grid with AllowColumnsReorder = true and ReorderColumnsOnClient = false.
The grid has several columns and two of them have Reorderable property set to false.
Anyway I can reorder all the columns by drag-and-drop the column header. My fixed columns don't look like reorderable but I can reorder them as well.
How can I prevent several columns from reordering?

Thank you,
Yaroslav
Yaroslav Kulik
Top achievements
Rank 1
 answered on 15 Apr 2008
0 answers
1.8K+ views

RadGrid for ASP.NET AJAX is the successor of RadRadGrid for ASP.NET. The next generation of RadControls is built entirely on top of ASP.NET AJAX, utilizing its common client-side framework and programming model.

RadControls for ASP.NET AJAX introduce a number of new features and performance optimizations, which are hard or impossible to implement in the regular ASP.NET suite. The integration and API models of the controls are also better, due to the common framework they share (RadControls for ASP.NET AJAX are shipped as a single assembly - Telerik.Web.UI.dll.) It is important to note that this new generation of RadControls will work only on ASP.NET 2.0 and later because of the underlying ASP.NET AJAX framework.

Although there are a lot of new features in RadGrid for ASP.NET AJAX some of the functionality from the “classic” ASP.NET version is still the same.  The forum threads in the RadGrid for ASP.NET forum are still relevant if they are in the following areas:

  • DesignTime work with the control
  • Server-side object model and event handling     

If you upgrade your projects from RadGrid for ASP.NET to RadGrid for ASP.NET AJAX we encourage you to refer to this online help article which highlights the most important steps in the migration process.

We hope this is helpful. If you need any assistance in the upgrade process or you have any other questions please contact us.

Best Regards,
Telerik Team

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 15 Apr 2008
1 answer
183 views
Hiya, I am following the External Edit in RadWindow example here and have been trying to figure out whats wrong with my code.  When I double click an appointment to edit it, about 50% of the time it calls the RadWindow twice for some reason.  Only seems to happen from Day view and Week view modes, but not month view. 

After a while I decided to re-check the demo (normally a good way to see where I screwed up :)) and found it exhibits the same behaviour.

this being the output from fiddler from a single click:

GET /demos/aspnet/prometheus-futures/Scheduler/Examples/RadWindow/AdvancedFormCS.aspx?Mode=Edit&AppointmentId=15&rwndrnd=0.31608744380786535 HTTP/1.1

GET /demos/aspnet/prometheus-futures/Scheduler/Examples/RadWindow/AdvancedFormCS.aspx?Mode=Edit&AppointmentId=15&rwndrnd=0.37927669538742825 HTTP/1.1

I installer fiddler on a second env with IE7 and has same result as IE6.

I found this thread suggesting ReloadOnShow could be the issue and indeed setting it to false appears to solve the double load however if the example injects a RadWindow.Close() into a ScriptPlaceholder (as it does upon save), the next time you click the appointment, it reloads the cached one which immediately closes!

how can I solve this?  ideally I'd keep the benefit of ReloadOnShow=false which seems to very nicely load cached pages, but then how to close the RadWindow?

totally stumped!

regards
ewart
Georgi Tunev
Telerik team
 answered on 15 Apr 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?