A lot of times, I find myself doing UI control manipulation in the code behind and wanted to find a clean way of doing this.
Use Case: A drop down has CSS1 style, editable in Edit mode but has CSS2 style, view only in View mode
I can achieve this by simply have a set of switch case statements. I can use polymorphism and create a EditMode and ViewMode class but that requires me to have a reference to the UI control to...
User Profile
Collapse
-
User control design question
Hi all,
I have a dashboard page that hosts several sections. Each section can have different modes (Ex: preview mode, edit mode etc) and one of the differences between the modes are how they are rendered.
I plan to implement these sections as user controls. I will expose a property in the UC that defines the mode. I will need need some way of having the user control behave in a different way and render layout differently.... -
Recursive elements in XML. How do i create a XSD for this?
Hello,
I am trying to create a XML schema to validate a XML document. The XML document has recursive <Section> elements (as shown below). Can someone help me create the XSD for the recursive part (Section One and the children)
<?xml version="1.0" encoding="UTF-8"?>
<MenuHelp sectionHeading= "" menuSpace="">
<Description> ></Description>...
No activity results to display
Show More