Yes, that is what I am going to do, but not what I wanted to do. I just wanted to display text and hyperlink that, like in html. It's not a big deal. I guess it's just me and the learning curve.
John Harvey -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stuart Dunkeld Sent: Saturday, August 01, 2009 6:13 AM To: ProFox Email List Subject: Re: [NF] Silverlight Can you not add the column as a DataGridTemplateColumn and add a HyperLinkButton to the template? --stuart http://msdn.microsoft.com/en-us/library/system.windows.controls.datagridtemp latecolumn(VS.95).aspx http://msdn.microsoft.com/en-us/library/system.windows.controls.hyperlinkbut ton(VS.95).aspx On Sat, Aug 1, 2009 at 11:46 AM, John<[email protected]> wrote: > Thanks Dave. This is the kind of stuff that makes me regret VFP not being > able to play in the dot net sandbox. Things that should be simple in C# > aren't. I guess I'll have to go with putting a button in the datagrid,which > is also a lot of work, but seems to be the quickest way to do this. > > Thanks, > > John Harvey > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Dave > Sent: Friday, July 31, 2009 7:36 PM > To: [email protected] > Subject: RE: [NF] Silverlight > > The honest answer is this: I don't know. That being said, I have two ideas > that may work... > > If your cell is in a predictable location on the grid, you might be able to > assign a hyperlink based on the mouse position or as a mouse hover event or > click event over the coordinates of that cell. Another approach would be to > create a rectangle object and assign it in the cell coordinate area, but > position it at Z -1 to render it underneath your grid. That way you could > populate your cell with the text, but let the "invisible" rectangle handle > the linking chores via a click event. If you were to change the cursor > behavior for the rectangle to be a Hand, then the end user would still get > the visual cues they would expect. If you really wanted to fake it, you > could assign the text the traditional hyperlink-blue font color to complete > the illusion. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of John > Sent: Friday, July 31, 2009 6:12 PM > To: [email protected] > Subject: RE: [NF] Silverlight > > I am writing an app that uses ESRI mapping with Silverlight and c#. I am > having an issue trying to use a silverlight datagrid and putting a text > hyperlink in. I've got some code that talks about using an image to do the > hyperlink, but not text. I want to be able to launch webpages for things > like Google Street View, pulling offense reports, etc. Do you have any idea > of how to do this? Some have suggested I use a stackpanel, but I've already > written the code that produces the datagrid and I'm happy with it. I just > need the hyperlinks functioning. > > Thanks, > > John Harvey > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of David Smith > Sent: Friday, July 31, 2009 3:57 PM > To: [email protected] > Subject: RE: [NF] Silverlight > > Tis true! I am getting into it a bit ... It reminds me a lot of MS Frontpage > when it first hit the market. Loads of potential, but a few rough edges > around the outside. I'm in the "legos" stage now, where I learn a simple > technique, document the heck out of it, and then stick it in the library. > Once I get enough blocks, I start building with them. Silverlight 3 is > enticing for me as I can program once and use it for the desktop and for the > web. I'm using C# for code-behind now, and it's all XAML up front. > They've done a nice job with Expression Blend, the GUI toolset. It has fair > depth and does a nice job reducing the amount of code you have to write for > simple apps and animations, especially if you add in some of the extras and > toolkits that are up on the Silverlight website. Most of these include > source code as well, so it has been a great learning experience thus far: > I've used the "legos" to build a simple media player, twitter tool, photo > carousels, and some basic animations. If you decide to check it out, please > let me know if I can help you out if you get stuck on something. > > Dave > > David Smith > Systems Administrator > Doan Family of Dealerships > (585) 352-6600 ext.1730 > [email protected] > www.upstatedigitools.com > > This message may contain confidential and/or proprietary information, and is > intended for the person/entity for whom it was originally addressed. Any use > by others is strictly prohibited > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Gilbert M. Hale > Sent: Friday, July 31, 2009 2:09 PM > To: [email protected] > Subject: RE: [NF] Silverlight > > David Smith (who does contribute to ProFox) has been working with it, and > likes it (still learning, he says). > > Gil > >> -----Original Message----- >> From: [email protected] [mailto:profoxtech- >> [email protected]] On Behalf Of John >> Sent: Friday, July 31, 2009 1:53 PM >> To: [email protected] >> Subject: RE: [NF] Silverlight >> >> Anyone doing anything with Silverlight and C#? >> >> John Harvey >> >> >> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/029101ca12ae$fe4e1520$faea3f...@[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

