Friday, March 9, 2012

Tough day at work

Man, what a tough day at work. I'm still fairly new to ASP.Net.
No idea on how to accomplish a certain task.

Tough wall to crack but I'll crack it anyhow, with a little time and patience, just not today...

Anyway, what I'm trying to accomplish is:

1) Pull 2 sets of data out from database via SQL (Done)
2) Populate 2 lists with sets of data (Done)
3) Enable user to manipulate list dynamically without postbacks (Stuck here)
4) Save changes

Still stuck at step 3. Can't think of a way to do this via ASP.Net.
If this was PHP, I would have already done it with the help of Javascript.

Sign, no idea of which web control to use. Repeater? ListView? Or some other web control which I have not heard of or used yet. What a bummer, stumped at my inexperience.

I need the ItemTemplate portion to generate possibly a span item with unique id that can be picked out from a div with unique id (list1) to another div (list2). I would also need checkboxes.

If without postbacks, does it mean I have to put scripts into the page itself rather than code behind? I'll look into in page scripts first thing on Monday.

If any of you readers have any suggestions, do feel free to throw it in the comments section, though I believe that due to the low exposure of this blog at the moment, I would have solved this by then. Do check out my next post then. I should have my solution posted :)

P.S. Looked back on some old code. Had a hard time programming it back then but since I'm touching on a higher level of code now, looking back on those old code really makes it look easy. I would probably be touching up on those old code sometime... In case of TL;DR, Programming level up!

No comments:

Post a Comment