You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nu...@googlegroups.com
I was given a Silverlight project at work recently and I have run into a couple of problems that googling hasn't worked to resolve the issue. I was hoping some of you may know the answers. I have multiple data forms that has automatically created a scrollbar as there are more of textboxes than visible space. The scrollbar doesn’t automatically scroll when the user moves from textbox to textbox using the tab key. I have not found an answer for fixing this with data forms. I have seen some work arounds for a scrollviewer but I would prefer not to use it. I don’t want to fix the height of the area and it would require a lot of changes for this site. Does anyone know how to make a data form scroll automatically on a tab?
The other problem is for some reason the Silverlight site will now only work in Internet Explorer. If any other browser is used a generic exception message pops up. It would appear that the browsers have a problem with how the RIA services work. I have googled this and didn’t not find an answer. Has anyone had this problem? If so what did you do to fix it?
Thanks, Ryan
Michael Christian
unread,
Apr 13, 2012, 10:06:01 PM4/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ryan McBride, nu...@googlegroups.com
Hmm. I know WPF well enough. I'm pretty sure Silverlight doesn't have the BringIntoView() method. This method causes the parent container to scroll until the specified control is visible. However, you can create a Silverlight extension to do this: http://forums.silverlight.net/t/prev/141286
~Mike Christian
Sent from my Windows Phone 7.5
From: Ryan McBride Sent: 13-Apr-12 18:37 To: nu...@googlegroups.com Subject: [NUNUG] Silverlight Questions
--
You received this message because you are subscribed to the Google Groups "NUNUG" group.
To unsubscribe from this group, send email to nunug-un...@googlegroups.com
Ryan McBride
unread,
Apr 16, 2012, 2:16:19 PM4/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Michael Christian, nu...@googlegroups.com
Thanks for the link. It looks like I will still have to use a Scrollviewer but it will have to do.
Thanks again I will give that a try.
Ryan McBride
Joe McBride
unread,
Apr 16, 2012, 3:45:29 PM4/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NUNUG
I’ve ran into the scrolling issue before and had to utilize a similar
solution. Note that the Silverlight Toolkit has a “ScrollIntoView”
plus several other items built in, in the ScrollViewerExtensions
class.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nu...@googlegroups.com
Thanks Joe.
I didn't have to worry about the bug with this but the ScrollViewerExtenctions class you told me about was useful. The example I was following would reposition the view but it would move the selected item to the top. I didn't like that, it would have been really confusing to my end users. Using the "ScrollIntoView" like you suggested works like it should. It just moves the selected item to the top or bottom, depending on the direction you are going, as it should.
Has anyone run into the issue of a Silverlight App only working in IE and not in any other Browser? I can get to the log in screen but every time I try to log in in any other browser I get an error message. I think there might be a problem with RIA services isn't working quite right but I don't know where to start looking. I have googled it but I didn't find anything that helped.