Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Looking for Silverlight control equally compared to ASP.Net GridView
3 replies. Latest Post by frenzy on November 3, 2009.
(0)
frenzy
Member
10 points
29 Posts
11-02-2009 5:50 PM |
Hi all, I've played around with the DataGrid but it's not up to par to ASP.Net GridView. The GridView allowed flexibility and ease passing DataTextFormatString and DataNavigateUrlFields for binded data which can be quite useful specifying this at the tag level. Anyone know of a control close the ASP.Net GridView other than DataGrid? Thanks.
ken tucker
All-Star
16322 points
2,492 Posts
11-02-2009 6:59 PM |
Take a look at IValueConverter for converting your data
http://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter(VS.95).aspx
11-02-2009 11:09 PM |
Hi Ken, I attemped this before with the help of another. Thing is, I don't find it flexible enough to pass multiple values. How would I pass more than one value or have multiple querystring values? I have no problem passing one value with one hardcoded URL.
Something I'd like would be like http://www.microsoft.com?id=1&color=red&season=winter. Something like that but at the Xaml tag level. If I can get it at the Xaml level, it be more flexible. I think this may be the solution but yet have figured how to do it.
I'm thinking of formatting the string:
return new Uri(string.Format("http://www.microsoft.com?id={0}&color={1}&season={2}", value, value, value));
but how would that look if in the xaml level passing multiple bindings and possibly passing the URL in?
Thanks
11-03-2009 5:05 PM |
Working around this one. I'll create my own control to pass multibinding values.