Create ASP.NET Server Control

Cancelled Posted May 2, 2009 Paid on delivery
Cancelled Paid on delivery

Implement ASP.NET Server Control, that renders tree with design like this: <[url removed, login to view]>

Functionality must include "populate on demand", "persist nodes states in cookies like this? <[url removed, login to view]>".

Technologies:? asp.net,.net framework 3.5, javascript, css, html, jQuery.

## Deliverables

Control class must be written in c# and should be like this:

public class TreeView : Control,? ICallbackEventHandler // Control receives callbacks for dynamic populate

{

? ? ? public List<TreeNode> Nodes {get; private set;} // Initial nodes

? ? ? public bool SingleSelect {get;set;} // If true - generate radio button per each checkable node, otherwise generate checkbox

? ? ? public event EventHandler<TreeNodePopulateEventArgs> Populate; // this event fired when user first expanding unpopulated node

}

Publicclass TreeNodePopulateEventArgs : EventArgs

{

Public string ClassName{get;private set;} // Parent node classname

Public string ID{get;private set;} // Parent node ID

Public List<TreeNode> ChildNodes{get;privateset;} // filled by user code

Public TreeNodePopulateEventArgs(stringclassName, string id); // constructor

}

TreeNode object represents a tree node

public classTreeNode

{

Public string Title{get;set;} // Node text

Public string Url{get;set;} // Node URL

Public string ClassName{get;set;} // Node classname. Classname is a problem-domain object classname

Public string ID{get;set;} // Node Object ID. Object ID is a problem-domain object classname.

Public bool HasChildren{get;set;} // Flag "node is populated dynamically and can contain children nodes"

Public List<TreeNode> ChildNodes{get;privateset;} // Child nodes

Public bool IsCheckable{get;set;} // Node can be checked (checkbox must be rendered)

Public string Image{get;set;} // node icon. rendered as <IMG> tag. If Image is not set, <IMG> will not be rendered

}

When user trying to expand dynamically populated node first time (node that has HasChildren==true and? [url removed, login to view] == 0), client javascript must perform a callback to server, server control must fire Populate event, then return to client? [url removed, login to view] nodes in JSON format, client must render nodes using javascript (jquery).

Server Control must also generate a hidden field, in which client javascript must store selected nodes in format: classname1,id1,classname2,id2, and so on. There must be a function in Server Control to get selected node classes and ids.

.NET ASP C# Programming Engineering MySQL PHP Software Architecture Software Testing Web Hosting Website Management Website Testing

Project ID: #3853566

About the project

7 proposals Remote project Active May 29, 2009

7 freelancers are bidding on average $80 for this job

whizzaard

See private message.

$85 USD in 5 days
(71 Reviews)
5.1
irfanaliQAU

See private message.

$72.25 USD in 5 days
(10 Reviews)
3.7
pritisisodia

See private message.

$68 USD in 5 days
(9 Reviews)
3.3
UmeshGohel

See private message.

$85 USD in 5 days
(13 Reviews)
3.1
ashok7925

See private message.

$76.5 USD in 5 days
(4 Reviews)
3.1
ronitoberoy87

See private message.

$85 USD in 5 days
(5 Reviews)
2.6
blackstorm

See private message.

$85 USD in 5 days
(1 Review)
1.6