Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Conditional custom field

$
0
0
Looking into the source code, I found the place where the custom XML fields are being created.

What if I do the following:

Add the following field:
            DropDown : [<tag id="dlDropDown" type="dropdownlist" cssclass="Normal" No-databind="true"  />]

In GenXMLTemplate.createDropDownList:

I add a condition:
           If xmlNod.Attributes("No-databind") Is Nothing Then
           AddHandler ddl.DataBinding, AddressOf DDList_DataBinding
           End If
And then I handle the data binding myself via JQuery + web serivce.

Will that work?

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>