Q1 2010 RadWindow Alert

14 posts, 0 answers
  1. John Morris
    John Morris avatar
    28 posts
    Member since:
    Aug 2009

    Posted 16 Apr 2010 Link to this post

    I'm confused how to fix this issue.  I upgraded to Q1 and my alerts have changed dramatically and error out.  Take a look at the old alert vs. the new.  I didn't change anything code-wise; I simply do an Alert.  I'm assuming the image error is the fact that the triangle exclamation image is missing.

    Do you have any idea how I can resolve?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Apr 2010 Link to this post

    Hi John,

    Thank you for contacting us.

    You have 2 ways of removing the ScrollBar:
    1. Applying a custom style for the Alert, which uses as base the default style and in which the ScrollBar is removed.
    2. Setting as content of the Alert a TextBlock with TextWrapping property set to Wrap.
    Attached you will find a sample project in which these two approaches is illustrated.

    If you need further assistance please let us know.

    Regards,
    Konstantina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. John Morris
    John Morris avatar
    28 posts
    Member since:
    Aug 2009

    Posted 21 Apr 2010 Link to this post

    Thank you for your response.  My problem seems to be with the default triangle image.  On your project, I can run it without the style and the image shows correctly.  In my project (same *.Controls and *.Controls.Navigation references) it seems it cannot find the alert icon and displays this error.  You can see how it displays in the "new" image I posted previously.

    Line: 56
    Error: Unhandled Error in Silverlight 2 Application ClientBin/NBA5_2.xap
    Code: 4001    
    Category: ImageError       
    Message: AG_E_NETWORK_ERROR     

    This started happening after upgrading to Q1 2010 sp1.

    Any ideas?  Thank you.

  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 22 Apr 2010 Link to this post

    Hi John,

    Could you please check again the version of your assemblies? Also, are you using a custom theme?
    Attached I am sending you a screenshot in which in Reflector it can be observed that the icon is at the right place. Could you please also try if you are experiencing the same issue with the other Dialogs - Confirm and Prompt?

    Looking forward to your reply.

    All the best,
    Konstantina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. John Morris
    John Morris avatar
    28 posts
    Member since:
    Aug 2009

    Posted 22 Apr 2010 Link to this post

    Thank you for your help Konstantina.

    My *.Controls & *.Controls.Navigation assembly versions are both 2010.1.309.1030.

    I checked and the icon is in the assembly (reflector).  No problem there.

    Prompt and Confirm both have the same issue.  

    I created a sample project but cannot reproduce my error.  It displays correctly every time.

    This is obviously something I am doing incorrectly in my project.  The fact that adding your style in the xaml has no bearing on the RadWindow.Alert makes me think I have some overriding theme but I'm not familiar enough with XAML to figure out where that might be.  I've searched the entire project for "theme" and found nothing.

    If you have any troubleshooting ideas, I'd love to hear them, but if not, no worries.

    I'm going to use the System.Windows.Browser.HtmlPage.Window.Alert for now,
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 27 Apr 2010 Link to this post

    Hi John,

    Thank you for contacting us.

    If you can send us your project simplified so that we can run and debug it here locally we will be able to assist you in finding the issue.
    Also, which Silverlight version are you using?

    Looking forward to your reply.

    Regards,
    Konstantina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. DrInvincibilis
    DrInvincibilis avatar
    1 posts
    Member since:
    Dec 2008

    Posted 29 Apr 2010 Link to this post

    Hello,
       I have similiar issue with RadWindow.Alert. Whichever method overload I use it does not display icon on the left side. However the sample project you provided works fine. Did you find any solutions?

    Regards
  9. John Morris
    John Morris avatar
    28 posts
    Member since:
    Aug 2009

    Posted 29 Apr 2010 Link to this post

    Unfortunately no.  It is definitely something I'm doing wrong.  I'm too busy to spend the time to troubleshoot so switched everything to use the System.Windows.Browser.HtmlPage.Window.Alert, confirm, and prompt.

    Eventually I'll simplify my project down to a minimum and ping Konstantina for assistance.
  10. Dave Hric
    Dave Hric avatar
    1 posts
    Member since:
    Apr 2010

    Posted 08 Jun 2010 Link to this post

    I too have run into the same issue.
    It seems that it has something to do with using radwindow.alert with in a page that inherits usercontrol.
    I create a new project using the standard microsoft Business Application Template and simply added a button to the home page.  The code for the click event on the button is: radwindow.alert("Test Alert!!").
    When the button is clicked, I get the attached screen shot.

    Not sure how to resolve the missing icon...but it would be nice if there were a solution.

    -Dave
  11. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 10 Jun 2010 Link to this post

    Hello all,

    There is another threat opened concerning this issue. You can check it our here. There you can find also a work-around for the problem.
    Hope this is acceptable for you.

    If you have any other questions please let us know.

    Kind regards,
    Konstantina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  12. fbc
    fbc avatar
    11 posts
    Member since:
    Oct 2009

    Posted 15 Jun 2010 Link to this post

    I've faced the same problem. Love to se the work-around; but above link is dead.
  13. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 16 Jun 2010 Link to this post

    Hello guys,

    Sorry for the broken link. Here it is again:
    http://www.telerik.com/community/forums/silverlight/window/icon-is-missing-in-radwindow-confirm.aspx#1228096

    Regards,
    Konstantina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  14. Kiran Ghanwat
    Kiran Ghanwat avatar
    38 posts
    Member since:
    Nov 2009

    Posted 03 Mar 2011 Link to this post

    Hello Konstantina,

    I am facing same problem for Alert/confirm icon.

    I have changed your Alert templete to Confirm. It is not working for either.
    I also checkd by using my version of assemblies in your project.
    bt, in your project its working fine.
    Please, help.

    Thanks in advance.
    Kiran Ghanwat
  15. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 04 Mar 2011 Link to this post

    Hi Kiran,

    Are you using a business application template? Could you please give us some more details about your application? Since it is working in the sample project I sent, could you please try to reproduce the issue at your side in another project and send it back to us for further investigation. Could you please confirm that you are using the latest available version of our controls?

    Best wishes,
    Konstantina
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
DevCraft banner