tag:blogger.com,1999:blog-6907873803403737979.post9136457474037318595..comments2023-10-16T12:48:46.251+01:00Comments on C# Bits: Cascading Filters and Fields – Dynamic Data Entity Framework Version (UPDATED)Stephen J. Naughtonhttp://www.blogger.com/profile/17435527974910745156noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6907873803403737979.post-621596470328903472012-04-27T08:36:32.788+01:002012-04-27T08:36:32.788+01:00Hi there, have you tried the sample?
SteveHi there, have you tried the sample?<br /><br />SteveStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-64483877576203374402012-04-26T22:05:37.673+01:002012-04-26T22:05:37.673+01:00Hi - qwondering if you can help - in this section
...Hi - qwondering if you can help - in this section<br /> public partial class ForeignKey_EditField : CascadingFieldTemplate<br /> {<br /> protected void Page_Init(object sender, EventArgs e)<br /> {<br /> // add event handler if dependee exists<br /> if (ParentControl != null)<br /> {<br /> // subscribe to event<br /> ParentControl.SelectionChanged += SelectedIndexChanged;<br /> }<br /> }<br /><br />The ParentControl var is always null so the SelectedIndexChanged event is never getting subscribed to. I think I am doing everything right as far as implimenting your code. Any thoughts?? ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-80123557534205228392011-12-12T16:16:21.671+00:002011-12-12T16:16:21.671+00:00you use the DisplayColumnAttribute to set the sort...you use the DisplayColumnAttribute to set the sort and display columns.<br /><br />SteveStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-40374771848821106212011-12-12T16:04:39.834+00:002011-12-12T16:04:39.834+00:00Hi, thanks for your contribution of knowledge abou...Hi, thanks for your contribution of knowledge about Dynamic Data, I have done much. <br /><br />I have a questions. I can determine the SortExpression of MetaForeignKeyColumn a personalized?. If the answer is Yes. How do I do?. I would have to create a new field templates or by means of attributes.<br /><br />Thanks you.DiosaVenushttps://www.blogger.com/profile/11762149290373924667noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-59508146240667833842009-10-03T15:41:13.980+01:002009-10-03T15:41:13.980+01:00Hi Nick, I never noticed that myself but as soon a...Hi Nick, I never noticed that myself but as soon as I get some free time I will look into it.<br /><br />P.S. fee free to contact me via e-mail :D<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-2174587084050837632009-10-02T22:05:15.182+01:002009-10-02T22:05:15.182+01:00Hi Steve,
I'm using your cascading fields an...Hi Steve, <br /><br />I'm using your cascading fields and filters and I love it but I noticed something a little strange. When using the OnValidation() method errors are also cascaded through the cascading templates. So, I get one error showing up next to all my drop downs that implement the CascadingFieldTemplate (and for some reason I get three validation errors at the top of the page). I'm not sure why this is happening. Do you know how to prevent this sort of behavior?<br /><br />NickNickhttp://nickycwalkatgmail.comnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-44954865185253166082009-04-27T02:39:00.000+01:002009-04-27T02:39:00.000+01:00Yep that's fine steve.Send it to my email roopamvi...Yep that's fine steve.Send it to my email roopamvishwam@gmail.com or give a download link in your blog.<br /> <br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-69711177183015004892009-04-26T16:22:00.000+01:002009-04-26T16:22:00.000+01:00I've only got in SQL 2008 is that OK?I've only got in SQL 2008 is that OK?Stephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-77393384207466544002009-04-26T13:25:00.000+01:002009-04-26T13:25:00.000+01:00Hi Steve, if it possible please can you send me th...Hi Steve, if it possible please can you send me the database to run the sample projectAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-26959461938789557452009-04-05T05:40:00.000+01:002009-04-05T05:40:00.000+01:00thanks Steve. another great article. Your blog has...thanks Steve. another great article. Your blog has become my default source for learning dynamic data.Anonymousnoreply@blogger.com