Skip to main content

Microsoft Silverlight

Answered Question Looking for Silverlight control equally compared to ASP.Net GridView RSS Feed

(0)

frenzy
frenzy

Member

Member

10 points

29 Posts

Looking for Silverlight control equally compared to ASP.Net GridView

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
ken tucker

All-Star

All-Star

16298 points

2,485 Posts

Answered Question

Re: Looking for Silverlight control equally compared to ASP.Net GridView

Take a look at IValueConverter for converting your data

http://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter(VS.95).aspx

frenzy
frenzy

Member

Member

10 points

29 Posts

Re: Re: Looking for Silverlight control equally compared to ASP.Net GridView

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

frenzy
frenzy

Member

Member

10 points

29 Posts

Answered Question

Re: Re: Re: Looking for Silverlight control equally compared to ASP.Net GridView

Working around this one. I'll create my own control to pass multibinding values.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities